Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.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_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.1_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002776/0.002781, allocations: 349.6 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.767/3.767, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003522/0.003522, allocations: 230.1 kB / 397.9 MB, free: 4.887 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.516/0.516, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007115/0.0007117, allocations: 8 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09098/0.09173, allocations: 48.71 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4978/0.5896, allocations: 83.7 MB / 0.6885 GB, free: 29.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/0.59, allocations: 67.97 kB / 0.6885 GB, free: 28.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1436/0.7336, allocations: 20.02 MB / 0.7081 GB, free: 9.297 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.7337, allocations: 0 / 0.7081 GB, free: 9.297 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.267e-05/0.7338, allocations: 20 kB / 0.7081 GB, free: 9.277 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.003453/0.7372, allocations: 1.064 MB / 0.7091 GB, free: 8.164 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.7373, allocations: 8.031 kB / 0.7091 GB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000358/0.7377, allocations: 87.02 kB / 0.7092 GB, free: 8.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.7395, allocations: 0.5585 MB / 0.7098 GB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-05/0.7396, allocations: 33 kB / 0.7098 GB, free: 7.445 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.7398, allocations: 55.89 kB / 0.7099 GB, free: 7.391 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.7414, allocations: 0.5625 MB / 0.7104 GB, free: 6.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.7415, allocations: 0 / 0.7104 GB, free: 6.797 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.573e-05/0.7416, allocations: 23.42 kB / 0.7104 GB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.7416, allocations: 8 kB / 0.7104 GB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.7434, allocations: 477.8 kB / 0.7109 GB, free: 6.305 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005048/0.7485, allocations: 1.929 MB / 0.7128 GB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.7506, allocations: 0.5784 MB / 0.7133 GB, free: 3.695 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009418/0.7516, allocations: 275.9 kB / 0.7136 GB, free: 3.418 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-05/0.7517, allocations: 4 kB / 0.7136 GB, free: 3.414 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.7517, allocations: 38.59 kB / 0.7136 GB, free: 3.367 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.956e-06/0.7517, allocations: 4 kB / 0.7136 GB, free: 3.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.003979/0.7557, allocations: 1.151 MB / 0.7148 GB, free: 2.203 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/0.7558, allocations: 166.2 kB / 0.7149 GB, free: 2.004 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.757, allocations: 0.5941 MB / 0.7155 GB, free: 1.406 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.829e-05/0.7571, allocations: 37.7 kB / 0.7155 GB, free: 1.363 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.7574, allocations: 332.3 kB / 0.7159 GB, free: 1.035 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.7575, allocations: 169.5 kB / 0.716 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.7576, allocations: 12 kB / 0.716 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7577, allocations: 374.8 kB / 0.7164 GB, free: 492 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.7587, allocations: 273 kB / 0.7167 GB, free: 220 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.7599, allocations: 394.4 kB / 0.717 GB, free: 15.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.7612, allocations: 301.2 kB / 0.7173 GB, free: 15.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.7612, allocations: 3.953 kB / 0.7173 GB, free: 15.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00319/0.7644, allocations: 0.7973 MB / 0.7181 GB, free: 14.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.7645, allocations: 8 kB / 0.7181 GB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.7645, allocations: 4.281 kB / 0.7181 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003505/0.7649, allocations: 59.75 kB / 0.7182 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.7668, allocations: 199.8 kB / 0.7184 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.769, allocations: 1.5 MB / 0.7198 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.7703, allocations: 83.62 kB / 0.7199 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.898e-05/0.7704, allocations: 24.09 kB / 0.7199 GB, free: 12.69 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 (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.0005335/0.771, allocations: 203.7 kB / 0.7201 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.7712, allocations: 71.16 kB / 0.7202 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.7715, allocations: 81.64 kB / 0.7203 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.7715, allocations: 4 kB / 0.7203 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.7715, allocations: 0 / 0.7203 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.7715, allocations: 3.984 kB / 0.7203 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.7737, allocations: 0.8234 MB / 0.7211 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.7738, allocations: 0 / 0.7211 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/0.7752, allocations: 115.9 kB / 0.7212 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/0.7753, allocations: 4 kB / 0.7212 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.7754, allocations: 15.98 kB / 0.7212 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.936e-06/0.7754, allocations: 3.312 kB / 0.7212 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7754, allocations: 0 / 0.7212 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004003/0.7795, allocations: 1.192 MB / 0.7224 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005123/0.78, allocations: 192.3 kB / 0.7226 GB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.7802, allocations: 19.98 kB / 0.7226 GB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.7813, allocations: 63.94 kB / 0.7226 GB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.7815, allocations: 43.88 kB / 0.7227 GB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.7815, allocations: 8 kB / 0.7227 GB, free: 9.762 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001102/0.7827, allocations: 435 kB / 0.7231 GB, free: 9.344 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7827, allocations: 3.938 kB / 0.7231 GB, free: 9.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009595/0.7836, allocations: 120 kB / 0.7232 GB, free: 9.223 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.0002388/0.7839, allocations: 115.2 kB / 0.7233 GB, free: 9.102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003022/0.7869, allocations: 0.7289 MB / 0.724 GB, free: 8.363 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.787, allocations: 0 / 0.724 GB, free: 8.363 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.7883, allocations: 299.7 kB / 0.7243 GB, free: 8.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.7902, allocations: 166.5 kB / 0.7245 GB, free: 7.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/0.7947, allocations: 1.639 MB / 0.7261 GB, free: 6.242 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007623/0.7955, allocations: 0.9528 MB / 0.727 GB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007721/0.7963, allocations: 98.19 kB / 0.7271 GB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/0.7966, allocations: 39.44 kB / 0.7271 GB, free: 5.141 MB / 378.7 MB Notification: Performance of SimCode: time 1.392e-06/0.7967, allocations: 0 / 0.7271 GB, free: 5.141 MB / 378.7 MB Notification: Performance of Templates: time 0.02289/0.8196, allocations: 6.805 MB / 0.7338 GB, free: 14.48 MB / 394.7 MB