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.001661/0.001661, allocations: 104.7 kB / 15.98 MB, free: 6.355 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.001873/0.001873, allocations: 195.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.1 MB / 222.8 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05419/0.05419, allocations: 10.74 MB / 280.9 MB, free: 10.67 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.001394/0.001394, allocations: 68.22 kB / 340.7 MB, free: 23.69 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09116/0.09257, allocations: 49.02 MB / 389.7 MB, free: 6.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.005435/0.09805, allocations: 4.167 MB / 393.9 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003085/0.1012, allocations: 1.669 MB / 395.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000765/0.102, allocations: 63.44 kB / 395.6 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.1023, allocations: 98.81 kB / 395.7 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005056/0.1029, allocations: 119 kB / 395.8 MB, free: 476 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.1046, allocations: 0.7881 MB / 396.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001944/0.1066, allocations: 1.489 MB / 398.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007815/0.1074, allocations: 428.3 kB / 398.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008686/0.1083, allocations: 0.6416 MB / 399.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005989/0.1089, allocations: 0.567 MB / 399.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.109, allocations: 124 kB / 399.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.1092, allocations: 120 kB / 400 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.1094, allocations: 310.8 kB / 400.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004524/0.1099, allocations: 0.6055 MB / 400.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008684/0.1108, allocations: 0.9281 MB / 401.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1108, allocations: 4 kB / 401.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1108, allocations: 0 / 401.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.1108, allocations: 0 / 401.8 MB, free: 10.44 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.002917/0.1138, allocations: 1.681 MB / 403.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1138, allocations: 8.031 kB / 403.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.1141, allocations: 167 kB / 403.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.1153, allocations: 0.8893 MB / 404.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002143/0.1155, allocations: 296.2 kB / 404.8 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.1157, allocations: 120.3 kB / 404.9 MB, free: 7.129 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.1175, allocations: 1.121 MB / 406.1 MB, free: 5.914 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.1176, allocations: 7.844 kB / 406.1 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.324e-05/0.1176, allocations: 48 kB / 406.1 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/0.1177, allocations: 24 kB / 406.1 MB, free: 5.836 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.1189, allocations: 0.722 MB / 406.9 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005455/0.1244, allocations: 3.847 MB / 410.7 MB, free: 1.152 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.1259, allocations: 0.837 MB / 411.6 MB, free: 312 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006012/0.1265, allocations: 422.4 kB / 412 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.659e-05/0.1266, allocations: 20.91 kB / 412 MB, free: 15.87 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.1267, allocations: 47.5 kB / 412 MB, free: 15.81 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 3.186e-06/0.1267, allocations: 0 / 412 MB, free: 15.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.002154/0.1288, allocations: 1.088 MB / 413.1 MB, free: 14.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001863/0.1291, allocations: 376.8 kB / 413.5 MB, free: 14.26 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.1302, allocations: 0.9068 MB / 414.4 MB, free: 13.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001591/0.1304, allocations: 53.7 kB / 414.4 MB, free: 13.28 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004198/0.1308, allocations: 0.5898 MB / 415 MB, free: 12.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/0.1311, allocations: 382.5 kB / 415.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003305/0.1315, allocations: 259.5 kB / 415.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1316, allocations: 357.9 kB / 416 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.1322, allocations: 355.8 kB / 416.4 MB, free: 11.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009068/0.1332, allocations: 0.7641 MB / 417.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.1346, allocations: 1.076 MB / 418.2 MB, free: 9.203 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.1346, allocations: 4 kB / 418.2 MB, free: 9.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.00214/0.1367, allocations: 1.265 MB / 419.5 MB, free: 7.926 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.1368, allocations: 12.06 kB / 419.5 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.1368, allocations: 19.86 kB / 419.5 MB, free: 7.895 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/0.1369, allocations: 20 kB / 419.5 MB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.1383, allocations: 339.5 kB / 419.9 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.764e-05/0.1383, allocations: 23.92 kB / 419.9 MB, free: 7.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007633/0.1391, allocations: 134.6 kB / 420 MB, free: 7.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.059e-05/0.1392, allocations: 55.98 kB / 420.1 MB, free: 7.332 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004472/0.1396, allocations: 278.1 kB / 420.3 MB, free: 7.051 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.1398, allocations: 126.4 kB / 420.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.1417, allocations: 1.057 MB / 421.5 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.1417, allocations: 12 kB / 421.5 MB, free: 5.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1417, allocations: 0 / 421.5 MB, free: 5.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.1418, allocations: 7.969 kB / 421.5 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.143, allocations: 1.07 MB / 422.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.143, allocations: 0 / 422.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.1448, allocations: 307.6 kB / 422.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.1448, allocations: 4 kB / 422.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.595e-05/0.1449, allocations: 31.98 kB / 422.9 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/0.1449, allocations: 8 kB / 422.9 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1449, allocations: 4 kB / 423 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.147, allocations: 1.451 MB / 424.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.1472, allocations: 203.2 kB / 424.6 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.1473, allocations: 28 kB / 424.6 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005422/0.1479, allocations: 35.97 kB / 424.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.148, allocations: 64.91 kB / 424.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-05/0.1481, allocations: 35.98 kB / 424.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007071/0.1488, allocations: 0.5826 MB / 425.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.635e-06/0.1488, allocations: 4 kB / 425.3 MB, free: 1.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007518/0.1496, allocations: 239.3 kB / 425.6 MB, free: 1.695 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001915/0.1498, allocations: 139.1 kB / 425.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002271/0.152, allocations: 0.9984 MB / 426.7 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1521, allocations: 1.938 kB / 426.7 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006489/0.1527, allocations: 445.5 kB / 427.2 MB, free: 116 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1786/0.3313, allocations: 155.9 kB / 427.3 MB, free: 42.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/0.336, allocations: 3.247 MB / 430.6 MB, free: 41.28 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/0.3368, allocations: 1.16 MB / 431.7 MB, free: 40.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/0.3372, allocations: 111.1 kB / 431.8 MB, free: 40.56 MB / 318.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3373, allocations: 0 / 431.8 MB, free: 40.56 MB / 318.1 MB Notification: Performance of Templates: time 0.02765/0.3649, allocations: 13.93 MB / 445.8 MB, free: 35.31 MB / 318.1 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)