Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadModel(Modelica): time 1.664/1.664, allocations: 171.1 MB / 187.3 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003516, allocations: 8 kB / 233.8 MB, free: 0.9844 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07896/0.07934, allocations: 38.77 MB / 272.5 MB, free: 10.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3303/0.4097, allocations: 69.48 MB / 342 MB, free: 13.61 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.41, allocations: 83.94 kB / 342.1 MB, free: 13.53 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06014/0.4702, allocations: 13.27 MB / 355.4 MB, free: 212 kB / 282.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4702, allocations: 0 / 355.4 MB, free: 212 kB / 282.7 MB Notification: Performance of Transformations before backend: time 5.475e-05/0.4703, allocations: 20 kB / 355.4 MB, free: 192 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003128/0.4734, allocations: 1.064 MB / 356.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.4735, allocations: 8.031 kB / 356.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/0.4739, allocations: 106.7 kB / 356.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009624/0.4748, allocations: 446 kB / 357 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.313e-05/0.4749, allocations: 70 kB / 357.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.4752, allocations: 88 kB / 357.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.4776, allocations: 0.8641 MB / 358 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/0.4777, allocations: 3.938 kB / 358 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.4778, allocations: 47.98 kB / 358.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.4779, allocations: 24 kB / 358.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.4798, allocations: 0.5661 MB / 358.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007794/0.4876, allocations: 2.999 MB / 361.7 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007402/0.4884, allocations: 302.3 kB / 362 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.4885, allocations: 4 kB / 362 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.4886, allocations: 38.56 kB / 362 MB, free: 9.332 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 3.657e-06/0.4886, allocations: 0 / 362 MB, free: 9.332 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.002494/0.4911, allocations: 0.6587 MB / 362.7 MB, free: 8.645 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.4912, allocations: 55.41 kB / 362.7 MB, free: 8.578 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000971/0.4922, allocations: 0.5063 MB / 363.2 MB, free: 8.062 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.85e-05/0.4923, allocations: 37.7 kB / 363.3 MB, free: 8.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/0.4927, allocations: 0.5195 MB / 363.8 MB, free: 7.492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.4929, allocations: 153.9 kB / 363.9 MB, free: 7.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.493, allocations: 16 kB / 363.9 MB, free: 7.324 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4932, allocations: 338.8 kB / 364.3 MB, free: 6.984 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005487/0.4937, allocations: 169.9 kB / 364.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007375/0.4945, allocations: 449.6 kB / 364.9 MB, free: 6.258 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007056/0.4952, allocations: 238 kB / 365.1 MB, free: 6.023 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.4952, allocations: 4 kB / 365.1 MB, free: 6.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00206/0.4973, allocations: 0.7263 MB / 365.8 MB, free: 5.281 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.4974, allocations: 15.94 kB / 365.9 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/0.4974, allocations: 12 kB / 365.9 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004755/0.4979, allocations: 84.75 kB / 366 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.4993, allocations: 203.7 kB / 366.2 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.5021, allocations: 1.823 MB / 368 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009835/0.5032, allocations: 91.02 kB / 368.1 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.312e-05/0.5033, allocations: 39.94 kB / 368.1 MB, free: 2.879 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005252/0.5038, allocations: 217.6 kB / 368.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.504, allocations: 59.34 kB / 368.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.5041, allocations: 65.5 kB / 368.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.5042, allocations: 7.953 kB / 368.4 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.5042, allocations: 4 kB / 368.5 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.5042, allocations: 0 / 368.5 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.5054, allocations: 0.6342 MB / 369.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.5054, allocations: 0 / 369.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008561/0.5063, allocations: 107.9 kB / 369.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003885/0.5067, allocations: 68.75 kB / 369.3 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/0.5068, allocations: 15.98 kB / 369.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002748/0.5095, allocations: 1.819 MB / 371.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.5096, allocations: 0 / 371.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.5113, allocations: 0.6658 MB / 371.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.5116, allocations: 132.5 kB / 371.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.5118, allocations: 11.95 kB / 371.9 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007585/0.5125, allocations: 51.97 kB / 371.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.5127, allocations: 31.95 kB / 372 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/0.5127, allocations: 12 kB / 372 MB, free: 14.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00063/0.5134, allocations: 342.8 kB / 372.3 MB, free: 14.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5134, allocations: 0 / 372.3 MB, free: 14.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001172/0.5146, allocations: 247.2 kB / 372.6 MB, free: 14.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002372/0.5148, allocations: 119.2 kB / 372.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.5166, allocations: 0.5894 MB / 373.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.5166, allocations: 4 kB / 373.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008024/0.5174, allocations: 322.8 kB / 373.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009131/0.5184, allocations: 115.4 kB / 373.7 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/0.5225, allocations: 1.783 MB / 375.5 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007255/0.5233, allocations: 0.9418 MB / 376.4 MB, free: 10.22 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.5236, allocations: 47.44 kB / 376.5 MB, free: 10.17 MB / 314.7 MB Notification: Performance of SimCode: time 3.196e-06/0.5236, allocations: 0 / 376.5 MB, free: 10.17 MB / 314.7 MB Notification: Performance of Templates: time 0.0239/0.5475, allocations: 10.66 MB / 387.1 MB, free: 15.5 MB / 330.7 MB