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") [: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.004529/0.004529, allocations: 175 kB / 7.451 MB, free: 2.461 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.564/1.564, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.002105/0.002105, allocations: 123.8 kB / 217.7 MB, free: 8.168 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.1883/0.1883, allocations: 37.97 MB / 294.8 MB, free: 9.637 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.013e-06, allocations: 0 / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 48.71 MB / 398.2 MB, free: 5.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3628/0.4705, allocations: 83.1 MB / 481.3 MB, free: 13.67 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.4708, allocations: 63.56 kB / 481.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.08486/0.5556, allocations: 28.83 MB / 0.4982 GB, free: 6.723 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001079/0.5558, allocations: 15.62 kB / 0.4983 GB, free: 6.719 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.002854/0.5587, allocations: 0.9481 MB / 0.4992 GB, free: 6.043 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/0.5587, allocations: 7.75 kB / 0.4992 GB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005513/0.5593, allocations: 85.84 kB / 0.4993 GB, free: 6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.5615, allocations: 0.5597 MB / 0.4998 GB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/0.5615, allocations: 11.62 kB / 0.4998 GB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.5617, allocations: 34.84 kB / 0.4999 GB, free: 5.621 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00086/0.5626, allocations: 313.4 kB / 0.5002 GB, free: 5.602 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009476/0.5636, allocations: 429 kB / 0.5006 GB, free: 5.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/0.5636, allocations: 7.891 kB / 0.5006 GB, free: 5.422 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.68e-05/0.5637, allocations: 3.906 kB / 0.5006 GB, free: 5.422 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.5637, allocations: 7.812 kB / 0.5006 GB, free: 5.422 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004356/0.5681, allocations: 1.832 MB / 0.5024 GB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007997/0.5689, allocations: 332.5 kB / 0.5027 GB, free: 4.273 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004392/0.5694, allocations: 197.3 kB / 0.5029 GB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.096e-05/0.5695, allocations: 5.188 kB / 0.5029 GB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.5695, allocations: 42.02 kB / 0.5029 GB, free: 4.191 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 4.869e-06/0.5695, allocations: 0 / 0.5029 GB, free: 4.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.001897/0.5714, allocations: 0.7332 MB / 0.5036 GB, free: 3.852 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.5715, allocations: 110.5 kB / 0.5037 GB, free: 3.727 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007002/0.5722, allocations: 461.2 kB / 0.5042 GB, free: 3.562 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/0.5723, allocations: 29.64 kB / 0.5042 GB, free: 3.527 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.5724, allocations: 213.8 kB / 0.5044 GB, free: 3.371 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.5727, allocations: 166.9 kB / 0.5046 GB, free: 3.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.5727, allocations: 0 / 0.5046 GB, free: 3.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5729, allocations: 385.9 kB / 0.5049 GB, free: 2.906 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.5733, allocations: 192.5 kB / 0.5051 GB, free: 2.891 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004624/0.5738, allocations: 285.8 kB / 0.5054 GB, free: 2.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005923/0.5744, allocations: 228.8 kB / 0.5056 GB, free: 2.734 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5744, allocations: 0 / 0.5056 GB, free: 2.734 MB / 330.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001593/0.576, allocations: 0.5877 MB / 0.5062 GB, free: 2.586 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.576, allocations: 5.25 kB / 0.5062 GB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.5761, allocations: 2.656 kB / 0.5062 GB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.175e-05/0.5761, allocations: 5.094 kB / 0.5062 GB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.5777, allocations: 200.4 kB / 0.5064 GB, free: 2.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/0.5777, allocations: 5.281 kB / 0.5064 GB, free: 2.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008215/0.5785, allocations: 82.39 kB / 0.5065 GB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.5786, allocations: 23.41 kB / 0.5065 GB, free: 2.496 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 0.0001577/0.5788, allocations: 114.1 kB / 0.5066 GB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.5791, allocations: 67.28 kB / 0.5067 GB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.5793, allocations: 77.31 kB / 0.5067 GB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.5793, allocations: 5.219 kB / 0.5068 GB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.5793, allocations: 1.281 kB / 0.5068 GB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.5794, allocations: 5.312 kB / 0.5068 GB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.5817, allocations: 1.086 MB / 0.5078 GB, free: 1.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.5817, allocations: 0 / 0.5078 GB, free: 1.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009981/0.5827, allocations: 121 kB / 0.5079 GB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.545e-05/0.5827, allocations: 3.844 kB / 0.5079 GB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-05/0.5828, allocations: 20.88 kB / 0.508 GB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.5828, allocations: 11.06 kB / 0.508 GB, free: 1.703 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.5828, allocations: 1.125 kB / 0.508 GB, free: 1.703 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001699/0.5846, allocations: 0.9842 MB / 0.5089 GB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/0.5849, allocations: 191.8 kB / 0.5091 GB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.5851, allocations: 12.98 kB / 0.5091 GB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008781/0.586, allocations: 50.42 kB / 0.5092 GB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.5861, allocations: 37.97 kB / 0.5092 GB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.5862, allocations: 12.53 kB / 0.5092 GB, free: 1.035 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.000601/0.5868, allocations: 362.3 kB / 0.5096 GB, free: 0.9062 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001078/0.5879, allocations: 124.2 kB / 0.5097 GB, free: 0.8945 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.0004501/0.5884, allocations: 148.8 kB / 0.5098 GB, free: 0.7773 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.5896, allocations: 452.3 kB / 0.5103 GB, free: 0.7344 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.5896, allocations: 4.125 kB / 0.5103 GB, free: 0.7305 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005128/0.5901, allocations: 225.4 kB / 0.5105 GB, free: 0.707 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.5915, allocations: 152 kB / 0.5106 GB, free: 0.6602 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/0.5952, allocations: 1.111 MB / 0.5117 GB, free: 124 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/0.5965, allocations: 0.9977 MB / 0.5127 GB, free: 15.3 MB / 346.7 MB Notification: Performance of SimCode: time 1.402e-06/0.5965, allocations: 0 / 0.5127 GB, free: 15.3 MB / 346.7 MB Notification: Performance of Templates: time 0.02034/0.6169, allocations: 7.104 MB / 0.5196 GB, free: 11.82 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)