Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.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_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState") [: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.003503/0.003503, allocations: 185.1 kB / 7.46 MB, free: 2.512 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.246/1.246, allocations: 194.2 MB / 202.1 MB, free: 8.652 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.001748/0.001748, allocations: 121.3 kB / 247.1 MB, free: 6.367 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.1755/0.1755, allocations: 39.94 MB / 331.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.782e-06/6.812e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09562/0.09565, allocations: 54.87 MB / 447.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3382/0.4339, allocations: 89.08 MB / 0.5241 GB, free: 9.102 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.4342, allocations: 63.62 kB / 0.5242 GB, free: 9.094 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.05479/0.489, allocations: 18.66 MB / 0.5424 GB, free: 11.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.9e-05/0.4891, allocations: 23.94 kB / 0.5424 GB, free: 11.72 MB / 362.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.001824/0.491, allocations: 0.9066 MB / 0.5433 GB, free: 10.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.491, allocations: 8.031 kB / 0.5433 GB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.4912, allocations: 82.97 kB / 0.5434 GB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.4922, allocations: 0.524 MB / 0.5439 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.4922, allocations: 12 kB / 0.5439 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-05/0.4923, allocations: 39.84 kB / 0.544 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006039/0.493, allocations: 316.9 kB / 0.5443 GB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006848/0.4936, allocations: 426.6 kB / 0.5447 GB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.4937, allocations: 0 / 0.5447 GB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/0.4937, allocations: 0 / 0.5447 GB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.4937, allocations: 19.98 kB / 0.5447 GB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003136/0.4969, allocations: 1.833 MB / 0.5465 GB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007193/0.4976, allocations: 449.8 kB / 0.5469 GB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.4979, allocations: 184.5 kB / 0.5471 GB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.941e-05/0.498, allocations: 4 kB / 0.5471 GB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.498, allocations: 38.72 kB / 0.5471 GB, free: 7.547 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.427e-06/0.498, allocations: 3.984 kB / 0.5471 GB, free: 7.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.00143/0.4995, allocations: 0.73 MB / 0.5479 GB, free: 6.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.4996, allocations: 136.4 kB / 0.548 GB, free: 6.742 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005532/0.5001, allocations: 461.1 kB / 0.5484 GB, free: 6.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.5002, allocations: 29.64 kB / 0.5485 GB, free: 6.344 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.5003, allocations: 220.1 kB / 0.5487 GB, free: 6.156 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.5005, allocations: 162.9 kB / 0.5488 GB, free: 6.016 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.5005, allocations: 4 kB / 0.5488 GB, free: 6.012 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.5007, allocations: 382.6 kB / 0.5492 GB, free: 5.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.501, allocations: 174.2 kB / 0.5494 GB, free: 5.555 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.5014, allocations: 290.7 kB / 0.5496 GB, free: 5.309 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.5017, allocations: 207.6 kB / 0.5498 GB, free: 5.176 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5017, allocations: 7.969 kB / 0.5498 GB, free: 5.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009994/0.5027, allocations: 0.5994 MB / 0.5504 GB, free: 4.695 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004809/0.5032, allocations: 1.047 MB / 0.5514 GB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.5033, allocations: 4 kB / 0.5514 GB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/0.5035, allocations: 60.12 kB / 0.5515 GB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009925/0.5045, allocations: 199.6 kB / 0.5517 GB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.5058, allocations: 1.436 MB / 0.5531 GB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005879/0.5064, allocations: 79.72 kB / 0.5532 GB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/0.5065, allocations: 19.75 kB / 0.5532 GB, free: 1.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.363e-06/0.5065, allocations: 4 kB / 0.5532 GB, free: 1.766 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008965/0.5074, allocations: 0.4909 MB / 0.5537 GB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.5074, allocations: 4 kB / 0.5537 GB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/0.5076, allocations: 60.5 kB / 0.5537 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009054/0.5085, allocations: 192.1 kB / 0.5539 GB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.5098, allocations: 1.432 MB / 0.5553 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/0.5103, allocations: 71.73 kB / 0.5554 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/0.5104, allocations: 23.88 kB / 0.5554 GB, free: 15.59 MB / 378.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 (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.5106, allocations: 116.6 kB / 0.5555 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.5108, allocations: 71.14 kB / 0.5556 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.511, allocations: 71.83 kB / 0.5557 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.511, allocations: 8 kB / 0.5557 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.511, allocations: 4 kB / 0.5557 GB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.511, allocations: 7.891 kB / 0.5557 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.5122, allocations: 0.7286 MB / 0.5564 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.5122, allocations: 0 / 0.5564 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007122/0.5129, allocations: 114.9 kB / 0.5565 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.5129, allocations: 0 / 0.5565 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/0.513, allocations: 18.86 kB / 0.5565 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.513, allocations: 0 / 0.5565 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.513, allocations: 4 kB / 0.5565 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001147/0.5141, allocations: 0.94 MB / 0.5574 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.5144, allocations: 191.4 kB / 0.5576 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.166e-05/0.5145, allocations: 11.55 kB / 0.5576 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006173/0.5151, allocations: 55.95 kB / 0.5577 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.5152, allocations: 31.25 kB / 0.5577 GB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.5153, allocations: 15.31 kB / 0.5577 GB, free: 13.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004009/0.5157, allocations: 356.7 kB / 0.5581 GB, free: 13.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008043/0.5165, allocations: 171.9 kB / 0.5582 GB, free: 13.12 MB / 378.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.0001868/0.5167, allocations: 110.5 kB / 0.5583 GB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.5183, allocations: 0.9471 MB / 0.5593 GB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5183, allocations: 0 / 0.5593 GB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003362/0.5187, allocations: 210.5 kB / 0.5595 GB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008315/0.5195, allocations: 147.6 kB / 0.5596 GB, free: 12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.522, allocations: 1.14 MB / 0.5607 GB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008108/0.5228, allocations: 1.003 MB / 0.5617 GB, free: 9.914 MB / 378.7 MB Notification: Performance of SimCode: time 5.2e-07/0.5228, allocations: 0 / 0.5617 GB, free: 9.914 MB / 378.7 MB Notification: Performance of Templates: time 0.01898/0.5418, allocations: 10.24 MB / 0.5717 GB, free: 15.76 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1)