Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") translateModel(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") [: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.3+maint.om/package.mo): time 0.003315/0.003315, allocations: 186.3 kB / 7.455 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0569/0.0569, allocations: 10.59 MB / 18.47 MB, free: 2.344 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.2 MB / 226.5 MB, free: 0.668 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009954/0.0009957, allocations: 80.77 kB / 276.9 MB, free: 15.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.566e-06/8.897e-06, allocations: 0 / 332.9 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3929, allocations: 49.98 MB / 382.9 MB, free: 39.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.5124, allocations: 78.8 MB / 461.7 MB, free: 8.863 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003732/0.5129, allocations: 67.97 kB / 461.8 MB, free: 8.797 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0595/0.5724, allocations: 19.23 MB / 481 MB, free: 5.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002221/0.5727, allocations: 35.98 kB / 481.1 MB, free: 5.465 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004466/0.5772, allocations: 1.361 MB / 482.4 MB, free: 4.055 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.213e-05/0.5773, allocations: 8.031 kB / 482.4 MB, free: 4.047 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008444/0.5781, allocations: 178 kB / 482.6 MB, free: 3.871 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003623/0.5818, allocations: 1.063 MB / 483.7 MB, free: 2.754 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002979/0.5821, allocations: 267.5 kB / 483.9 MB, free: 2.441 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004194/0.5825, allocations: 79.89 kB / 484 MB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001811/0.5844, allocations: 0.6132 MB / 484.6 MB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.5862, allocations: 1.092 MB / 485.7 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/0.5863, allocations: 8.125 kB / 485.7 MB, free: 496 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.665e-05/0.5864, allocations: 4 kB / 485.7 MB, free: 492 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/0.5864, allocations: 31.88 kB / 485.7 MB, free: 460 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00607/0.5925, allocations: 3.64 MB / 489.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.594, allocations: 0.6905 MB / 490.1 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005629/0.5946, allocations: 370.5 kB / 490.4 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.991e-05/0.5947, allocations: 17 kB / 490.5 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.556e-05/0.5948, allocations: 55.48 kB / 490.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=99): time 3.958e-06/0.5948, allocations: 0 / 490.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=99): time 0.001438/0.5962, allocations: 0.7317 MB / 491.2 MB, free: 10.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002455/0.5965, allocations: 376.8 kB / 491.6 MB, free: 10.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.5975, allocations: 0.7254 MB / 492.3 MB, free: 9.637 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-05/0.5976, allocations: 25.7 kB / 492.4 MB, free: 9.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.5979, allocations: 404.1 kB / 492.8 MB, free: 9.203 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003515/0.5983, allocations: 370.5 kB / 493.1 MB, free: 8.836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.5984, allocations: 0 / 493.1 MB, free: 8.836 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002451/0.5986, allocations: 362.5 kB / 493.5 MB, free: 8.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005949/0.5992, allocations: 303.9 kB / 493.8 MB, free: 8.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000904/0.6001, allocations: 0.6976 MB / 494.5 MB, free: 7.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000715/0.6008, allocations: 406.2 kB / 494.9 MB, free: 6.914 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.6009, allocations: 4 kB / 494.9 MB, free: 6.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001875/0.6027, allocations: 1.098 MB / 496 MB, free: 5.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.6028, allocations: 4 kB / 496 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.6028, allocations: 11.94 kB / 496 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.716e-05/0.6028, allocations: 20 kB / 496 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.6045, allocations: 352 kB / 496.3 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.53e-05/0.6045, allocations: 19.94 kB / 496.4 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007038/0.6052, allocations: 98.78 kB / 496.5 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.6054, allocations: 59.98 kB / 496.5 MB, free: 5.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 16 (R_FS.TS_in,R_Osc.TS_in,R_US.TS_in,R_OS.TS_in,R_iD.TS_in,R_i.TS_in,R_FOD.TS_in,R_FO.TS_in,R_FS.ATreq_in,R_Osc.ATreq_in,R_US.ATreq_in,R_OS.ATreq_in,R_iD.ATreq_in,R_i.ATreq_in,R_FOD.ATreq_in,R_FO.ATreq_in) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 179 * 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.0002388/0.6056, allocations: 140.6 kB / 496.7 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.6058, allocations: 126.4 kB / 496.8 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.6078, allocations: 0.9535 MB / 497.7 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.6078, allocations: 12 kB / 497.7 MB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.6078, allocations: 4 kB / 497.7 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/0.6079, allocations: 7.969 kB / 497.8 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.6096, allocations: 0.9372 MB / 498.7 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.6096, allocations: 0 / 498.7 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002015/0.6116, allocations: 307.6 kB / 499 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.755e-05/0.6116, allocations: 4 kB / 499 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.595e-05/0.6117, allocations: 23.98 kB / 499 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.6118, allocations: 4 kB / 499 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6118, allocations: 0 / 499 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002137/0.6139, allocations: 1.341 MB / 0.4886 GB, free: 1.324 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.6142, allocations: 203.3 kB / 0.4888 GB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.6143, allocations: 15.84 kB / 0.4888 GB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005713/0.6149, allocations: 19.92 kB / 0.4889 GB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.615, allocations: 52.91 kB / 0.4889 GB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.491e-05/0.6151, allocations: 35.98 kB / 0.4889 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0008278/0.6159, allocations: 0.5124 MB / 0.4894 GB, free: 476 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009912/0.6169, allocations: 179.5 kB / 0.4896 GB, free: 296 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (NoControl.firstOrder.y,NoControl.firstOrder1.y,NoControl.integrator.y,NoControl.integrator1.y,NoControl.leadLag.dy,NoControl.firstOrder2.y,NoControl.leadLag1.dy,NoControl.firstOrder3.y,NoControl.complexPoles.y,NoControl.complexPoles.dy,NoControl.leadLag2.dy,NoControl.firstOrder4.y,Controlled.firstOrder.y,Controlled.firstOrder1.y,Controlled.integrator.y,Controlled.integrator1.y,Controlled.leadLag.dy,Controlled.firstOrder2.y,Controlled.leadLag1.dy,Controlled.firstOrder3.y,Controlled.complexPoles.y,Controlled.complexPoles.dy,Controlled.leadLag2.dy,Controlled.firstOrder4.y,R_FO.Iaction,R_FO.Fder,R_FOD.Iaction,R_FOD.Fder,R_i.Iaction,R_i.Fder,R_iD.Iaction,R_iD.Fder,R_OS.Iaction,R_OS.Fder,R_US.Iaction,R_US.Fder,R_Osc.Iaction,R_Osc.Fder,R_FS.Iaction,R_FS.Fder) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.0004445/0.6174, allocations: 134 kB / 0.4897 GB, free: 152 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.2315/0.8489, allocations: 0.8446 MB / 0.4906 GB, free: 122.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.849, allocations: 3.844 kB / 0.4906 GB, free: 122.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008541/0.8498, allocations: 414 kB / 0.491 GB, free: 122.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008992/0.8507, allocations: 95.31 kB / 0.4911 GB, free: 122.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005079/0.8558, allocations: 2.124 MB / 0.4931 GB, free: 121.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/0.8572, allocations: 1.283 MB / 0.4944 GB, free: 120.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.8572, allocations: 0 / 0.4944 GB, free: 120.8 MB / 378.7 MB Notification: Performance of Templates: time 0.02403/0.8813, allocations: 9.558 MB / 0.5037 GB, free: 120.5 MB / 378.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.sim & ./IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1)