Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadModel(Modelica): time 2.129/2.129, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005012/0.0005014, allocations: 8 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1195, allocations: 44.49 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.501/0.6205, allocations: 74.54 MB / 383.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003693/0.6209, allocations: 87.92 kB / 383.7 MB, free: 15.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02822/0.6492, allocations: 4.969 MB / 388.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6492, allocations: 0 / 388.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.6493, allocations: 3.906 kB / 388.7 MB, free: 14.88 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001552/0.6508, allocations: 0.56 MB / 389.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.6509, allocations: 11.78 kB / 389.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.651, allocations: 23.28 kB / 389.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.6515, allocations: 257.7 kB / 389.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.6515, allocations: 15.16 kB / 389.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.021e-05/0.6516, allocations: 22.66 kB / 389.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009922/0.6526, allocations: 226.8 kB / 389.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.6526, allocations: 0 / 389.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.6527, allocations: 7.594 kB / 389.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.6527, allocations: 7.875 kB / 389.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.654, allocations: 224.9 kB / 390 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.6564, allocations: 0.836 MB / 390.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.6577, allocations: 210.2 kB / 391 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.6578, allocations: 7.984 kB / 391 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007147/0.6585, allocations: 167.7 kB / 391.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.815e-06/0.6585, allocations: 4 kB / 391.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.003237/0.6618, allocations: 498.4 kB / 391.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.6619, allocations: 84.92 kB / 391.8 MB, free: 13.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/0.6623, allocations: 229.1 kB / 392 MB, free: 13.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.6624, allocations: 32.72 kB / 392 MB, free: 13.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.6625, allocations: 155.8 kB / 392.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/0.6626, allocations: 44.47 kB / 392.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.6626, allocations: 7.688 kB / 392.2 MB, free: 13.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.6627, allocations: 332.2 kB / 392.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.6633, allocations: 87.55 kB / 392.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006316/0.664, allocations: 144.7 kB / 392.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006037/0.6646, allocations: 128.3 kB / 392.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.6646, allocations: 0 / 392.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001625/0.6663, allocations: 370.3 kB / 393.3 MB, free: 12.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.6663, allocations: 33.48 kB / 393.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.6664, allocations: 4 kB / 393.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006882/0.6671, allocations: 79.48 kB / 393.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.6675, allocations: 54.27 kB / 393.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/0.6701, allocations: 1.498 MB / 394.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.6706, allocations: 36.77 kB / 395 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.6707, allocations: 7.781 kB / 395 MB, free: 11.13 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 (20): * Single equations (assignments): 18 * 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.0001858/0.6709, allocations: 142.1 kB / 395.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.6709, allocations: 23.47 kB / 395.2 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.671, allocations: 23.36 kB / 395.2 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.671, allocations: 3.938 kB / 395.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.671, allocations: 0 / 395.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.671, allocations: 0 / 395.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.6713, allocations: 283.5 kB / 395.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.6713, allocations: 0 / 395.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.6717, allocations: 42.75 kB / 395.5 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005887/0.6723, allocations: 78.47 kB / 395.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.6723, allocations: 5.438 kB / 395.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002341/0.6747, allocations: 1.494 MB / 397.1 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6747, allocations: 0 / 397.1 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.6765, allocations: 405 kB / 397.5 MB, free: 9.363 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.771e-05/0.6766, allocations: 95.03 kB / 397.6 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.6767, allocations: 4.062 kB / 397.6 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.6771, allocations: 30.92 kB / 397.6 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.6772, allocations: 18.88 kB / 397.6 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.6772, allocations: 11.09 kB / 397.6 MB, free: 9.254 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002062/0.6774, allocations: 169 kB / 397.8 MB, free: 9.176 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6774, allocations: 0 / 397.8 MB, free: 9.176 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004417/0.6779, allocations: 61.94 kB / 397.8 MB, free: 9.164 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 8 * 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.0001595/0.6781, allocations: 117.4 kB / 398 MB, free: 9.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.6792, allocations: 382.6 kB / 398.3 MB, free: 8.879 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.6792, allocations: 0 / 398.3 MB, free: 8.879 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005272/0.6798, allocations: 208.9 kB / 398.5 MB, free: 8.766 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.6801, allocations: 39.77 kB / 398.6 MB, free: 8.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.6814, allocations: 0.5423 MB / 399.1 MB, free: 8.418 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.6816, allocations: 0.7534 MB / 399.9 MB, free: 7.715 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001762/0.6818, allocations: 20.44 kB / 399.9 MB, free: 7.707 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.6819, allocations: 26.56 kB / 399.9 MB, free: 7.695 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6819, allocations: 0 / 399.9 MB, free: 7.695 MB / 314.7 MB Notification: Performance of Templates: time 0.008555/0.6905, allocations: 2.745 MB / 402.7 MB, free: 7.504 MB / 314.7 MB