Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009123/0.009123, allocations: 165 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.298/1.298, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001613/0.001613, allocations: 109.7 kB / 226.2 MB, free: 10.11 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.3524/0.3524, allocations: 38.04 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004775, allocations: 8 kB / 362.9 MB, free: 5.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1111, allocations: 48.7 MB / 411.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3046/0.4158, allocations: 83.93 MB / 495.5 MB, free: 3.863 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001722/0.416, allocations: 68.59 kB / 495.6 MB, free: 3.828 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08512/0.5012, allocations: 29.36 MB / 0.5126 GB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5012, allocations: 0 / 0.5126 GB, free: 10.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001348/0.5014, allocations: 20.44 kB / 0.5126 GB, free: 10.94 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.003333/0.5047, allocations: 1.07 MB / 0.5137 GB, free: 9.871 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.5048, allocations: 12.03 kB / 0.5137 GB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003736/0.5052, allocations: 79.06 kB / 0.5138 GB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.5069, allocations: 0.5812 MB / 0.5143 GB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.764e-05/0.507, allocations: 33.88 kB / 0.5144 GB, free: 9.203 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.5072, allocations: 50.75 kB / 0.5144 GB, free: 9.172 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.5084, allocations: 0.5473 MB / 0.515 GB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.5084, allocations: 0 / 0.515 GB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-05/0.5085, allocations: 21.89 kB / 0.515 GB, free: 8.715 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.5085, allocations: 8 kB / 0.515 GB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.5096, allocations: 458.2 kB / 0.5154 GB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003787/0.5134, allocations: 1.921 MB / 0.5173 GB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.5145, allocations: 0.5173 MB / 0.5178 GB, free: 6.301 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-05/0.5146, allocations: 13.38 kB / 0.5178 GB, free: 6.289 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.5146, allocations: 33.66 kB / 0.5179 GB, free: 6.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 1.974e-06/0.5146, allocations: 3.938 kB / 0.5179 GB, free: 6.246 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.002591/0.5172, allocations: 1.138 MB / 0.519 GB, free: 5.121 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.5173, allocations: 118.8 kB / 0.5191 GB, free: 4.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008108/0.5181, allocations: 0.5229 MB / 0.5196 GB, free: 4.453 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/0.5182, allocations: 33.7 kB / 0.5196 GB, free: 4.414 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.5184, allocations: 320.4 kB / 0.5199 GB, free: 4.098 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.5186, allocations: 176.3 kB / 0.5201 GB, free: 3.926 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.5187, allocations: 12 kB / 0.5201 GB, free: 3.914 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.5189, allocations: 390.7 kB / 0.5205 GB, free: 3.523 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006316/0.5195, allocations: 273 kB / 0.5207 GB, free: 3.258 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006674/0.5202, allocations: 369.1 kB / 0.5211 GB, free: 2.859 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006538/0.5208, allocations: 303.7 kB / 0.5214 GB, free: 2.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5208, allocations: 0 / 0.5214 GB, free: 2.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001578/0.5224, allocations: 0.7699 MB / 0.5221 GB, free: 1.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.5225, allocations: 7.938 kB / 0.5221 GB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.5225, allocations: 4 kB / 0.5221 GB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.5225, allocations: 4 kB / 0.5221 GB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009753/0.5235, allocations: 196 kB / 0.5223 GB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.5235, allocations: 4 kB / 0.5223 GB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/0.524, allocations: 83.62 kB / 0.5224 GB, free: 1.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/0.5241, allocations: 23.98 kB / 0.5224 GB, free: 1.477 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 (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.0002906/0.5244, allocations: 202.7 kB / 0.5226 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.5246, allocations: 67.16 kB / 0.5227 GB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.5247, allocations: 85.64 kB / 0.5228 GB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.5248, allocations: 4 kB / 0.5228 GB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5248, allocations: 4 kB / 0.5228 GB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.5248, allocations: 3.984 kB / 0.5228 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.5269, allocations: 1.229 MB / 0.524 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.5269, allocations: 4 kB / 0.524 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006921/0.5276, allocations: 119.9 kB / 0.5241 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.5276, allocations: 4 kB / 0.5241 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/0.5277, allocations: 12 kB / 0.5241 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.5277, allocations: 0 / 0.5241 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.5277, allocations: 7.938 kB / 0.5241 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.5298, allocations: 1.219 MB / 0.5253 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.5301, allocations: 196.2 kB / 0.5255 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.852e-05/0.5302, allocations: 13.48 kB / 0.5255 GB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005455/0.5307, allocations: 59.95 kB / 0.5256 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.5309, allocations: 39.88 kB / 0.5256 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.5309, allocations: 15.98 kB / 0.5256 GB, free: 14.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006204/0.5315, allocations: 427 kB / 0.526 GB, free: 13.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5316, allocations: 0 / 0.526 GB, free: 13.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006326/0.5322, allocations: 143.9 kB / 0.5262 GB, free: 13.5 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.0003487/0.5326, allocations: 160.1 kB / 0.5263 GB, free: 13.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.534, allocations: 0.6057 MB / 0.5269 GB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.534, allocations: 0 / 0.5269 GB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006674/0.5347, allocations: 307.2 kB / 0.5272 GB, free: 12.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008208/0.5355, allocations: 156.7 kB / 0.5274 GB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.5382, allocations: 1.643 MB / 0.529 GB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/0.5389, allocations: 0.945 MB / 0.5299 GB, free: 9.637 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004692/0.5394, allocations: 100.6 kB / 0.53 GB, free: 9.535 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.5396, allocations: 51.42 kB / 0.53 GB, free: 9.484 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.5396, allocations: 0 / 0.53 GB, free: 9.484 MB / 378.7 MB Notification: Performance of Templates: time 0.01305/0.5526, allocations: 6.746 MB / 0.5366 GB, free: 2.801 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)