Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00151/0.00151, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.502/1.502, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001712/0.001712, allocations: 103.5 kB / 218 MB, free: 8.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2193/0.2193, allocations: 37.98 MB / 295.1 MB, free: 9.484 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.125e-05, allocations: 2.031 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 48.72 MB / 398.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4061/0.5175, allocations: 82.68 MB / 481.4 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003977/0.5181, allocations: 67.44 kB / 481.5 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04059/0.5587, allocations: 14.5 MB / 496 MB, free: 16.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.5587, allocations: 0 / 496 MB, free: 16.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.963e-05/0.5588, allocations: 27.31 kB / 496 MB, free: 16.67 MB / 330.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.002022/0.5609, allocations: 0.9036 MB / 496.9 MB, free: 16.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/0.5609, allocations: 11.72 kB / 496.9 MB, free: 16.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.5612, allocations: 96.83 kB / 497 MB, free: 16.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.5624, allocations: 0.5371 MB / 497.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.5624, allocations: 11 kB / 497.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.993e-05/0.5625, allocations: 34.72 kB / 497.6 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006465/0.5632, allocations: 314.3 kB / 497.9 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006562/0.5638, allocations: 436.9 kB / 498.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.5639, allocations: 3.938 kB / 498.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.5639, allocations: 0 / 498.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.5639, allocations: 11.47 kB / 498.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003025/0.567, allocations: 1.884 MB / 0.4885 GB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.5677, allocations: 461.1 kB / 0.4889 GB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.568, allocations: 178.1 kB / 0.4891 GB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.155e-05/0.5681, allocations: 9.531 kB / 0.4891 GB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.5681, allocations: 44.05 kB / 0.4892 GB, free: 14.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.943e-06/0.5681, allocations: 1.75 kB / 0.4892 GB, free: 14.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.001252/0.5694, allocations: 0.7303 MB / 0.4899 GB, free: 14.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.5695, allocations: 158.1 kB / 0.49 GB, free: 13.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005165/0.57, allocations: 462.4 kB / 0.4905 GB, free: 13.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.57, allocations: 26.55 kB / 0.4905 GB, free: 13.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.5702, allocations: 323 kB / 0.4908 GB, free: 13.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.5704, allocations: 162.1 kB / 0.4909 GB, free: 13.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.5704, allocations: 0 / 0.4909 GB, free: 13.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5706, allocations: 375.1 kB / 0.4913 GB, free: 13.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.5708, allocations: 187 kB / 0.4915 GB, free: 13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.5711, allocations: 298.5 kB / 0.4918 GB, free: 12.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.5715, allocations: 219.8 kB / 0.492 GB, free: 12.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5715, allocations: 0 / 0.492 GB, free: 12.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0007463/0.5722, allocations: 0.5674 MB / 0.4925 GB, free: 12.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.5723, allocations: 10.56 kB / 0.4925 GB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.5723, allocations: 0 / 0.4925 GB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/0.5723, allocations: 7.75 kB / 0.4925 GB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006051/0.5729, allocations: 144.2 kB / 0.4927 GB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.5729, allocations: 19.67 kB / 0.4927 GB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.5734, allocations: 74.25 kB / 0.4928 GB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.607e-05/0.5735, allocations: 22.78 kB / 0.4928 GB, free: 12.6 MB / 330.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 () * 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.0001442/0.5737, allocations: 116.8 kB / 0.4929 GB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.5738, allocations: 70.14 kB / 0.493 GB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.574, allocations: 75.95 kB / 0.493 GB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.5741, allocations: 3.781 kB / 0.4931 GB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.5741, allocations: 0 / 0.4931 GB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.5741, allocations: 7.953 kB / 0.4931 GB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009029/0.575, allocations: 0.7156 MB / 0.4938 GB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.575, allocations: 3 kB / 0.4938 GB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006096/0.5756, allocations: 113.8 kB / 0.4939 GB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.5757, allocations: 3.875 kB / 0.4939 GB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/0.5757, allocations: 11.3 kB / 0.4939 GB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5757, allocations: 15.75 kB / 0.4939 GB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5757, allocations: 0 / 0.4939 GB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009321/0.5767, allocations: 0.9361 MB / 0.4948 GB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.5769, allocations: 187.7 kB / 0.495 GB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.4e-05/0.5769, allocations: 15.86 kB / 0.495 GB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005357/0.5775, allocations: 54.31 kB / 0.4951 GB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.5776, allocations: 46.22 kB / 0.4951 GB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.5776, allocations: 11.28 kB / 0.4951 GB, free: 11.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003709/0.578, allocations: 353.9 kB / 0.4955 GB, free: 11.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.142e-06/0.578, allocations: 0 / 0.4955 GB, free: 11.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004999/0.5785, allocations: 99.66 kB / 0.4955 GB, free: 11.21 MB / 330.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 () * 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.0001781/0.5787, allocations: 114.3 kB / 0.4957 GB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006757/0.5794, allocations: 445 kB / 0.4961 GB, free: 11.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5794, allocations: 0 / 0.4961 GB, free: 11.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.5797, allocations: 207.8 kB / 0.4963 GB, free: 11.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008442/0.5806, allocations: 157.7 kB / 0.4964 GB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.5825, allocations: 1.107 MB / 0.4975 GB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007757/0.5833, allocations: 0.9442 MB / 0.4984 GB, free: 25.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003773/0.5836, allocations: 102.8 kB / 0.4985 GB, free: 25.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.5838, allocations: 42 kB / 0.4986 GB, free: 25.56 MB / 346.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5838, allocations: 0 / 0.4986 GB, free: 25.56 MB / 346.7 MB Notification: Performance of Templates: time 0.009749/0.5936, allocations: 5.659 MB / 0.5041 GB, free: 22.8 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe 2>&1)