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.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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadModel(Modelica): time 1.893/1.893, allocations: 194.8 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003819, allocations: 12 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.09899, allocations: 44.5 MB / 309 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5521/0.6511, allocations: 74.54 MB / 383.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003948/0.6516, allocations: 87.48 kB / 383.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03189/0.6835, allocations: 4.974 MB / 388.6 MB, free: 14.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.6835, allocations: 1.922 kB / 388.6 MB, free: 14.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.107e-05/0.6836, allocations: 3.875 kB / 388.6 MB, free: 14.19 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.001596/0.6852, allocations: 0.5632 MB / 389.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.6853, allocations: 7.75 kB / 389.2 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.6854, allocations: 27.22 kB / 389.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.6859, allocations: 254.6 kB / 389.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.6859, allocations: 14.38 kB / 389.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.327e-05/0.686, allocations: 24.12 kB / 389.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.687, allocations: 224.2 kB / 389.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.6871, allocations: 1.156 kB / 389.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.867e-05/0.6871, allocations: 9.672 kB / 389.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.6872, allocations: 4.844 kB / 389.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.6885, allocations: 219.3 kB / 389.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.691, allocations: 0.8468 MB / 390.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.6924, allocations: 207.4 kB / 391 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.6925, allocations: 3.938 kB / 391 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007414/0.6933, allocations: 162.4 kB / 391.1 MB, free: 12.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 3.035e-06/0.6933, allocations: 0 / 391.1 MB, free: 12.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.003232/0.6965, allocations: 497.9 kB / 391.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.6966, allocations: 84.92 kB / 391.7 MB, free: 12.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004199/0.6971, allocations: 232.5 kB / 391.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.6971, allocations: 33.08 kB / 392 MB, free: 12.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.6973, allocations: 213.7 kB / 392.2 MB, free: 12.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/0.6974, allocations: 40.56 kB / 392.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.6974, allocations: 11.66 kB / 392.2 MB, free: 12.28 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.276e-05/0.6975, allocations: 317 kB / 392.5 MB, free: 11.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005741/0.6981, allocations: 93.19 kB / 392.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005967/0.6987, allocations: 145.3 kB / 392.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/0.6993, allocations: 121.2 kB / 392.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.6993, allocations: 0 / 392.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.002/0.7013, allocations: 368.9 kB / 393.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.249e-05/0.7014, allocations: 30.33 kB / 393.3 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.7014, allocations: 3.906 kB / 393.3 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008106/0.7023, allocations: 75.34 kB / 393.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/0.7028, allocations: 56.42 kB / 393.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003334/0.7061, allocations: 1.497 MB / 394.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006383/0.7068, allocations: 45.36 kB / 394.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.7069, allocations: 3.844 kB / 394.9 MB, free: 10.39 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.0002294/0.7071, allocations: 142.5 kB / 395.1 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.7072, allocations: 23.25 kB / 395.1 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.851e-05/0.7073, allocations: 23.28 kB / 395.1 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.7073, allocations: 3.938 kB / 395.1 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.7073, allocations: 7.938 kB / 395.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.7073, allocations: 3.188 kB / 395.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.7077, allocations: 271.6 kB / 395.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.7077, allocations: 0 / 395.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004508/0.7082, allocations: 46.58 kB / 395.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007491/0.709, allocations: 70.14 kB / 395.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.709, allocations: 4 kB / 395.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003092/0.7121, allocations: 1.493 MB / 397 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7122, allocations: 3.938 kB / 397 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.7145, allocations: 408.2 kB / 397.4 MB, free: 8.617 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.7147, allocations: 95.3 kB / 397.5 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.7148, allocations: 3.312 kB / 397.5 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/0.7153, allocations: 31.92 kB / 397.5 MB, free: 8.512 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.7154, allocations: 23.89 kB / 397.6 MB, free: 8.508 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.7155, allocations: 3.844 kB / 397.6 MB, free: 8.508 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002978/0.7158, allocations: 171.7 kB / 397.7 MB, free: 8.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.793e-06/0.7158, allocations: 0 / 397.7 MB, free: 8.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007048/0.7165, allocations: 64.33 kB / 397.8 MB, free: 8.418 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.000203/0.7167, allocations: 117.9 kB / 397.9 MB, free: 8.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.7184, allocations: 377.7 kB / 398.3 MB, free: 8.133 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.7184, allocations: 3.875 kB / 398.3 MB, free: 8.133 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006438/0.7191, allocations: 209.8 kB / 398.5 MB, free: 8.016 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005679/0.7197, allocations: 34.7 kB / 398.5 MB, free: 8.008 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.722, allocations: 0.5778 MB / 399.1 MB, free: 7.637 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.7223, allocations: 0.7445 MB / 399.9 MB, free: 6.938 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.7225, allocations: 19 kB / 399.9 MB, free: 6.93 MB / 314.7 MB Notification: Performance of SimCode: time 1.343e-06/0.7225, allocations: 3.938 kB / 399.9 MB, free: 6.926 MB / 314.7 MB Notification: Performance of Templates: time 0.01055/0.7331, allocations: 3.646 MB / 403.5 MB, free: 6.73 MB / 314.7 MB