Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadModel(Modelica): time 1.942/1.942, allocations: 194.9 MB / 212.3 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005628/0.0005629, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1348, allocations: 44.51 MB / 309 MB, free: 1.027 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4915/0.6264, allocations: 74.67 MB / 383.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.6268, allocations: 82.47 kB / 383.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02487/0.6517, allocations: 5.561 MB / 389.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.377e-06/0.6517, allocations: 0 / 389.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.6517, allocations: 7.875 kB / 389.3 MB, free: 14.18 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.00131/0.6531, allocations: 0.5998 MB / 389.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.6531, allocations: 7.906 kB / 389.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.6532, allocations: 31.22 kB / 390 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.6536, allocations: 274.2 kB / 390.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.6536, allocations: 18.94 kB / 390.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.6537, allocations: 22.31 kB / 390.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008062/0.6545, allocations: 249.5 kB / 390.5 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.6546, allocations: 3.781 kB / 390.5 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.6546, allocations: 11.06 kB / 390.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.6546, allocations: 7.906 kB / 390.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009958/0.6556, allocations: 247.5 kB / 390.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.6579, allocations: 0.9127 MB / 391.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009996/0.6589, allocations: 318.2 kB / 392 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.6589, allocations: 0 / 392 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006332/0.6596, allocations: 195.3 kB / 392.2 MB, free: 12.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.014e-06/0.6596, allocations: 0 / 392.2 MB, free: 12.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.002652/0.6623, allocations: 0.5257 MB / 392.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.6623, allocations: 109.7 kB / 392.8 MB, free: 12.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.6627, allocations: 262.9 kB / 393.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.6627, allocations: 33.08 kB / 393.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.6628, allocations: 232 kB / 393.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/0.6629, allocations: 54.08 kB / 393.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.6629, allocations: 6.875 kB / 393.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.663, allocations: 330.9 kB / 393.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/0.6635, allocations: 95.53 kB / 393.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.664, allocations: 171.4 kB / 394 MB, free: 11.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004887/0.6645, allocations: 136.8 kB / 394.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.6645, allocations: 3.688 kB / 394.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001624/0.6662, allocations: 400.7 kB / 394.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.6662, allocations: 37.42 kB / 394.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6662, allocations: 3.938 kB / 394.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006618/0.6669, allocations: 81.11 kB / 394.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.6674, allocations: 66.3 kB / 394.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/0.67, allocations: 1.491 MB / 396.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/0.6705, allocations: 61.95 kB / 396.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.6706, allocations: 7.406 kB / 396.2 MB, free: 10.19 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001985/0.6708, allocations: 142.5 kB / 396.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.6709, allocations: 23.38 kB / 396.4 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.666e-05/0.6709, allocations: 26.23 kB / 396.4 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.6709, allocations: 7.875 kB / 396.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6709, allocations: 0 / 396.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.671, allocations: 2.625 kB / 396.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/0.6729, allocations: 0.7102 MB / 397.2 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6729, allocations: 0 / 397.2 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004478/0.6734, allocations: 53.12 kB / 397.2 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005929/0.674, allocations: 76.33 kB / 397.3 MB, free: 9.707 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.674, allocations: 3.953 kB / 397.3 MB, free: 9.703 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/0.6765, allocations: 1.497 MB / 398.8 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6765, allocations: 7.875 kB / 398.8 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.6786, allocations: 0.516 MB / 399.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.6787, allocations: 107.3 kB / 399.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.129e-05/0.6788, allocations: 6.547 kB / 399.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.6792, allocations: 35.67 kB / 399.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.6794, allocations: 19.92 kB / 399.5 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.6794, allocations: 13.88 kB / 399.5 MB, free: 8.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002458/0.6796, allocations: 188.9 kB / 399.7 MB, free: 8.012 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6797, allocations: 0 / 399.7 MB, free: 8.012 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005187/0.6802, allocations: 77.47 kB / 399.7 MB, free: 8 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001599/0.6804, allocations: 109.2 kB / 399.8 MB, free: 7.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.6816, allocations: 416.4 kB / 400.3 MB, free: 7.719 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6816, allocations: 0 / 400.3 MB, free: 7.719 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005673/0.6822, allocations: 232.7 kB / 400.5 MB, free: 7.598 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.6826, allocations: 36.09 kB / 400.5 MB, free: 7.598 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.684, allocations: 0.648 MB / 401.2 MB, free: 7.191 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.6842, allocations: 0.7666 MB / 401.9 MB, free: 6.488 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.6844, allocations: 22.38 kB / 402 MB, free: 6.48 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6844, allocations: 0 / 402 MB, free: 6.48 MB / 314.7 MB Notification: Performance of Templates: time 0.008249/0.6926, allocations: 4.262 MB / 406.2 MB, free: 6.137 MB / 314.7 MB