Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialState,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.1_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004254/0.004253, allocations: 347.1 kB / 15.93 MB, free: 6.223 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.676/3.676, allocations: 341.5 MB / 358.2 MB, free: 12.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.004501/0.004501, allocations: 221.6 kB / 397.9 MB, free: 4.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5479/0.5479, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004788, allocations: 16 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08626/0.08676, allocations: 48.69 MB / 0.6067 GB, free: 4.672 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4492/0.536, allocations: 83.83 MB / 0.6886 GB, free: 28.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.5363, allocations: 75.44 kB / 0.6887 GB, free: 28.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1254/0.6617, allocations: 28.03 MB / 0.716 GB, free: 1.141 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.6618, allocations: 3.984 kB / 0.716 GB, free: 1.137 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.228e-05/0.6619, allocations: 16 kB / 0.7161 GB, free: 1.121 MB / 362.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.003589/0.6655, allocations: 1.063 MB / 0.7171 GB, free: 8 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.519e-05/0.6656, allocations: 12.08 kB / 0.7171 GB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003867/0.666, allocations: 83.06 kB / 0.7172 GB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.668, allocations: 0.5579 MB / 0.7177 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.236e-05/0.6682, allocations: 33 kB / 0.7178 GB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.6683, allocations: 55.91 kB / 0.7178 GB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/0.6703, allocations: 0.5569 MB / 0.7184 GB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.6704, allocations: 0 / 0.7184 GB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.107e-05/0.6705, allocations: 16 kB / 0.7184 GB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.6705, allocations: 15.95 kB / 0.7184 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.6725, allocations: 473.9 kB / 0.7188 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005823/0.6783, allocations: 1.984 MB / 0.7208 GB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/0.6805, allocations: 0.5776 MB / 0.7213 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.6816, allocations: 266.5 kB / 0.7216 GB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.176e-05/0.6817, allocations: 12 kB / 0.7216 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.6818, allocations: 42.58 kB / 0.7216 GB, free: 11.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.877e-06/0.6818, allocations: 0 / 0.7216 GB, free: 11.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.004512/0.6863, allocations: 1.161 MB / 0.7228 GB, free: 9.992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.6865, allocations: 158.2 kB / 0.7229 GB, free: 9.801 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.6879, allocations: 0.5979 MB / 0.7235 GB, free: 9.199 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.688, allocations: 41.7 kB / 0.7236 GB, free: 9.152 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.6884, allocations: 320.4 kB / 0.7239 GB, free: 8.836 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.6887, allocations: 169.5 kB / 0.724 GB, free: 8.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.6887, allocations: 8 kB / 0.724 GB, free: 8.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002449/0.689, allocations: 390.7 kB / 0.7244 GB, free: 8.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.6902, allocations: 273 kB / 0.7247 GB, free: 8.004 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.6915, allocations: 398.7 kB / 0.725 GB, free: 7.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.6928, allocations: 309.1 kB / 0.7253 GB, free: 7.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6928, allocations: 4 kB / 0.7253 GB, free: 7.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002912/0.6957, allocations: 0.7771 MB / 0.7261 GB, free: 6.488 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.6958, allocations: 4 kB / 0.7261 GB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.6958, allocations: 10.55 kB / 0.7261 GB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.6959, allocations: 4 kB / 0.7261 GB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.6972, allocations: 152.1 kB / 0.7263 GB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/0.6972, allocations: 7.516 kB / 0.7263 GB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.6983, allocations: 95.62 kB / 0.7264 GB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.287e-05/0.6983, allocations: 16 kB / 0.7264 GB, free: 6.211 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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 prepare postOptimizeDAE: time 0.0004776/0.6988, allocations: 211.6 kB / 0.7266 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.6991, allocations: 67.16 kB / 0.7266 GB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.6993, allocations: 85.64 kB / 0.7267 GB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.6993, allocations: 4 kB / 0.7267 GB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.6993, allocations: 4 kB / 0.7267 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.6993, allocations: 3.984 kB / 0.7267 GB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/0.7013, allocations: 0.8141 MB / 0.7275 GB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.7013, allocations: 0 / 0.7275 GB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/0.7026, allocations: 115.8 kB / 0.7276 GB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.7027, allocations: 0 / 0.7276 GB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.202e-05/0.7028, allocations: 19.98 kB / 0.7277 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.7028, allocations: 8 kB / 0.7277 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.7028, allocations: 0 / 0.7277 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004029/0.7068, allocations: 1.189 MB / 0.7288 GB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/0.7073, allocations: 203.3 kB / 0.729 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.7075, allocations: 13.75 kB / 0.729 GB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.7085, allocations: 63.94 kB / 0.7291 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.7087, allocations: 35.94 kB / 0.7291 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.7088, allocations: 12 kB / 0.7291 GB, free: 3.277 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00107/0.7099, allocations: 431 kB / 0.7296 GB, free: 2.863 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7099, allocations: 0 / 0.7296 GB, free: 2.863 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008458/0.7107, allocations: 116 kB / 0.7297 GB, free: 2.75 MB / 378.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 () * Number of clocked 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.0002283/0.711, allocations: 119.2 kB / 0.7298 GB, free: 2.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002589/0.7136, allocations: 0.6247 MB / 0.7304 GB, free: 2.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.7136, allocations: 0 / 0.7304 GB, free: 2.004 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.7149, allocations: 304.3 kB / 0.7307 GB, free: 1.707 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.7167, allocations: 157.9 kB / 0.7308 GB, free: 1.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/0.7211, allocations: 1.627 MB / 0.7324 GB, free: 15.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/0.7219, allocations: 0.9489 MB / 0.7333 GB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007844/0.7227, allocations: 104.3 kB / 0.7334 GB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.723, allocations: 39.44 kB / 0.7335 GB, free: 14.78 MB / 394.7 MB Notification: Performance of SimCode: time 1.472e-06/0.723, allocations: 0 / 0.7335 GB, free: 14.78 MB / 394.7 MB Notification: Performance of Templates: time 0.02075/0.7438, allocations: 6.231 MB / 0.7396 GB, free: 8.688 MB / 394.7 MB