Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002838/0.002843, allocations: 359.6 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.128/4.128, allocations: 388.9 MB / 405.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003625/0.003624, allocations: 215.4 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5136/0.5136, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006871/0.0006873, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1191, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4785/0.5977, allocations: 90.05 MB / 0.768 GB, free: 11.38 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/0.5981, allocations: 71.88 kB / 0.7681 GB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1328/0.7308, allocations: 26.3 MB / 0.7938 GB, free: 5.047 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.7309, allocations: 0 / 0.7938 GB, free: 5.047 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.875e-05/0.731, allocations: 16 kB / 0.7938 GB, free: 5.031 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.003892/0.7349, allocations: 1.045 MB / 0.7948 GB, free: 3.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.735, allocations: 12.03 kB / 0.7948 GB, free: 3.973 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/0.7354, allocations: 79.06 kB / 0.7949 GB, free: 3.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.7373, allocations: 0.5428 MB / 0.7954 GB, free: 3.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-05/0.7375, allocations: 37.06 kB / 0.7955 GB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.7376, allocations: 46 kB / 0.7955 GB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.7395, allocations: 0.5497 MB / 0.796 GB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.055e-05/0.7396, allocations: 0 / 0.796 GB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.492e-05/0.7396, allocations: 21.06 kB / 0.7961 GB, free: 2.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.7397, allocations: 8 kB / 0.7961 GB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.7417, allocations: 472.4 kB / 0.7965 GB, free: 2.516 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006079/0.7478, allocations: 1.971 MB / 0.7984 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.7501, allocations: 0.5847 MB / 0.799 GB, free: 368 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.7513, allocations: 278 kB / 0.7993 GB, free: 148 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-05/0.7514, allocations: 11.98 kB / 0.7993 GB, free: 136 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.7515, allocations: 42.23 kB / 0.7993 GB, free: 88 kB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.326e-06/0.7515, allocations: 0 / 0.7993 GB, free: 88 kB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.00467/0.7562, allocations: 1.15 MB / 0.8005 GB, free: 15.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.7563, allocations: 136.5 kB / 0.8006 GB, free: 14.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.7578, allocations: 0.5921 MB / 0.8012 GB, free: 14.47 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001728/0.758, allocations: 43.95 kB / 0.8012 GB, free: 14.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/0.7584, allocations: 318.2 kB / 0.8015 GB, free: 14.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.7587, allocations: 172.3 kB / 0.8017 GB, free: 14.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.7587, allocations: 9.188 kB / 0.8017 GB, free: 14.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.759, allocations: 383.6 kB / 0.802 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.7602, allocations: 278.1 kB / 0.8023 GB, free: 13.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.7616, allocations: 389.5 kB / 0.8027 GB, free: 13.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.7629, allocations: 314.2 kB / 0.803 GB, free: 12.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.763, allocations: 0 / 0.803 GB, free: 12.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00306/0.766, allocations: 0.779 MB / 0.8037 GB, free: 12.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.7663, allocations: 178 kB / 0.8039 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.7663, allocations: 0 / 0.8039 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.7663, allocations: 8 kB / 0.8039 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.7677, allocations: 147.2 kB / 0.8041 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.439e-05/0.7677, allocations: 8 kB / 0.8041 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.7688, allocations: 91.11 kB / 0.8042 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.594e-05/0.7689, allocations: 19.81 kB / 0.8042 GB, free: 11.92 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.769, allocations: 4 kB / 0.8042 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002542/0.7715, allocations: 0.6575 MB / 0.8048 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.7716, allocations: 4 kB / 0.8048 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.7716, allocations: 4 kB / 0.8048 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.7729, allocations: 147.1 kB / 0.805 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/0.7729, allocations: 15.89 kB / 0.805 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.774, allocations: 83.19 kB / 0.8051 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.969e-05/0.7741, allocations: 15.06 kB / 0.8051 GB, free: 11.18 MB / 394.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.0005353/0.7747, allocations: 277.8 kB / 0.8053 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.775, allocations: 67.16 kB / 0.8054 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.7752, allocations: 79.02 kB / 0.8055 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.7752, allocations: 4 kB / 0.8055 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.7753, allocations: 3.953 kB / 0.8055 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.7753, allocations: 15.98 kB / 0.8055 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.7773, allocations: 0.8086 MB / 0.8063 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.7774, allocations: 0 / 0.8063 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/0.7788, allocations: 118.5 kB / 0.8064 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/0.7789, allocations: 4 kB / 0.8064 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.555e-05/0.779, allocations: 14.77 kB / 0.8064 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.779, allocations: 4 kB / 0.8064 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.779, allocations: 0 / 0.8064 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003796/0.7828, allocations: 1.184 MB / 0.8076 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004891/0.7834, allocations: 186.2 kB / 0.8078 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.7835, allocations: 20.12 kB / 0.8078 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.7846, allocations: 66.83 kB / 0.8078 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.7848, allocations: 39.5 kB / 0.8079 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/0.7849, allocations: 11.19 kB / 0.8079 GB, free: 8.715 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001105/0.786, allocations: 424.9 kB / 0.8083 GB, free: 8.391 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7861, allocations: 0 / 0.8083 GB, free: 8.391 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001265/0.7873, allocations: 195.9 kB / 0.8085 GB, free: 8.223 MB / 394.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.0002509/0.7876, allocations: 127.2 kB / 0.8086 GB, free: 8.094 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003831/0.7915, allocations: 0.9699 MB / 0.8096 GB, free: 7.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.964e-06/0.7915, allocations: 0 / 0.8096 GB, free: 7.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.7928, allocations: 307.7 kB / 0.8098 GB, free: 7.105 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.7946, allocations: 158.3 kB / 0.81 GB, free: 6.992 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/0.799, allocations: 1.636 MB / 0.8116 GB, free: 5.441 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/0.7997, allocations: 0.9451 MB / 0.8125 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001032/0.8008, allocations: 140.5 kB / 0.8127 GB, free: 4.336 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/0.8011, allocations: 42.56 kB / 0.8127 GB, free: 4.297 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.8011, allocations: 0 / 0.8127 GB, free: 4.297 MB / 394.7 MB Notification: Performance of Templates: time 0.02167/0.8228, allocations: 6.313 MB / 0.8189 GB, free: 14.05 MB / 410.7 MB