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.001144/0.001144, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 196 kB / 16.53 MB, free: 6.664 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.542/1.542, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05569/0.05569, allocations: 10.72 MB / 280.5 MB, free: 10.5 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.001365/0.001365, allocations: 67.83 kB / 340.5 MB, free: 23.34 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09742/0.09879, allocations: 49.03 MB / 389.6 MB, free: 6.246 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.005235/0.1041, allocations: 4.183 MB / 393.7 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00356/0.1077, allocations: 1.696 MB / 395.4 MB, free: 340 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005357/0.1082, allocations: 63.44 kB / 395.5 MB, free: 276 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.1086, allocations: 157.9 kB / 395.7 MB, free: 116 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004594/0.109, allocations: 170.3 kB / 395.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.1106, allocations: 0.8892 MB / 396.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.1119, allocations: 1.485 MB / 398.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005783/0.1124, allocations: 420.3 kB / 398.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006488/0.1131, allocations: 0.6185 MB / 399.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005664/0.1137, allocations: 0.5709 MB / 399.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.1139, allocations: 120 kB / 399.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.114, allocations: 124 kB / 400 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002815/0.1143, allocations: 314.7 kB / 400.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00045/0.1148, allocations: 0.5978 MB / 400.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.1158, allocations: 1.238 MB / 402.2 MB, free: 9.539 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1158, allocations: 0 / 402.2 MB, free: 9.539 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1158, allocations: 0 / 402.2 MB, free: 9.539 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.1158, allocations: 0 / 402.2 MB, free: 9.539 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.002695/0.1185, allocations: 1.682 MB / 403.9 MB, free: 7.801 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1186, allocations: 12.03 kB / 403.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.1188, allocations: 163 kB / 404 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.12, allocations: 0.8893 MB / 404.9 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.1203, allocations: 296.2 kB / 405.2 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.1204, allocations: 120.3 kB / 405.3 MB, free: 6.227 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.122, allocations: 1.121 MB / 406.4 MB, free: 5.012 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.122, allocations: 15.78 kB / 406.5 MB, free: 4.996 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.45e-05/0.1221, allocations: 44 kB / 406.5 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.1221, allocations: 24 kB / 406.5 MB, free: 4.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.1234, allocations: 0.7182 MB / 407.2 MB, free: 4.211 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004752/0.1281, allocations: 3.847 MB / 411.1 MB, free: 252 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.1295, allocations: 0.8487 MB / 411.9 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005456/0.1301, allocations: 418.3 kB / 412.4 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.109e-05/0.1302, allocations: 21.05 kB / 412.4 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.1302, allocations: 43.56 kB / 412.4 MB, free: 14.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.785e-06/0.1302, allocations: 0 / 412.4 MB, free: 14.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.001799/0.1321, allocations: 1.096 MB / 413.5 MB, free: 13.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/0.1322, allocations: 372.8 kB / 413.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009306/0.1332, allocations: 0.9068 MB / 414.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.599e-05/0.1332, allocations: 53.7 kB / 414.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/0.1336, allocations: 0.5898 MB / 415.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.1339, allocations: 382.5 kB / 415.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003104/0.1342, allocations: 259.5 kB / 416 MB, free: 11.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1344, allocations: 357.9 kB / 416.4 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000555/0.1349, allocations: 351.9 kB / 416.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008443/0.1358, allocations: 0.7602 MB / 417.5 MB, free: 9.508 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.1372, allocations: 1.08 MB / 418.6 MB, free: 8.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.1372, allocations: 4 kB / 418.6 MB, free: 8.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001903/0.1391, allocations: 1.273 MB / 419.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.1392, allocations: 8 kB / 419.9 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.1392, allocations: 8 kB / 419.9 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-05/0.1393, allocations: 23.94 kB / 419.9 MB, free: 6.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.1407, allocations: 339.5 kB / 420.2 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.466e-05/0.1407, allocations: 24.11 kB / 420.3 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006584/0.1414, allocations: 134.6 kB / 420.4 MB, free: 6.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.593e-05/0.1414, allocations: 52 kB / 420.4 MB, free: 6.434 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.0004328/0.1419, allocations: 286 kB / 420.7 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.1421, allocations: 130.4 kB / 420.8 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.1439, allocations: 1.049 MB / 421.9 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.1439, allocations: 12 kB / 421.9 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1439, allocations: 0 / 421.9 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.1439, allocations: 3.984 kB / 421.9 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.1451, allocations: 1.074 MB / 423 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.1452, allocations: 8 kB / 423 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/0.1468, allocations: 307.6 kB / 423.3 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.1469, allocations: 4 kB / 423.3 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.849e-05/0.1469, allocations: 31.98 kB / 423.3 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.147, allocations: 4 kB / 423.3 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.147, allocations: 4 kB / 423.3 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.149, allocations: 1.455 MB / 424.8 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.1492, allocations: 203.2 kB / 425 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.1493, allocations: 28 kB / 425 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005046/0.1498, allocations: 31.98 kB / 425 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.15, allocations: 76.83 kB / 425.1 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.779e-05/0.1501, allocations: 35.98 kB / 425.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007405/0.1508, allocations: 0.5865 MB / 425.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1508, allocations: 0 / 425.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007536/0.1516, allocations: 235.4 kB / 426 MB, free: 0.7812 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.0001983/0.1518, allocations: 143 kB / 426.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.1491/0.3009, allocations: 0.9961 MB / 427.1 MB, free: 43.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.301, allocations: 1.375 kB / 427.1 MB, free: 43.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007765/0.3018, allocations: 457.9 kB / 427.6 MB, free: 43.35 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008175/0.3026, allocations: 155.6 kB / 427.7 MB, free: 43.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.3066, allocations: 2.712 MB / 430.4 MB, free: 41.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006249/0.3072, allocations: 1.161 MB / 431.6 MB, free: 41.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006924/0.3079, allocations: 176.6 kB / 431.8 MB, free: 41.22 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.3082, allocations: 104.3 kB / 431.9 MB, free: 41.2 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3082, allocations: 5.531 kB / 431.9 MB, free: 41.2 MB / 318.1 MB Notification: Performance of Templates: time 0.01669/0.3249, allocations: 8.854 MB / 440.7 MB, free: 38.66 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)