Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_SteadyState.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadModel(ModelicaTest): time 2.14/2.14, allocations: 235 MB / 248.1 MB, free: 14.31 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.372e-05/2.393e-05, allocations: 0 / 309.7 MB, free: 1.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3225, allocations: 54.86 MB / 364.5 MB, free: 5.512 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.4573, allocations: 89.83 MB / 454.4 MB, free: 6.641 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.4575, allocations: 68.53 kB / 454.4 MB, free: 6.574 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08529/0.5428, allocations: 19.13 MB / 473.6 MB, free: 3.414 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.527e-06/0.5429, allocations: 0 / 473.6 MB, free: 3.414 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.047e-05/0.543, allocations: 23.94 kB / 473.6 MB, free: 3.391 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002149/0.5451, allocations: 0.9039 MB / 474.5 MB, free: 2.441 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.5452, allocations: 8.031 kB / 474.5 MB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.5454, allocations: 79.06 kB / 474.6 MB, free: 2.355 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.5466, allocations: 0.511 MB / 475.1 MB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.309e-05/0.5467, allocations: 40.73 kB / 475.1 MB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.5469, allocations: 55.89 kB / 475.2 MB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.548, allocations: 480 kB / 475.6 MB, free: 1.207 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.548, allocations: 5.312 kB / 475.6 MB, free: 1.203 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-05/0.5481, allocations: 16 kB / 475.7 MB, free: 1.188 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.5481, allocations: 8 kB / 475.7 MB, free: 1.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008778/0.549, allocations: 346 kB / 476 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004507/0.5535, allocations: 1.928 MB / 477.9 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.5547, allocations: 464.8 kB / 478.4 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004441/0.5552, allocations: 194.6 kB / 478.6 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.105e-05/0.5552, allocations: 8.438 kB / 478.6 MB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.5553, allocations: 38.56 kB / 478.6 MB, free: 14.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.359e-06/0.5553, allocations: 1.312 kB / 478.6 MB, free: 14.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.001949/0.5573, allocations: 0.7698 MB / 479.4 MB, free: 13.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.827e-05/0.5574, allocations: 140.5 kB / 479.5 MB, free: 13.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008664/0.5583, allocations: 499.7 kB / 480 MB, free: 12.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.962e-05/0.5584, allocations: 37.69 kB / 480.1 MB, free: 12.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.5587, allocations: 346.9 kB / 480.4 MB, free: 12.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.5589, allocations: 169.5 kB / 480.6 MB, free: 12.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.5589, allocations: 12 kB / 480.6 MB, free: 12.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.5591, allocations: 331.6 kB / 480.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004928/0.5596, allocations: 185.1 kB / 481.1 MB, free: 11.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005919/0.5602, allocations: 297 kB / 481.4 MB, free: 11.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.5608, allocations: 224.4 kB / 481.6 MB, free: 11.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.052e-06/0.5608, allocations: 0 / 481.6 MB, free: 11.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001505/0.5623, allocations: 0.5851 MB / 482.2 MB, free: 10.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000575/0.5629, allocations: 1.067 MB / 483.2 MB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.563, allocations: 4 kB / 483.2 MB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002782/0.5633, allocations: 60.75 kB / 483.3 MB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.5645, allocations: 191.8 kB / 483.5 MB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.5663, allocations: 1.491 MB / 485 MB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008255/0.5672, allocations: 95.72 kB / 485.1 MB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/0.5673, allocations: 20 kB / 485.1 MB, free: 7.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.881e-06/0.5673, allocations: 1.219 kB / 485.1 MB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001407/0.5687, allocations: 0.5393 MB / 485.6 MB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.5687, allocations: 4 kB / 485.6 MB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/0.5689, allocations: 60.77 kB / 485.7 MB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.5701, allocations: 191.9 kB / 485.9 MB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.5701, allocations: 8 kB / 485.9 MB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.5706, allocations: 67.56 kB / 486 MB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/0.5707, allocations: 20 kB / 486 MB, free: 6.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002125/0.5709, allocations: 140.8 kB / 486.1 MB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/0.5712, allocations: 63.25 kB / 486.2 MB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.5714, allocations: 81.42 kB / 486.3 MB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.5714, allocations: 11.95 kB / 486.3 MB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.548e-06/0.5714, allocations: 0 / 486.3 MB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.5715, allocations: 5.672 kB / 486.3 MB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.5731, allocations: 0.7829 MB / 487.1 MB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.531e-06/0.5731, allocations: 8 kB / 487.1 MB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009221/0.5741, allocations: 111.9 kB / 487.2 MB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.5741, allocations: 7.953 kB / 487.2 MB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.911e-05/0.5742, allocations: 19.98 kB / 487.2 MB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.814e-06/0.5742, allocations: 4 kB / 487.2 MB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.087e-06/0.5742, allocations: 0 / 487.2 MB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.576, allocations: 0.9668 MB / 488.2 MB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/0.5764, allocations: 188.3 kB / 488.4 MB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.5765, allocations: 16 kB / 488.4 MB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007581/0.5773, allocations: 59.94 kB / 488.4 MB, free: 3.859 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.5774, allocations: 39.94 kB / 488.5 MB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.911e-05/0.5775, allocations: 16 kB / 488.5 MB, free: 3.805 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006829/0.5782, allocations: 395.2 kB / 488.9 MB, free: 3.422 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.98e-07/0.5782, allocations: 3.938 kB / 488.9 MB, free: 3.418 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001066/0.5793, allocations: 192 kB / 489.1 MB, free: 3.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002108/0.5795, allocations: 127 kB / 489.2 MB, free: 3.094 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002276/0.5818, allocations: 0.9425 MB / 490.1 MB, free: 2.117 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.991e-06/0.5818, allocations: 1.25 kB / 490.1 MB, free: 2.117 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005375/0.5824, allocations: 215.8 kB / 490.3 MB, free: 1.906 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.5835, allocations: 166 kB / 490.5 MB, free: 1.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.5864, allocations: 1.19 MB / 491.7 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007599/0.5872, allocations: 0.9494 MB / 492.6 MB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/0.5875, allocations: 39.44 kB / 492.7 MB, free: 15.5 MB / 426.7 MB Notification: Performance of SimCode: time 2.127e-06/0.5875, allocations: 4 kB / 492.7 MB, free: 15.5 MB / 426.7 MB Notification: Performance of Templates: time 0.01686/0.6044, allocations: 9.044 MB / 0.49 GB, free: 6.469 MB / 426.7 MB