Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001617/0.001617, allocations: 171.5 kB / 7.638 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.538/1.538, allocations: 170.7 MB / 178.7 MB, free: 15.58 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.00189/0.00189, allocations: 107.5 kB / 218 MB, free: 8.344 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.2087/0.2087, allocations: 37.97 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.149e-05/2.151e-05, allocations: 2.562 kB / 350 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09919/0.09923, allocations: 48.71 MB / 398.7 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4074/0.5067, allocations: 83.08 MB / 481.8 MB, free: 17.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.5069, allocations: 64.86 kB / 481.9 MB, free: 17.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07511/0.5821, allocations: 27.82 MB / 0.4977 GB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5821, allocations: 0 / 0.4977 GB, free: 11.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.565e-05/0.5822, allocations: 19.91 kB / 0.4978 GB, free: 11.69 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.002091/0.5843, allocations: 0.9271 MB / 0.4987 GB, free: 11.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.5844, allocations: 11.12 kB / 0.4987 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.5847, allocations: 81.16 kB / 0.4987 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.5858, allocations: 0.5296 MB / 0.4993 GB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/0.5859, allocations: 11.5 kB / 0.4993 GB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.586, allocations: 41.95 kB / 0.4993 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005632/0.5866, allocations: 310 kB / 0.4996 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.5873, allocations: 437.5 kB / 0.5 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.5873, allocations: 7.812 kB / 0.5 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.5874, allocations: 3.953 kB / 0.5 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.5874, allocations: 7.781 kB / 0.5 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003174/0.5906, allocations: 1.889 MB / 0.5019 GB, free: 9.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.5913, allocations: 444.7 kB / 0.5023 GB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.5915, allocations: 189.4 kB / 0.5025 GB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-05/0.5916, allocations: 3.875 kB / 0.5025 GB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.5916, allocations: 37.59 kB / 0.5025 GB, free: 9.156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.154e-06/0.5917, allocations: 3.875 kB / 0.5025 GB, free: 9.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.001178/0.5928, allocations: 0.726 MB / 0.5032 GB, free: 8.812 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.5929, allocations: 165.8 kB / 0.5034 GB, free: 8.625 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.5934, allocations: 450.1 kB / 0.5038 GB, free: 8.465 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.5934, allocations: 25.7 kB / 0.5039 GB, free: 8.434 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.5936, allocations: 323.6 kB / 0.5042 GB, free: 8.273 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.5937, allocations: 162.7 kB / 0.5043 GB, free: 8.152 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.5937, allocations: 0 / 0.5043 GB, free: 8.152 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5938, allocations: 382.8 kB / 0.5047 GB, free: 7.812 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.5941, allocations: 193.1 kB / 0.5049 GB, free: 7.797 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.5944, allocations: 295.5 kB / 0.5052 GB, free: 7.652 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.5947, allocations: 227.9 kB / 0.5054 GB, free: 7.609 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5948, allocations: 0 / 0.5054 GB, free: 7.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.000758/0.5955, allocations: 0.5604 MB / 0.5059 GB, free: 7.469 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.5955, allocations: 7.75 kB / 0.5059 GB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.52e-05/0.5956, allocations: 3.938 kB / 0.5059 GB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.5956, allocations: 7.844 kB / 0.5059 GB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/0.5962, allocations: 144.3 kB / 0.5061 GB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.5962, allocations: 7.812 kB / 0.5061 GB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000517/0.5968, allocations: 90.22 kB / 0.5062 GB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/0.5968, allocations: 22.44 kB / 0.5062 GB, free: 7.391 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.0001121/0.5969, allocations: 112.8 kB / 0.5063 GB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.5971, allocations: 70.16 kB / 0.5064 GB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.5972, allocations: 75.42 kB / 0.5064 GB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5972, allocations: 3.875 kB / 0.5064 GB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.5973, allocations: 0 / 0.5064 GB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5973, allocations: 7.984 kB / 0.5064 GB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009273/0.5982, allocations: 0.7265 MB / 0.5072 GB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5982, allocations: 3.875 kB / 0.5072 GB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/0.5988, allocations: 116.3 kB / 0.5073 GB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-06/0.5989, allocations: 3.969 kB / 0.5073 GB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.5989, allocations: 11.33 kB / 0.5073 GB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.5989, allocations: 3.875 kB / 0.5073 GB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5989, allocations: 0 / 0.5073 GB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.6, allocations: 0.932 MB / 0.5082 GB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.6002, allocations: 193.9 kB / 0.5084 GB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-05/0.6003, allocations: 7.75 kB / 0.5084 GB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005617/0.6009, allocations: 62.39 kB / 0.5085 GB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.601, allocations: 34.77 kB / 0.5085 GB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.6011, allocations: 19.25 kB / 0.5085 GB, free: 6.133 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003512/0.6014, allocations: 350 kB / 0.5088 GB, free: 6.016 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6014, allocations: 0 / 0.5088 GB, free: 6.016 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005438/0.602, allocations: 103.4 kB / 0.5089 GB, free: 6.012 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.0001672/0.6021, allocations: 118.2 kB / 0.509 GB, free: 5.902 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000684/0.6028, allocations: 432 kB / 0.5095 GB, free: 5.863 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6029, allocations: 3.938 kB / 0.5095 GB, free: 5.859 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.6031, allocations: 208 kB / 0.5097 GB, free: 5.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008429/0.604, allocations: 152 kB / 0.5098 GB, free: 5.789 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.6059, allocations: 1.113 MB / 0.5109 GB, free: 5.227 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/0.6064, allocations: 0.9445 MB / 0.5118 GB, free: 20.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004052/0.6069, allocations: 110.5 kB / 0.5119 GB, free: 20.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.607, allocations: 42.25 kB / 0.512 GB, free: 20.36 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.607, allocations: 0 / 0.512 GB, free: 20.36 MB / 346.7 MB Notification: Performance of Templates: time 0.0103/0.6173, allocations: 5.668 MB / 0.5175 GB, free: 17.59 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1)