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.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadModel(Modelica): time 1.754/1.754, allocations: 171.2 MB / 187.3 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003345, allocations: 8 kB / 233.8 MB, free: 3.086 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07952/0.07987, allocations: 38.78 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3406/0.4205, allocations: 67.83 MB / 340.4 MB, free: 6.078 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.4209, allocations: 71.94 kB / 340.4 MB, free: 6.043 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03447/0.4553, allocations: 4.926 MB / 345.4 MB, free: 1.848 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.378e-06/0.4554, allocations: 0 / 345.4 MB, free: 1.848 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.126e-05/0.4555, allocations: 8 kB / 345.4 MB, free: 1.84 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001765/0.4573, allocations: 0.5387 MB / 345.9 MB, free: 1.273 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.4573, allocations: 8.031 kB / 345.9 MB, free: 1.266 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.4575, allocations: 31.62 kB / 346 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005606/0.4581, allocations: 251.9 kB / 346.2 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.4582, allocations: 16 kB / 346.2 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.4583, allocations: 34.8 kB / 346.3 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.4594, allocations: 256.4 kB / 346.5 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.4595, allocations: 0 / 346.5 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-05/0.4596, allocations: 12.94 kB / 346.5 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.4596, allocations: 8 kB / 346.5 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009173/0.4606, allocations: 187.4 kB / 346.7 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003853/0.4644, allocations: 1.021 MB / 347.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008656/0.4654, allocations: 333.1 kB / 348.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.4654, allocations: 4.172 kB / 348.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.917e-05/0.4655, allocations: 38.19 kB / 348.1 MB, free: 15.35 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 4.719e-06/0.4655, allocations: 0 / 348.1 MB, free: 15.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.003431/0.469, allocations: 0.791 MB / 348.9 MB, free: 14.67 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.4691, allocations: 51.41 kB / 348.9 MB, free: 14.61 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004058/0.4695, allocations: 200 kB / 349.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.4696, allocations: 28.45 kB / 349.2 MB, free: 14.4 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.4698, allocations: 233.3 kB / 349.4 MB, free: 14.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.47, allocations: 92.66 kB / 349.5 MB, free: 14.11 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.47, allocations: 7.312 kB / 349.5 MB, free: 14.1 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.4702, allocations: 322.1 kB / 349.8 MB, free: 13.78 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.4706, allocations: 73.53 kB / 349.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.471, allocations: 112 kB / 350 MB, free: 13.65 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.4715, allocations: 84.3 kB / 350.1 MB, free: 13.6 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4715, allocations: 0 / 350.1 MB, free: 13.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001397/0.4729, allocations: 320.4 kB / 350.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.473, allocations: 8 kB / 350.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.473, allocations: 0 / 350.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006428/0.4737, allocations: 84.06 kB / 350.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/0.4743, allocations: 46.91 kB / 350.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004402/0.4787, allocations: 1.923 MB / 352.4 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.4791, allocations: 7.25 kB / 352.4 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.4792, allocations: 11.19 kB / 352.5 MB, free: 11.46 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003293/0.4795, allocations: 142.5 kB / 352.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.4797, allocations: 23.88 kB / 352.6 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.688e-05/0.4798, allocations: 26.94 kB / 352.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4798, allocations: 0 / 352.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/0.4798, allocations: 4 kB / 352.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.4799, allocations: 3.984 kB / 352.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/0.4825, allocations: 0.7543 MB / 353.4 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.4825, allocations: 0 / 353.4 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005248/0.4831, allocations: 39.91 kB / 353.4 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005765/0.4837, allocations: 74.86 kB / 353.5 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/0.4838, allocations: 7.438 kB / 353.5 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003939/0.4877, allocations: 1.815 MB / 355.3 MB, free: 8.816 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4878, allocations: 0 / 355.3 MB, free: 8.816 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.4895, allocations: 474.4 kB / 355.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.4897, allocations: 96.39 kB / 355.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.557e-05/0.4898, allocations: 7.578 kB / 355.9 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/0.4903, allocations: 23.53 kB / 355.9 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.4904, allocations: 19.97 kB / 355.9 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.4905, allocations: 7.797 kB / 356 MB, free: 8.277 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002726/0.4908, allocations: 146.3 kB / 356.1 MB, free: 8.152 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.4908, allocations: 4 kB / 356.1 MB, free: 8.148 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001042/0.4919, allocations: 78.75 kB / 356.2 MB, free: 8.082 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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.0002725/0.4922, allocations: 106.8 kB / 356.3 MB, free: 7.969 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.4938, allocations: 373.7 kB / 356.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.4939, allocations: 0 / 356.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.495, allocations: 265.3 kB / 356.9 MB, free: 7.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006983/0.4957, allocations: 30.17 kB / 356.9 MB, free: 7.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/0.499, allocations: 0.969 MB / 357.9 MB, free: 6.449 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.4996, allocations: 0.7713 MB / 358.7 MB, free: 5.652 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.4998, allocations: 19.44 kB / 358.7 MB, free: 5.633 MB / 282.7 MB Notification: Performance of SimCode: time 1.453e-06/0.4998, allocations: 0 / 358.7 MB, free: 5.633 MB / 282.7 MB Notification: Performance of Templates: time 0.01496/0.5148, allocations: 3.887 MB / 362.6 MB, free: 1.773 MB / 282.7 MB