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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008315/0.0008314, allocations: 92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008462/0.0008464, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06147/0.06147, allocations: 10.74 MB / 281.1 MB, free: 10.56 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005286/0.0005286, allocations: 12 kB / 341.6 MB, free: 23.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09594, allocations: 50.01 MB / 391.6 MB, free: 5.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.00387/0.09987, allocations: 3.47 MB / 395.1 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.1026, allocations: 1.642 MB / 396.7 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004521/0.1031, allocations: 59.44 kB / 396.8 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.1033, allocations: 94.81 kB / 396.9 MB, free: 488 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003716/0.1037, allocations: 111 kB / 397 MB, free: 376 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.1051, allocations: 0.6514 MB / 397.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.1062, allocations: 1.282 MB / 398.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000447/0.1067, allocations: 323.3 kB / 399.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000486/0.1072, allocations: 0.4974 MB / 399.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000439/0.1076, allocations: 469.1 kB / 400.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.133e-05/0.1077, allocations: 44 kB / 400.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.213e-05/0.1078, allocations: 44 kB / 400.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.108, allocations: 211 kB / 400.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.1082, allocations: 216.9 kB / 400.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006538/0.1088, allocations: 0.8693 MB / 401.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1088, allocations: 0 / 401.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1088, allocations: 0 / 401.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.1089, allocations: 0 / 401.6 MB, free: 11.75 MB / 302.1 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.002212/0.1111, allocations: 1.46 MB / 403 MB, free: 10.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1111, allocations: 12.03 kB / 403.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.1113, allocations: 170 kB / 403.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.1125, allocations: 0.8421 MB / 404.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.1127, allocations: 291.6 kB / 404.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.1128, allocations: 131.8 kB / 404.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.1144, allocations: 1.109 MB / 405.6 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/0.1144, allocations: 7.938 kB / 405.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.059e-05/0.1145, allocations: 48 kB / 405.6 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.1145, allocations: 24 kB / 405.7 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.1157, allocations: 0.7182 MB / 406.4 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004555/0.1202, allocations: 3.875 MB / 410.3 MB, free: 2.711 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.1216, allocations: 0.8388 MB / 411.1 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000567/0.1222, allocations: 417.5 kB / 411.5 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-05/0.1223, allocations: 25.05 kB / 411.5 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1223, allocations: 47.56 kB / 411.6 MB, free: 1.371 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 1.953e-06/0.1223, allocations: 0 / 411.6 MB, free: 1.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.00169/0.124, allocations: 1.084 MB / 412.7 MB, free: 292 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001815/0.1242, allocations: 376.8 kB / 413 MB, free: 15.83 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009177/0.1251, allocations: 0.9048 MB / 413.9 MB, free: 14.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.44e-05/0.1252, allocations: 57.64 kB / 414 MB, free: 14.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/0.1256, allocations: 0.5899 MB / 414.6 MB, free: 14.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.1259, allocations: 386.4 kB / 415 MB, free: 13.87 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.1259, allocations: 28 kB / 415 MB, free: 13.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1261, allocations: 357.9 kB / 415.3 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005582/0.1267, allocations: 355.8 kB / 415.7 MB, free: 13.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008375/0.1275, allocations: 0.7525 MB / 416.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007179/0.1282, allocations: 462.2 kB / 416.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.1282, allocations: 4 kB / 416.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001831/0.1301, allocations: 1.257 MB / 418.1 MB, free: 10.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.1301, allocations: 8 kB / 418.1 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.1301, allocations: 11.98 kB / 418.2 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.041e-05/0.1302, allocations: 20.78 kB / 418.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.1315, allocations: 343.5 kB / 418.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/0.1315, allocations: 23.88 kB / 418.5 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.1321, allocations: 142.6 kB / 418.7 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-05/0.1322, allocations: 52 kB / 418.7 MB, free: 9.91 MB / 318.1 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.ATreq_in,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_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 () * Number of clocked 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.0003468/0.1325, allocations: 278.1 kB / 419 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.1326, allocations: 118.5 kB / 419.1 MB, free: 9.512 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.1344, allocations: 1.064 MB / 420.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.1344, allocations: 12 kB / 420.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1344, allocations: 0 / 420.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.1344, allocations: 7.922 kB / 420.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.1356, allocations: 1.074 MB / 421.3 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.1356, allocations: 0 / 421.3 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/0.1371, allocations: 307.6 kB / 421.6 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.1372, allocations: 4 kB / 421.6 MB, free: 6.988 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/0.1372, allocations: 35.98 kB / 421.6 MB, free: 6.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.1373, allocations: 4 kB / 421.6 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1373, allocations: 0 / 421.6 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.1392, allocations: 1.463 MB / 423.1 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.1393, allocations: 207.2 kB / 423.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.1395, allocations: 28 kB / 423.3 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.1399, allocations: 35.98 kB / 423.3 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.14, allocations: 68.89 kB / 423.4 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/0.1401, allocations: 28 kB / 423.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006776/0.1407, allocations: 0.5748 MB / 424 MB, free: 4.508 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1408, allocations: 4 kB / 424 MB, free: 4.504 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006491/0.1414, allocations: 235.4 kB / 424.3 MB, free: 4.273 MB / 318.1 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 () * Number of clocked 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.0001609/0.1416, allocations: 147 kB / 424.4 MB, free: 4.121 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.143, allocations: 0.9339 MB / 425.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.143, allocations: 0 / 425.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006004/0.1436, allocations: 453.8 kB / 425.8 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006408/0.1442, allocations: 144.3 kB / 425.9 MB, free: 2.602 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2047/0.3489, allocations: 3.166 MB / 429.1 MB, free: 41.35 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007662/0.3498, allocations: 1.155 MB / 430.2 MB, free: 40.64 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009755/0.3508, allocations: 185.2 kB / 430.4 MB, free: 40.62 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/0.351, allocations: 102.9 kB / 430.5 MB, free: 40.62 MB / 318.1 MB Notification: Performance of SimCode: time 2.084e-06/0.351, allocations: 0 / 430.5 MB, free: 40.62 MB / 318.1 MB Notification: Performance of Templates: time 0.01953/0.3706, allocations: 7.939 MB / 438.5 MB, free: 38.78 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: