Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous") [: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.2+maint.om/package.mo): time 0.002645/0.002645, allocations: 184.7 kB / 7.457 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.188/1.188, allocations: 194.2 MB / 202.1 MB, free: 8.68 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001713/0.001713, allocations: 117.4 kB / 247.1 MB, free: 6.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1745/0.1745, allocations: 39.94 MB / 331.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.071e-06/6.091e-06, allocations: 0 / 392.8 MB, free: 75.92 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 54.87 MB / 447.6 MB, free: 21.03 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2981/0.4015, allocations: 88.81 MB / 0.5239 GB, free: 8.926 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.4018, allocations: 63.72 kB / 0.5239 GB, free: 8.918 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03821/0.44, allocations: 13.33 MB / 0.537 GB, free: 124 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.93e-05/0.4401, allocations: 23.94 kB / 0.537 GB, free: 100 kB / 346.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.001891/0.442, allocations: 0.9007 MB / 0.5379 GB, free: 15.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.4421, allocations: 12.02 kB / 0.5379 GB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.4423, allocations: 86.91 kB / 0.538 GB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.4434, allocations: 0.5247 MB / 0.5385 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.4434, allocations: 12.56 kB / 0.5385 GB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.853e-05/0.4435, allocations: 31.31 kB / 0.5385 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006307/0.4441, allocations: 318.3 kB / 0.5388 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/0.4449, allocations: 428.2 kB / 0.5392 GB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.4449, allocations: 0 / 0.5392 GB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/0.4449, allocations: 0 / 0.5392 GB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.445, allocations: 15.94 kB / 0.5392 GB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003297/0.4483, allocations: 1.842 MB / 0.541 GB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007442/0.449, allocations: 446.7 kB / 0.5415 GB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.4493, allocations: 185.9 kB / 0.5416 GB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.054e-05/0.4494, allocations: 4 kB / 0.5416 GB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.4494, allocations: 45.67 kB / 0.5417 GB, free: 11.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.264e-06/0.4494, allocations: 0 / 0.5417 GB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.00138/0.4508, allocations: 0.7297 MB / 0.5424 GB, free: 11.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.4509, allocations: 132.5 kB / 0.5425 GB, free: 11.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.4515, allocations: 459.5 kB / 0.543 GB, free: 10.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.4515, allocations: 29.7 kB / 0.543 GB, free: 10.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.4517, allocations: 223.2 kB / 0.5432 GB, free: 10.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.4518, allocations: 163.8 kB / 0.5434 GB, free: 10.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.4519, allocations: 0 / 0.5434 GB, free: 10.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.452, allocations: 373.7 kB / 0.5437 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.4524, allocations: 191.3 kB / 0.5439 GB, free: 9.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.4527, allocations: 301.8 kB / 0.5442 GB, free: 9.668 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.4531, allocations: 229.5 kB / 0.5444 GB, free: 9.516 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4531, allocations: 0 / 0.5444 GB, free: 9.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009088/0.454, allocations: 0.5759 MB / 0.545 GB, free: 9.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005247/0.4545, allocations: 1.045 MB / 0.546 GB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.4545, allocations: 4 kB / 0.546 GB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/0.4546, allocations: 8 kB / 0.546 GB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007345/0.4553, allocations: 151.1 kB / 0.5461 GB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.4553, allocations: 4 kB / 0.5462 GB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005682/0.4559, allocations: 87.62 kB / 0.5462 GB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.456, allocations: 23.62 kB / 0.5463 GB, free: 7.699 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/0.456, allocations: 4 kB / 0.5463 GB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007648/0.4568, allocations: 477.9 kB / 0.5467 GB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4568, allocations: 4 kB / 0.5467 GB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.4568, allocations: 4 kB / 0.5467 GB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006089/0.4574, allocations: 147.7 kB / 0.5469 GB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.381e-06/0.4574, allocations: 7.906 kB / 0.5469 GB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/0.4579, allocations: 71.64 kB / 0.5469 GB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.458, allocations: 23.86 kB / 0.547 GB, free: 7.109 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 () * 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.0001494/0.4581, allocations: 120.3 kB / 0.5471 GB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.4583, allocations: 71.16 kB / 0.5471 GB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.4585, allocations: 69.27 kB / 0.5472 GB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.4586, allocations: 8 kB / 0.5472 GB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.4586, allocations: 3.938 kB / 0.5472 GB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.4586, allocations: 3.984 kB / 0.5472 GB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.4598, allocations: 0.7313 MB / 0.5479 GB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4598, allocations: 0 / 0.5479 GB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007044/0.4606, allocations: 119.1 kB / 0.5481 GB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.4606, allocations: 4 kB / 0.5481 GB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.115e-05/0.4606, allocations: 11.17 kB / 0.5481 GB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4606, allocations: 4 kB / 0.5481 GB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4606, allocations: 0 / 0.5481 GB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001082/0.4617, allocations: 0.9517 MB / 0.549 GB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.462, allocations: 187.3 kB / 0.5492 GB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.4621, allocations: 11.86 kB / 0.5492 GB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006021/0.4627, allocations: 59.89 kB / 0.5493 GB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.4628, allocations: 35.19 kB / 0.5493 GB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.4629, allocations: 15.31 kB / 0.5493 GB, free: 5.047 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003964/0.4633, allocations: 354.9 kB / 0.5496 GB, free: 4.789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007462/0.464, allocations: 156 kB / 0.5498 GB, free: 4.637 MB / 362.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.0001822/0.4642, allocations: 119.1 kB / 0.5499 GB, free: 4.512 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.4654, allocations: 0.7386 MB / 0.5506 GB, free: 3.996 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4654, allocations: 0 / 0.5506 GB, free: 3.996 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.4657, allocations: 212.6 kB / 0.5508 GB, free: 3.852 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008497/0.4666, allocations: 147.4 kB / 0.551 GB, free: 3.742 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.469, allocations: 1.119 MB / 0.5521 GB, free: 2.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007253/0.4697, allocations: 1.004 MB / 0.553 GB, free: 1.676 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4698, allocations: 0 / 0.553 GB, free: 1.676 MB / 362.7 MB Notification: Performance of Templates: time 0.01764/0.4874, allocations: 9.921 MB / 0.5627 GB, free: 7.848 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe 2>&1)