Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,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_InitialOutput") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004043/0.004049, allocations: 347.9 kB / 15.94 MB, free: 6.219 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.815/3.815, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.00357/0.00357, allocations: 230.1 kB / 397.9 MB, free: 4.957 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.5711/0.5711, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004657, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08935/0.08984, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4129/0.5028, allocations: 83.93 MB / 0.6887 GB, free: 28.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.5032, allocations: 71.39 kB / 0.6888 GB, free: 28.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1445/0.6477, allocations: 29.36 MB / 0.7174 GB, free: 15.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6478, allocations: 0 / 0.7174 GB, free: 15.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.472e-05/0.6478, allocations: 23.94 kB / 0.7175 GB, free: 15.7 MB / 378.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.003883/0.6517, allocations: 1.063 MB / 0.7185 GB, free: 14.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.6518, allocations: 12.03 kB / 0.7185 GB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003271/0.6522, allocations: 90.97 kB / 0.7186 GB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/0.6543, allocations: 0.5696 MB / 0.7191 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-05/0.6544, allocations: 41 kB / 0.7192 GB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.6546, allocations: 51.91 kB / 0.7192 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.6564, allocations: 0.5451 MB / 0.7198 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.6565, allocations: 4 kB / 0.7198 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-05/0.6566, allocations: 23.89 kB / 0.7198 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.6566, allocations: 13.5 kB / 0.7198 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.6585, allocations: 445.9 kB / 0.7202 GB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005723/0.6643, allocations: 1.933 MB / 0.7221 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/0.6663, allocations: 0.5088 MB / 0.7226 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.6674, allocations: 270.8 kB / 0.7229 GB, free: 9.922 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-05/0.6675, allocations: 8.375 kB / 0.7229 GB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.6675, allocations: 46.48 kB / 0.7229 GB, free: 9.859 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.707e-06/0.6676, allocations: 4 kB / 0.7229 GB, free: 9.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.004564/0.6721, allocations: 1.135 MB / 0.724 GB, free: 8.711 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/0.6723, allocations: 106.8 kB / 0.7241 GB, free: 8.582 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.6737, allocations: 0.5979 MB / 0.7247 GB, free: 7.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001687/0.6739, allocations: 37.7 kB / 0.7248 GB, free: 7.938 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003848/0.6743, allocations: 324.2 kB / 0.7251 GB, free: 7.621 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.6746, allocations: 169.5 kB / 0.7252 GB, free: 7.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.6746, allocations: 12 kB / 0.7252 GB, free: 7.441 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.6749, allocations: 387.8 kB / 0.7256 GB, free: 7.055 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.6761, allocations: 269 kB / 0.7259 GB, free: 6.793 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.6774, allocations: 376 kB / 0.7262 GB, free: 6.391 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.6787, allocations: 300.7 kB / 0.7265 GB, free: 6.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.6787, allocations: 0 / 0.7265 GB, free: 6.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002955/0.6816, allocations: 0.7748 MB / 0.7273 GB, free: 5.324 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.6817, allocations: 4.281 kB / 0.7273 GB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.6817, allocations: 8 kB / 0.7273 GB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.6818, allocations: 8 kB / 0.7273 GB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.6836, allocations: 191.7 kB / 0.7275 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/0.6837, allocations: 11.94 kB / 0.7275 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.6847, allocations: 75.64 kB / 0.7276 GB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.944e-05/0.6849, allocations: 23.98 kB / 0.7276 GB, free: 5.008 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 (69): * Single equations (assignments): 68 * Array equations: 1 * 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.0005124/0.6854, allocations: 203.7 kB / 0.7278 GB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/0.6857, allocations: 71.16 kB / 0.7278 GB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.6859, allocations: 85.62 kB / 0.7279 GB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.686, allocations: 8.031 kB / 0.7279 GB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.686, allocations: 0 / 0.7279 GB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.686, allocations: 7.938 kB / 0.7279 GB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/0.6893, allocations: 1.225 MB / 0.7291 GB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.6894, allocations: 4 kB / 0.7291 GB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/0.6907, allocations: 119.8 kB / 0.7293 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.6908, allocations: 1.062 kB / 0.7293 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.76e-05/0.6909, allocations: 15.98 kB / 0.7293 GB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.868e-06/0.6909, allocations: 8.062 kB / 0.7293 GB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6909, allocations: 3.281 kB / 0.7293 GB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00427/0.6952, allocations: 1.183 MB / 0.7304 GB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008791/0.6962, allocations: 196.3 kB / 0.7306 GB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.6964, allocations: 12 kB / 0.7306 GB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009874/0.6974, allocations: 55.94 kB / 0.7307 GB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.6976, allocations: 46.58 kB / 0.7307 GB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.135e-05/0.6976, allocations: 12 kB / 0.7307 GB, free: 1.656 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001081/0.6987, allocations: 427 kB / 0.7312 GB, free: 1.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6987, allocations: 0 / 0.7312 GB, free: 1.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001071/0.6998, allocations: 143.9 kB / 0.7313 GB, free: 1.105 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (45): * Single equations (assignments): 45 * 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.000511/0.7004, allocations: 157.8 kB / 0.7314 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00378/0.7042, allocations: 0.6086 MB / 0.732 GB, free: 344 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.7042, allocations: 0 / 0.732 GB, free: 344 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002229/0.7065, allocations: 303.8 kB / 0.7323 GB, free: 40 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/0.7099, allocations: 162.4 kB / 0.7325 GB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005814/0.7157, allocations: 1.635 MB / 0.7341 GB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007147/0.7165, allocations: 0.9413 MB / 0.735 GB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007794/0.7173, allocations: 112 kB / 0.7351 GB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.7176, allocations: 39.44 kB / 0.7351 GB, free: 13.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/0.7176, allocations: 0 / 0.7351 GB, free: 13.1 MB / 394.7 MB Notification: Performance of Templates: time 0.02232/0.74, allocations: 6.76 MB / 0.7417 GB, free: 6.48 MB / 394.7 MB