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: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01441/0.01441, allocations: 165 kB / 15.11 MB, free: 6 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 1.796/1.796, allocations: 170.8 MB / 186.6 MB, free: 1.016 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001989/0.001989, allocations: 110.5 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4396/0.4396, allocations: 38.06 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004586, allocations: 16 kB / 363 MB, free: 5.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1014, allocations: 48.7 MB / 411.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4071/0.5085, allocations: 83.7 MB / 495.4 MB, free: 4.113 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.5088, allocations: 65.41 kB / 495.4 MB, free: 4.082 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09866/0.6075, allocations: 20.02 MB / 0.5034 GB, free: 3.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6076, allocations: 4 kB / 0.5034 GB, free: 3.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.022e-05/0.6076, allocations: 16 kB / 0.5034 GB, free: 3.105 MB / 346.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.003889/0.6115, allocations: 1.056 MB / 0.5044 GB, free: 2.043 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.6116, allocations: 12.03 kB / 0.5044 GB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002534/0.6119, allocations: 78.34 kB / 0.5045 GB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/0.6121, allocations: 86.33 kB / 0.5046 GB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.6141, allocations: 0.5693 MB / 0.5052 GB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.6142, allocations: 30.88 kB / 0.5052 GB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.6143, allocations: 52.97 kB / 0.5052 GB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.6161, allocations: 0.5583 MB / 0.5058 GB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.6161, allocations: 0 / 0.5058 GB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.897e-05/0.6162, allocations: 22.14 kB / 0.5058 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.6163, allocations: 12 kB / 0.5058 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.6182, allocations: 468.9 kB / 0.5063 GB, free: 484 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005929/0.6242, allocations: 1.936 MB / 0.5082 GB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.6264, allocations: 0.5806 MB / 0.5087 GB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.943e-05/0.6266, allocations: 4.469 kB / 0.5087 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.6266, allocations: 49.59 kB / 0.5088 GB, free: 14.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.126e-06/0.6266, allocations: 0 / 0.5088 GB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.004465/0.6311, allocations: 1.16 MB / 0.5099 GB, free: 13.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.6313, allocations: 165.7 kB / 0.5101 GB, free: 13.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.6325, allocations: 0.5241 MB / 0.5106 GB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.638e-05/0.6326, allocations: 38.45 kB / 0.5106 GB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.6329, allocations: 327.7 kB / 0.5109 GB, free: 12.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.6331, allocations: 168.6 kB / 0.5111 GB, free: 12.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/0.6332, allocations: 10.12 kB / 0.5111 GB, free: 12.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002457/0.6335, allocations: 383.2 kB / 0.5115 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.6346, allocations: 264.5 kB / 0.5117 GB, free: 11.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.6358, allocations: 394.2 kB / 0.5121 GB, free: 11.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.637, allocations: 296.4 kB / 0.5124 GB, free: 11.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.637, allocations: 4 kB / 0.5124 GB, free: 11.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002962/0.64, allocations: 0.8036 MB / 0.5132 GB, free: 10.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.6401, allocations: 4 kB / 0.5132 GB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.6401, allocations: 4 kB / 0.5132 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003355/0.6404, allocations: 60.97 kB / 0.5132 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.6422, allocations: 194.3 kB / 0.5134 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.6442, allocations: 1.5 MB / 0.5149 GB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.6453, allocations: 99.48 kB / 0.515 GB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/0.6454, allocations: 18.94 kB / 0.515 GB, free: 8.664 MB / 362.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.0004654/0.6458, allocations: 201.2 kB / 0.5152 GB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.6461, allocations: 70.91 kB / 0.5152 GB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.6463, allocations: 83.19 kB / 0.5153 GB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.6463, allocations: 8 kB / 0.5153 GB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.6464, allocations: 0 / 0.5153 GB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.6464, allocations: 0 / 0.5153 GB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.6483, allocations: 0.8327 MB / 0.5161 GB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.6484, allocations: 0 / 0.5161 GB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.6497, allocations: 111 kB / 0.5163 GB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.6497, allocations: 8 kB / 0.5163 GB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.578e-05/0.6498, allocations: 11.38 kB / 0.5163 GB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.365e-06/0.6498, allocations: 4 kB / 0.5163 GB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.6498, allocations: 0 / 0.5163 GB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003701/0.6536, allocations: 1.216 MB / 0.5175 GB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004043/0.654, allocations: 192.3 kB / 0.5176 GB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.6541, allocations: 12 kB / 0.5177 GB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.6552, allocations: 67.89 kB / 0.5177 GB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.6554, allocations: 39.94 kB / 0.5178 GB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.978e-05/0.6555, allocations: 12.64 kB / 0.5178 GB, free: 6.051 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001059/0.6565, allocations: 435 kB / 0.5182 GB, free: 5.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6566, allocations: 0 / 0.5182 GB, free: 5.629 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008129/0.6574, allocations: 119.9 kB / 0.5183 GB, free: 5.512 MB / 362.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.00427/0.6617, allocations: 1.908 MB / 0.5202 GB, free: 3.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00283/0.6645, allocations: 0.7297 MB / 0.5209 GB, free: 2.832 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6646, allocations: 0 / 0.5209 GB, free: 2.832 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.6657, allocations: 311.6 kB / 0.5212 GB, free: 2.527 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.6671, allocations: 152.7 kB / 0.5213 GB, free: 2.379 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/0.6807, allocations: 6.22 MB / 0.5274 GB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007349/0.6815, allocations: 0.945 MB / 0.5283 GB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007257/0.6823, allocations: 96.5 kB / 0.5284 GB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005839/0.6828, allocations: 239.3 kB / 0.5286 GB, free: 10.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6829, allocations: 0 / 0.5286 GB, free: 10.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/0.7913, allocations: 13.07 MB / 0.5414 GB, free: 13.76 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002846/0.7917, allocations: 195.5 kB / 0.5416 GB, free: 13.52 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.976/3.768, allocations: 4 kB / 0.5416 GB, free: 13.51 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat