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.VoltageFollower.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.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005207/0.000521, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.09926, allocations: 44.51 MB / 309 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.412/0.5113, allocations: 74.38 MB / 383.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.5116, allocations: 86.3 kB / 383.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02387/0.5355, allocations: 5.128 MB / 388.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5356, allocations: 0 / 388.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.227e-05/0.5356, allocations: 7.594 kB / 388.6 MB, free: 14.25 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001357/0.537, allocations: 0.5777 MB / 389.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.537, allocations: 7.781 kB / 389.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.5371, allocations: 32.66 kB / 389.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.5375, allocations: 262.4 kB / 389.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.5375, allocations: 14.72 kB / 389.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.5376, allocations: 18.62 kB / 389.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007909/0.5384, allocations: 235.9 kB / 389.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.5384, allocations: 1.406 kB / 389.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.5385, allocations: 7.062 kB / 389.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.5385, allocations: 8.562 kB / 389.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009684/0.5395, allocations: 228.9 kB / 390 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.5416, allocations: 0.8625 MB / 390.8 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.5433, allocations: 325.2 kB / 391.1 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.5434, allocations: 0 / 391.1 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006184/0.544, allocations: 160.3 kB / 391.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 2.204e-06/0.544, allocations: 0 / 391.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0027/0.5467, allocations: 486 kB / 391.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.5468, allocations: 110.1 kB / 391.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/0.5472, allocations: 258.8 kB / 392.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.5473, allocations: 38.23 kB / 392.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.5474, allocations: 238.7 kB / 392.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.5475, allocations: 28.5 kB / 392.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/0.5475, allocations: 3.812 kB / 392.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.5476, allocations: 328.6 kB / 392.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/0.548, allocations: 100.3 kB / 392.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000518/0.5486, allocations: 179.2 kB / 393 MB, free: 11.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004925/0.5491, allocations: 130.6 kB / 393.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.5491, allocations: 1.312 kB / 393.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001635/0.5508, allocations: 384.7 kB / 393.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.512e-05/0.5509, allocations: 33.45 kB / 393.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.5509, allocations: 3.906 kB / 393.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006899/0.5516, allocations: 85.31 kB / 393.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.552, allocations: 54.03 kB / 393.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/0.5548, allocations: 1.512 MB / 395.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000612/0.5554, allocations: 58.39 kB / 395.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.5555, allocations: 11.56 kB / 395.3 MB, free: 10.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (23): * Single equations (assignments): 21 * 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.0002073/0.5557, allocations: 142.5 kB / 395.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.5558, allocations: 23.38 kB / 395.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.425e-05/0.5558, allocations: 23.09 kB / 395.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.5558, allocations: 0 / 395.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5559, allocations: 3.906 kB / 395.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5559, allocations: 2.578 kB / 395.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.5576, allocations: 0.6031 MB / 396.1 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5576, allocations: 0 / 396.1 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.5579, allocations: 39.84 kB / 396.1 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005896/0.5585, allocations: 73.47 kB / 396.2 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.5585, allocations: 7.828 kB / 396.2 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/0.561, allocations: 1.493 MB / 397.7 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5611, allocations: 0 / 397.7 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.5625, allocations: 370.7 kB / 398.1 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.644e-05/0.5627, allocations: 107.2 kB / 398.2 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/0.5627, allocations: 3.984 kB / 398.2 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.5632, allocations: 34.72 kB / 398.2 MB, free: 8.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.5633, allocations: 22.03 kB / 398.2 MB, free: 8.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.5633, allocations: 3.938 kB / 398.2 MB, free: 8.156 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002467/0.5636, allocations: 195 kB / 398.4 MB, free: 8.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5636, allocations: 0 / 398.4 MB, free: 8.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005029/0.5641, allocations: 61.66 kB / 398.5 MB, free: 8.062 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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.0001576/0.5642, allocations: 105.3 kB / 398.6 MB, free: 7.973 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.5655, allocations: 379.3 kB / 398.9 MB, free: 7.785 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5655, allocations: 0 / 398.9 MB, free: 7.785 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005138/0.566, allocations: 202.4 kB / 399.1 MB, free: 7.672 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.5665, allocations: 35.95 kB / 399.2 MB, free: 7.668 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.5677, allocations: 0.4986 MB / 399.7 MB, free: 7.348 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.5679, allocations: 0.7513 MB / 400.4 MB, free: 6.648 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.568, allocations: 19.16 kB / 400.4 MB, free: 6.641 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.568, allocations: 0 / 400.4 MB, free: 6.641 MB / 314.7 MB Notification: Performance of Templates: time 0.008015/0.5761, allocations: 3.847 MB / 404.3 MB, free: 6.418 MB / 314.7 MB