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.001118/0.001118, allocations: 170 kB / 12.72 MB, free: 2.594 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.306/1.306, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001906/0.001906, allocations: 106.7 kB / 223.2 MB, free: 4.113 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.1747/0.1747, allocations: 38 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.134e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08993/0.08998, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3666/0.4566, allocations: 83.83 MB / 489.5 MB, free: 18.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.4568, allocations: 63.48 kB / 489.6 MB, free: 18.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07738/0.5342, allocations: 29.33 MB / 0.5068 GB, free: 9.219 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5343, allocations: 0 / 0.5068 GB, free: 9.219 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.951e-05/0.5343, allocations: 15.94 kB / 0.5068 GB, free: 9.215 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.001611/0.5359, allocations: 0.9329 MB / 0.5077 GB, free: 8.543 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.536, allocations: 7.844 kB / 0.5077 GB, free: 8.543 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.5361, allocations: 93.55 kB / 0.5078 GB, free: 8.496 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.5372, allocations: 0.5542 MB / 0.5083 GB, free: 8.117 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.5372, allocations: 30.28 kB / 0.5084 GB, free: 8.117 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.234e-05/0.5373, allocations: 49.12 kB / 0.5084 GB, free: 8.117 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006595/0.538, allocations: 488.8 kB / 0.5089 GB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.538, allocations: 3.906 kB / 0.5089 GB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-05/0.5381, allocations: 30.84 kB / 0.5089 GB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.5381, allocations: 11.69 kB / 0.5089 GB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005078/0.5386, allocations: 332.8 kB / 0.5092 GB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002785/0.5414, allocations: 1.924 MB / 0.5111 GB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005624/0.542, allocations: 427.3 kB / 0.5115 GB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.5422, allocations: 201.4 kB / 0.5117 GB, free: 6.633 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.5423, allocations: 7.891 kB / 0.5117 GB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.5423, allocations: 38.03 kB / 0.5117 GB, free: 6.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.994e-06/0.5423, allocations: 0 / 0.5117 GB, free: 6.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.001087/0.5434, allocations: 0.775 MB / 0.5125 GB, free: 6.238 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.5435, allocations: 106.6 kB / 0.5126 GB, free: 6.113 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004275/0.5439, allocations: 0.5036 MB / 0.5131 GB, free: 5.941 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.5439, allocations: 36.52 kB / 0.5131 GB, free: 5.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.5441, allocations: 315.2 kB / 0.5134 GB, free: 5.758 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.28e-05/0.5442, allocations: 173.6 kB / 0.5136 GB, free: 5.629 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.5442, allocations: 15.12 kB / 0.5136 GB, free: 5.625 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.5443, allocations: 386.7 kB / 0.514 GB, free: 5.285 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.5446, allocations: 196.3 kB / 0.5142 GB, free: 5.273 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.5449, allocations: 298.3 kB / 0.5145 GB, free: 5.148 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.5452, allocations: 225 kB / 0.5147 GB, free: 5.117 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5453, allocations: 4 kB / 0.5147 GB, free: 5.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007765/0.546, allocations: 0.6197 MB / 0.5153 GB, free: 4.965 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.5461, allocations: 7.688 kB / 0.5153 GB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.5461, allocations: 3.844 kB / 0.5153 GB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.5461, allocations: 3.875 kB / 0.5153 GB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008764/0.547, allocations: 192.8 kB / 0.5155 GB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.547, allocations: 11.41 kB / 0.5155 GB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004608/0.5475, allocations: 84.84 kB / 0.5156 GB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.5475, allocations: 18.62 kB / 0.5156 GB, free: 4.883 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 (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 9.742e-05/0.5476, allocations: 139 kB / 0.5157 GB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.5478, allocations: 65.81 kB / 0.5158 GB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.5479, allocations: 93.72 kB / 0.5159 GB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5479, allocations: 3.875 kB / 0.5159 GB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.548, allocations: 0 / 0.5159 GB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.548, allocations: 3.812 kB / 0.5159 GB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.5493, allocations: 1.161 MB / 0.517 GB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.5493, allocations: 3.875 kB / 0.517 GB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005925/0.5499, allocations: 117.4 kB / 0.5171 GB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.5499, allocations: 7.812 kB / 0.5171 GB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.55, allocations: 15 kB / 0.5172 GB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.55, allocations: 3.984 kB / 0.5172 GB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.55, allocations: 3.938 kB / 0.5172 GB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009623/0.551, allocations: 1.014 MB / 0.5181 GB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.5512, allocations: 201 kB / 0.5183 GB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.962e-05/0.5513, allocations: 14.91 kB / 0.5184 GB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00052/0.5518, allocations: 54.19 kB / 0.5184 GB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.5519, allocations: 46.31 kB / 0.5184 GB, free: 3.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.552, allocations: 7.75 kB / 0.5185 GB, free: 3.359 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003406/0.5523, allocations: 400.1 kB / 0.5188 GB, free: 3.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5523, allocations: 0 / 0.5188 GB, free: 3.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000528/0.5529, allocations: 142.3 kB / 0.519 GB, free: 3.219 MB / 330.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 () * 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.0002915/0.5532, allocations: 157.1 kB / 0.5191 GB, free: 3.098 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006651/0.5538, allocations: 468.3 kB / 0.5196 GB, free: 3.055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5538, allocations: 0 / 0.5196 GB, free: 3.055 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.5542, allocations: 229.6 kB / 0.5198 GB, free: 3.031 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007697/0.5549, allocations: 158.9 kB / 0.5199 GB, free: 2.953 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.5566, allocations: 1.164 MB / 0.5211 GB, free: 1.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.5569, allocations: 0.9448 MB / 0.522 GB, free: 0.9102 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000336/0.5572, allocations: 108.5 kB / 0.5221 GB, free: 0.8008 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.5574, allocations: 43.19 kB / 0.5221 GB, free: 0.7617 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5574, allocations: 0 / 0.5221 GB, free: 0.7617 MB / 330.7 MB Notification: Performance of Templates: time 0.01242/0.5698, allocations: 6.749 MB / 0.5287 GB, free: 10.05 MB / 346.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)