Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.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.DecoupledControl.NoDecoupledControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl") translateModel(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01103/0.01103, allocations: 170 kB / 16.27 MB, free: 6.652 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.843/1.843, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05708/0.05708, allocations: 10.75 MB / 281.5 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.0007111/0.0007111, allocations: 12 kB / 342.2 MB, free: 23.53 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1352, allocations: 50.01 MB / 392.2 MB, free: 5.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.002976/0.1383, allocations: 1.947 MB / 394.2 MB, free: 3.492 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.14, allocations: 0.6312 MB / 394.8 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003802/0.1404, allocations: 11.94 kB / 394.8 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.1407, allocations: 51.58 kB / 394.9 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.141, allocations: 27.73 kB / 394.9 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.1422, allocations: 303.6 kB / 395.2 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.1433, allocations: 0.6012 MB / 395.8 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.1436, allocations: 98.36 kB / 395.9 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000369/0.144, allocations: 171.2 kB / 396.1 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004092/0.1444, allocations: 179 kB / 396.3 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.792e-05/0.1445, allocations: 12 kB / 396.3 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.316e-05/0.1446, allocations: 12 kB / 396.3 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.1448, allocations: 123.6 kB / 396.4 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002457/0.145, allocations: 192.5 kB / 396.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005865/0.1456, allocations: 438.5 kB / 397 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1457, allocations: 0 / 397 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.1457, allocations: 0 / 397 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.323e-05/0.1457, allocations: 3.938 kB / 397 MB, free: 0.6445 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001456/0.1472, allocations: 0.6662 MB / 397.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.1472, allocations: 8.031 kB / 397.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.1474, allocations: 60.28 kB / 397.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/0.1482, allocations: 417.9 kB / 398.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/0.1483, allocations: 21.03 kB / 398.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.972e-05/0.1483, allocations: 32.38 kB / 398.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008439/0.1492, allocations: 412.1 kB / 398.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.1492, allocations: 4.188 kB / 398.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/0.1493, allocations: 15.94 kB / 398.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.1493, allocations: 11.94 kB / 398.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006539/0.15, allocations: 318.4 kB / 399 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002686/0.1527, allocations: 1.6 MB / 400.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.1531, allocations: 206.4 kB / 400.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.1533, allocations: 97.16 kB / 400.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.281e-05/0.1533, allocations: 7.922 kB / 400.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.1534, allocations: 46.5 kB / 400.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.853e-06/0.1534, allocations: 0 / 400.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007692/0.1542, allocations: 329.1 kB / 401.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.1542, allocations: 63.3 kB / 401.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005671/0.1548, allocations: 461.8 kB / 401.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.1548, allocations: 29.7 kB / 401.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.1551, allocations: 267.7 kB / 402 MB, free: 11.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.73e-05/0.1552, allocations: 74.98 kB / 402.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.1553, allocations: 41.64 kB / 402.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003079/0.1556, allocations: 354.8 kB / 402.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.1558, allocations: 96.27 kB / 402.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.1562, allocations: 232.9 kB / 402.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.1579, allocations: 0.6171 MB / 403.4 MB, free: 9.836 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1579, allocations: 0 / 403.4 MB, free: 9.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006864/0.1586, allocations: 405.1 kB / 403.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1587, allocations: 8 kB / 403.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1587, allocations: 4 kB / 403.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.1587, allocations: 8 kB / 403.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.1591, allocations: 91.83 kB / 403.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.1591, allocations: 8 kB / 403.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.1593, allocations: 43.58 kB / 404 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.1593, allocations: 20.16 kB / 404 MB, free: 9.254 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 variables: process.P22.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P21.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P12.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P11.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (controller2.TS_in,controller1.TS_in,controller2.ATreq_in,controller1.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0003006/0.1596, allocations: 202.8 kB / 404.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.62e-05/0.1597, allocations: 39.44 kB / 404.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006225/0.1603, allocations: 317.5 kB / 404.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1603, allocations: 4 kB / 404.6 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1603, allocations: 0 / 404.6 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1603, allocations: 4 kB / 404.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004817/0.1608, allocations: 413.2 kB / 405 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1608, allocations: 0 / 405 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.1612, allocations: 67.91 kB / 405 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1612, allocations: 0 / 405 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.1612, allocations: 12 kB / 405 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.1612, allocations: 3.984 kB / 405 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1612, allocations: 0 / 405 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007348/0.162, allocations: 0.4953 MB / 405.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.125e-05/0.1621, allocations: 124.5 kB / 405.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.1621, allocations: 8 kB / 405.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.1623, allocations: 11.98 kB / 405.7 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.1624, allocations: 15.98 kB / 405.7 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.1624, allocations: 7.984 kB / 405.7 MB, free: 7.453 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003481/0.1627, allocations: 323.1 kB / 406 MB, free: 7.141 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1627, allocations: 0 / 406 MB, free: 7.141 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003459/0.1631, allocations: 63.78 kB / 406.1 MB, free: 7.078 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (process.P11.w,process.P12.w,process.P21.w,process.P22.w,controller1.FBout,controller2.FBout) * 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 (24): * Single equations (assignments): 24 * 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.0001257/0.1632, allocations: 111.1 kB / 406.2 MB, free: 6.957 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000479/0.1637, allocations: 272.6 kB / 406.5 MB, free: 6.691 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1637, allocations: 0 / 406.5 MB, free: 6.691 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.1639, allocations: 127.9 kB / 406.6 MB, free: 6.566 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.1643, allocations: 37.95 kB / 406.6 MB, free: 6.531 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.1656, allocations: 0.9527 MB / 407.6 MB, free: 5.559 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.1661, allocations: 0.8502 MB / 408.4 MB, free: 4.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000198/0.1663, allocations: 75.17 kB / 408.5 MB, free: 4.602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.695e-05/0.1664, allocations: 31.44 kB / 408.5 MB, free: 4.57 MB / 302.1 MB Notification: Performance of SimCode: time 3.486e-06/0.1664, allocations: 0 / 408.5 MB, free: 4.57 MB / 302.1 MB Notification: Performance of Templates: time 0.006517/0.1729, allocations: 2.302 MB / 410.8 MB, free: 2.293 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.makefile Environment - environmentSimulation: (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.sim & ./IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe 2>&1) Environment - environmentSimulation: