Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters") [: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.002951/0.002951, allocations: 186 kB / 7.458 MB, free: 2.504 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.284/1.284, allocations: 194.2 MB / 202.1 MB, free: 8.664 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.001793/0.001793, allocations: 121.3 kB / 247.1 MB, free: 6.344 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.1688/0.1688, allocations: 39.94 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.051e-06/6.221e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/0.5048, allocations: 83.58 MB / 0.5188 GB, free: 10.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.5052, allocations: 63.23 kB / 0.5188 GB, free: 10.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.05554/0.5607, allocations: 13.24 MB / 0.5318 GB, free: 4.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.002e-05/0.5608, allocations: 20 kB / 0.5318 GB, free: 4.145 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002391/0.5633, allocations: 0.9752 MB / 0.5327 GB, free: 3.164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.5633, allocations: 8.031 kB / 0.5327 GB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.5635, allocations: 83 kB / 0.5328 GB, free: 3.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.5649, allocations: 0.5409 MB / 0.5333 GB, free: 2.578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/0.5649, allocations: 15.91 kB / 0.5334 GB, free: 2.562 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.696e-05/0.5651, allocations: 27.44 kB / 0.5334 GB, free: 2.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007967/0.5659, allocations: 298.8 kB / 0.5337 GB, free: 2.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008611/0.5667, allocations: 419.4 kB / 0.5341 GB, free: 2.035 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.5668, allocations: 0 / 0.5341 GB, free: 2.035 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.942e-05/0.5668, allocations: 0 / 0.5341 GB, free: 2.035 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.5669, allocations: 11.91 kB / 0.5341 GB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/0.5701, allocations: 1.385 MB / 0.5354 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.572, allocations: 0.6006 MB / 0.536 GB, free: 428 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/0.5725, allocations: 186.9 kB / 0.5362 GB, free: 308 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.587e-05/0.5726, allocations: 11.5 kB / 0.5362 GB, free: 300 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.5726, allocations: 45.38 kB / 0.5363 GB, free: 252 kB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 2.555e-06/0.5726, allocations: 4 kB / 0.5363 GB, free: 248 kB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.001105/0.5737, allocations: 381.5 kB / 0.5366 GB, free: 15.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.5739, allocations: 140.2 kB / 0.5368 GB, free: 15.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006503/0.5745, allocations: 375.2 kB / 0.5371 GB, free: 15.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.631e-05/0.5746, allocations: 25.7 kB / 0.5371 GB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.5748, allocations: 202.1 kB / 0.5373 GB, free: 15.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.575, allocations: 149.3 kB / 0.5375 GB, free: 15.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.575, allocations: 0 / 0.5375 GB, free: 15.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.5753, allocations: 380.5 kB / 0.5378 GB, free: 14.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.5756, allocations: 136.4 kB / 0.538 GB, free: 14.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.5761, allocations: 188.4 kB / 0.5381 GB, free: 14.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.5764, allocations: 140.6 kB / 0.5383 GB, free: 14.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5764, allocations: 0 / 0.5383 GB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001059/0.5775, allocations: 421.5 kB / 0.5387 GB, free: 14.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.5776, allocations: 187.3 kB / 0.5389 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.5777, allocations: 3.984 kB / 0.5389 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.575e-05/0.5777, allocations: 7.844 kB / 0.5389 GB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.5792, allocations: 195 kB / 0.5391 GB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.5793, allocations: 4 kB / 0.5391 GB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008704/0.5801, allocations: 115.6 kB / 0.5392 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/0.5802, allocations: 15.88 kB / 0.5392 GB, free: 13.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.5802, allocations: 4 kB / 0.5392 GB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007924/0.581, allocations: 304.8 kB / 0.5395 GB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.5811, allocations: 0 / 0.5395 GB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.5811, allocations: 4 kB / 0.5395 GB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.5823, allocations: 163.2 kB / 0.5396 GB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.5824, allocations: 4 kB / 0.5396 GB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006527/0.583, allocations: 79.64 kB / 0.5397 GB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.5831, allocations: 23.42 kB / 0.5397 GB, free: 13.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002264/0.5833, allocations: 112.8 kB / 0.5399 GB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.5835, allocations: 62.75 kB / 0.5399 GB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.5838, allocations: 61.47 kB / 0.54 GB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.5838, allocations: 4 kB / 0.54 GB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.5838, allocations: 0 / 0.54 GB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.5838, allocations: 8.125 kB / 0.54 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.5861, allocations: 1.002 MB / 0.541 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5861, allocations: 0 / 0.541 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.5872, allocations: 163.4 kB / 0.5411 GB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.5873, allocations: 4 kB / 0.5411 GB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/0.5873, allocations: 11.05 kB / 0.5411 GB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5874, allocations: 0 / 0.5411 GB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5874, allocations: 4 kB / 0.5411 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001533/0.5889, allocations: 0.7886 MB / 0.5419 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.5892, allocations: 184.8 kB / 0.5421 GB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.5894, allocations: 0 / 0.5421 GB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009312/0.5903, allocations: 107 kB / 0.5422 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.5905, allocations: 35.25 kB / 0.5422 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.565e-05/0.5905, allocations: 14.42 kB / 0.5422 GB, free: 11.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000465/0.591, allocations: 300.6 kB / 0.5425 GB, free: 10.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009922/0.592, allocations: 171.4 kB / 0.5427 GB, free: 10.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.0002229/0.5922, allocations: 98.62 kB / 0.5428 GB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.5937, allocations: 0.5715 MB / 0.5433 GB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5938, allocations: 0 / 0.5433 GB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004602/0.5942, allocations: 201.2 kB / 0.5435 GB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.5953, allocations: 118.9 kB / 0.5436 GB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/0.5997, allocations: 1.028 MB / 0.5446 GB, free: 9.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008926/0.6006, allocations: 0.9561 MB / 0.5456 GB, free: 8.102 MB / 362.7 MB Notification: Performance of SimCode: time 1.133e-06/0.6006, allocations: 0 / 0.5456 GB, free: 8.102 MB / 362.7 MB Notification: Performance of Templates: time 0.02482/0.6254, allocations: 9.106 MB / 0.5545 GB, free: 15.08 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1)