Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007267/0.007267, allocations: 174.1 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.51/1.51, allocations: 194.5 MB / 210.3 MB, free: 7.531 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001645/0.001646, allocations: 120.6 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1897/0.1897, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004153, allocations: 9.844 kB / 406.1 MB, free: 51.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1257, allocations: 54.88 MB / 461 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4377/0.5634, allocations: 90.15 MB / 0.5382 GB, free: 21.87 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/0.5638, allocations: 71.33 kB / 0.5383 GB, free: 21.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07773/0.6416, allocations: 27.65 MB / 0.5653 GB, free: 18.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6416, allocations: 3.938 kB / 0.5653 GB, free: 18.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.657e-05/0.6417, allocations: 27.28 kB / 0.5653 GB, free: 18.22 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.002157/0.6439, allocations: 1.041 MB / 0.5664 GB, free: 17.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.6439, allocations: 7.781 kB / 0.5664 GB, free: 17.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.6441, allocations: 85.78 kB / 0.5664 GB, free: 17.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.6453, allocations: 0.5699 MB / 0.567 GB, free: 17.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.6453, allocations: 35.31 kB / 0.567 GB, free: 17.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.528e-05/0.6454, allocations: 49.06 kB / 0.5671 GB, free: 17.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009332/0.6463, allocations: 0.5433 MB / 0.5676 GB, free: 16.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.6464, allocations: 3.906 kB / 0.5676 GB, free: 16.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.579e-05/0.6464, allocations: 14.38 kB / 0.5676 GB, free: 16.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.6465, allocations: 11.62 kB / 0.5676 GB, free: 16.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008993/0.6474, allocations: 457.5 kB / 0.5681 GB, free: 16.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.6503, allocations: 1.917 MB / 0.57 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009191/0.6512, allocations: 0.5167 MB / 0.5705 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.6513, allocations: 8.328 kB / 0.5705 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.6513, allocations: 46.22 kB / 0.5705 GB, free: 15.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 2.916e-06/0.6513, allocations: 0 / 0.5705 GB, free: 15.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.002185/0.6535, allocations: 1.135 MB / 0.5716 GB, free: 14.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.6536, allocations: 114.6 kB / 0.5717 GB, free: 14.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/0.6542, allocations: 0.5107 MB / 0.5722 GB, free: 14.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.6543, allocations: 40.95 kB / 0.5723 GB, free: 14.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.6545, allocations: 326.2 kB / 0.5726 GB, free: 14.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.6546, allocations: 169.8 kB / 0.5727 GB, free: 14.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.6546, allocations: 10.38 kB / 0.5727 GB, free: 14.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6548, allocations: 378.1 kB / 0.5731 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005257/0.6553, allocations: 276 kB / 0.5734 GB, free: 13.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000551/0.6559, allocations: 368.6 kB / 0.5737 GB, free: 13.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/0.6564, allocations: 301.3 kB / 0.574 GB, free: 13.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6564, allocations: 0 / 0.574 GB, free: 13.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001339/0.6578, allocations: 0.7753 MB / 0.5748 GB, free: 13.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002301/0.658, allocations: 1.049 MB / 0.5758 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.658, allocations: 3.906 kB / 0.5758 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.6581, allocations: 11.78 kB / 0.5758 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009064/0.659, allocations: 190.7 kB / 0.576 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.659, allocations: 7.906 kB / 0.576 GB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.6595, allocations: 85.91 kB / 0.5761 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.6595, allocations: 22.31 kB / 0.5761 GB, free: 12.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.552e-06/0.6595, allocations: 7.906 kB / 0.5761 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001186/0.6607, allocations: 0.6763 MB / 0.5768 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.6608, allocations: 3.844 kB / 0.5768 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.558e-06/0.6608, allocations: 3.906 kB / 0.5768 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/0.6616, allocations: 189.7 kB / 0.577 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.6616, allocations: 7.812 kB / 0.577 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004293/0.662, allocations: 89.12 kB / 0.577 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.6621, allocations: 22.81 kB / 0.5771 GB, free: 12.17 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.000262/0.6623, allocations: 282.2 kB / 0.5773 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.6625, allocations: 66.09 kB / 0.5774 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.6626, allocations: 83.95 kB / 0.5775 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.6626, allocations: 7.75 kB / 0.5775 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.6627, allocations: 0 / 0.5775 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.6627, allocations: 3.984 kB / 0.5775 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.6643, allocations: 1.229 MB / 0.5787 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.6643, allocations: 0 / 0.5787 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/0.6649, allocations: 108.2 kB / 0.5788 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.665, allocations: 4.031 kB / 0.5788 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.665, allocations: 26.3 kB / 0.5788 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.665, allocations: 0 / 0.5788 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.665, allocations: 11.77 kB / 0.5788 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.6667, allocations: 1.216 MB / 0.58 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.6669, allocations: 186 kB / 0.5802 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.4e-05/0.667, allocations: 14.69 kB / 0.5802 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005077/0.6675, allocations: 61.84 kB / 0.5803 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.6676, allocations: 38.25 kB / 0.5803 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.6676, allocations: 15.22 kB / 0.5803 GB, free: 10.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004993/0.6682, allocations: 427.1 kB / 0.5807 GB, free: 10.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6682, allocations: 0 / 0.5807 GB, free: 10.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007829/0.6689, allocations: 225.3 kB / 0.5809 GB, free: 10.31 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.000312/0.6693, allocations: 152.4 kB / 0.5811 GB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.671, allocations: 0.9664 MB / 0.582 GB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.671, allocations: 0 / 0.582 GB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005253/0.6715, allocations: 313.2 kB / 0.5823 GB, free: 9.949 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007675/0.6723, allocations: 167 kB / 0.5825 GB, free: 9.898 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.6744, allocations: 1.62 MB / 0.5841 GB, free: 8.922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.6748, allocations: 0.9441 MB / 0.585 GB, free: 8.105 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000481/0.6752, allocations: 146.1 kB / 0.5851 GB, free: 8.039 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.6754, allocations: 45.94 kB / 0.5852 GB, free: 8.031 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6754, allocations: 0 / 0.5852 GB, free: 8.031 MB / 378.7 MB Notification: Performance of Templates: time 0.01244/0.6879, allocations: 6.969 MB / 0.592 GB, free: 4.664 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)