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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004249/0.004249, allocations: 175.8 kB / 7.451 MB, free: 2.504 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.442/1.442, allocations: 170.6 MB / 178.4 MB, free: 15.43 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.002023/0.002023, allocations: 112.5 kB / 217.7 MB, free: 8.18 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.1928/0.1928, allocations: 37.98 MB / 294.8 MB, free: 9.645 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.347e-06/9.378e-06, allocations: 1.281 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 48.7 MB / 398.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3626/0.4772, allocations: 83 MB / 481.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.4774, allocations: 64.53 kB / 481.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.07798/0.5554, allocations: 27.47 MB / 0.4968 GB, free: 7.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.744e-05/0.5556, allocations: 27.5 kB / 0.4968 GB, free: 7.105 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.002014/0.5576, allocations: 0.9207 MB / 0.4977 GB, free: 6.449 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.5576, allocations: 15.66 kB / 0.4978 GB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003345/0.558, allocations: 81.72 kB / 0.4978 GB, free: 6.406 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.5593, allocations: 0.533 MB / 0.4984 GB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.237e-05/0.5594, allocations: 15.06 kB / 0.4984 GB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.5595, allocations: 39.03 kB / 0.4984 GB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006114/0.5601, allocations: 317.1 kB / 0.4987 GB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006612/0.5608, allocations: 442.9 kB / 0.4991 GB, free: 5.844 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.5608, allocations: 0 / 0.4991 GB, free: 5.844 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.674e-05/0.5609, allocations: 11.91 kB / 0.4991 GB, free: 5.832 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.5609, allocations: 11.62 kB / 0.4991 GB, free: 5.832 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003046/0.5639, allocations: 1.855 MB / 0.501 GB, free: 4.762 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007079/0.5647, allocations: 441.3 kB / 0.5014 GB, free: 4.652 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.565, allocations: 184.6 kB / 0.5016 GB, free: 4.617 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.534e-05/0.565, allocations: 15.27 kB / 0.5016 GB, free: 4.613 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.5651, allocations: 33.69 kB / 0.5016 GB, free: 4.574 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.505e-06/0.5651, allocations: 0 / 0.5016 GB, free: 4.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.001286/0.5664, allocations: 0.7328 MB / 0.5023 GB, free: 4.238 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.5664, allocations: 158.1 kB / 0.5025 GB, free: 4.051 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/0.5669, allocations: 463.2 kB / 0.5029 GB, free: 3.891 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.567, allocations: 25.7 kB / 0.5029 GB, free: 3.859 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.813e-05/0.5671, allocations: 222.2 kB / 0.5031 GB, free: 3.695 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.5672, allocations: 169.1 kB / 0.5033 GB, free: 3.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.5673, allocations: 0 / 0.5033 GB, free: 3.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.5674, allocations: 385.3 kB / 0.5037 GB, free: 3.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.5676, allocations: 187.1 kB / 0.5039 GB, free: 3.215 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.568, allocations: 306.3 kB / 0.5041 GB, free: 3.074 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.5683, allocations: 230.1 kB / 0.5044 GB, free: 3.031 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5683, allocations: 0 / 0.5044 GB, free: 3.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008019/0.5691, allocations: 0.5668 MB / 0.5049 GB, free: 2.895 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.5692, allocations: 7.625 kB / 0.5049 GB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.5692, allocations: 3.875 kB / 0.5049 GB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.5692, allocations: 8.188 kB / 0.5049 GB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006744/0.5699, allocations: 153.7 kB / 0.5051 GB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.5699, allocations: 5.094 kB / 0.5051 GB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.5705, allocations: 82.66 kB / 0.5052 GB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/0.5706, allocations: 17.53 kB / 0.5052 GB, free: 2.82 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.0001362/0.5707, allocations: 123.5 kB / 0.5053 GB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.5709, allocations: 66.88 kB / 0.5054 GB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.5711, allocations: 70.98 kB / 0.5054 GB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.5711, allocations: 5.25 kB / 0.5054 GB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.5711, allocations: 1.281 kB / 0.5054 GB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.5711, allocations: 5.344 kB / 0.5054 GB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.5722, allocations: 0.7352 MB / 0.5062 GB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5722, allocations: 4 kB / 0.5062 GB, free: 2.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007254/0.5729, allocations: 118.6 kB / 0.5063 GB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.5729, allocations: 2.656 kB / 0.5063 GB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/0.573, allocations: 13.05 kB / 0.5063 GB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.573, allocations: 2.594 kB / 0.5063 GB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.573, allocations: 9.125 kB / 0.5063 GB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001286/0.5743, allocations: 0.9414 MB / 0.5072 GB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/0.5746, allocations: 187.2 kB / 0.5074 GB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.5747, allocations: 11.05 kB / 0.5074 GB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006767/0.5754, allocations: 65.11 kB / 0.5075 GB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.5756, allocations: 35.69 kB / 0.5075 GB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.5756, allocations: 10.91 kB / 0.5075 GB, free: 1.551 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0006682/0.5763, allocations: 356.6 kB / 0.5079 GB, free: 1.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008598/0.5772, allocations: 94.78 kB / 0.508 GB, free: 1.43 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.0002801/0.5775, allocations: 121 kB / 0.5081 GB, free: 1.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.5787, allocations: 444.9 kB / 0.5085 GB, free: 1.281 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5788, allocations: 1.219 kB / 0.5085 GB, free: 1.281 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006355/0.5794, allocations: 216.5 kB / 0.5087 GB, free: 1.258 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.5805, allocations: 148.2 kB / 0.5088 GB, free: 1.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.5837, allocations: 1.093 MB / 0.5099 GB, free: 0.6836 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009423/0.5847, allocations: 0.9936 MB / 0.5109 GB, free: 15.86 MB / 346.7 MB Notification: Performance of SimCode: time 1.432e-06/0.5847, allocations: 0 / 0.5109 GB, free: 15.86 MB / 346.7 MB Notification: Performance of Templates: time 0.01802/0.6027, allocations: 6.904 MB / 0.5176 GB, free: 12.46 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)