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.001383/0.001383, allocations: 106 kB / 16.41 MB, free: 6.5 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.001332/0.001332, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.394/1.394, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05753/0.05753, allocations: 10.74 MB / 281.3 MB, free: 1.289 MB / 222.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.001456/0.001456, allocations: 70.41 kB / 391.5 MB, free: 46.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1136, allocations: 49.04 MB / 440.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.00415/0.1178, allocations: 2.251 MB / 442.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.1195, allocations: 0.6583 MB / 443.4 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.1197, allocations: 15.94 kB / 443.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.12, allocations: 67.33 kB / 443.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.1202, allocations: 43.48 kB / 443.6 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008754/0.1211, allocations: 331.4 kB / 443.9 MB, free: 464 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007871/0.1219, allocations: 0.6482 MB / 444.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.1222, allocations: 106.3 kB / 444.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.1225, allocations: 203.2 kB / 444.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000356/0.1229, allocations: 207 kB / 445 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.789e-05/0.123, allocations: 44 kB / 445.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.778e-05/0.1231, allocations: 39.94 kB / 445.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.1233, allocations: 139.6 kB / 445.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002264/0.1235, allocations: 206.7 kB / 445.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006199/0.1242, allocations: 470.4 kB / 445.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1242, allocations: 0 / 445.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1242, allocations: 0 / 445.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1242, allocations: 0 / 445.9 MB, free: 14.41 MB / 334.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.001611/0.1258, allocations: 0.7401 MB / 446.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.1259, allocations: 15.83 kB / 446.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.126, allocations: 56.27 kB / 446.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007782/0.1268, allocations: 433.9 kB / 447.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.1269, allocations: 25.03 kB / 447.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.303e-05/0.127, allocations: 36.28 kB / 447.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009257/0.1279, allocations: 412.1 kB / 447.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.1279, allocations: 4.125 kB / 447.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.952e-05/0.128, allocations: 19.88 kB / 447.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.128, allocations: 8 kB / 447.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008047/0.1288, allocations: 314.4 kB / 448 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002964/0.1318, allocations: 1.588 MB / 449.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/0.1323, allocations: 208.9 kB / 449.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.1326, allocations: 96.81 kB / 449.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.1326, allocations: 3.938 kB / 449.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.1327, allocations: 38.56 kB / 449.9 MB, free: 10.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.854e-06/0.1327, allocations: 0 / 449.9 MB, free: 10.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0008994/0.1336, allocations: 333.2 kB / 450.2 MB, free: 9.887 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.1337, allocations: 51.41 kB / 450.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007563/0.1344, allocations: 469.8 kB / 450.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/0.1345, allocations: 29.7 kB / 450.7 MB, free: 9.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/0.1348, allocations: 267.8 kB / 451 MB, free: 9.051 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.359e-05/0.1349, allocations: 70.92 kB / 451.1 MB, free: 8.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.135, allocations: 70.02 kB / 451.1 MB, free: 8.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.1353, allocations: 358.8 kB / 451.5 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.1355, allocations: 88.28 kB / 451.6 MB, free: 8.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/0.1359, allocations: 228.8 kB / 451.8 MB, free: 8.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/0.1381, allocations: 0.5855 MB / 452.4 MB, free: 7.535 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.1381, allocations: 4 kB / 452.4 MB, free: 7.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008727/0.139, allocations: 396.6 kB / 452.8 MB, free: 7.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.139, allocations: 10.03 kB / 452.8 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1391, allocations: 4 kB / 452.8 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.1391, allocations: 11.92 kB / 452.8 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.1396, allocations: 91.83 kB / 452.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3e-05/0.1396, allocations: 12.52 kB / 452.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.1399, allocations: 39.59 kB / 452.9 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.1399, allocations: 20 kB / 453 MB, free: 6.953 MB / 334.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.0003769/0.1403, allocations: 202.5 kB / 453.2 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.467e-05/0.1404, allocations: 47.42 kB / 453.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007536/0.1412, allocations: 313.3 kB / 453.5 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.1412, allocations: 4 kB / 453.5 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1412, allocations: 3.938 kB / 453.5 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1412, allocations: 3.984 kB / 453.5 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/0.1418, allocations: 409.2 kB / 453.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1419, allocations: 4 kB / 453.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.1423, allocations: 63.91 kB / 454 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1423, allocations: 0 / 454 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.1424, allocations: 11.98 kB / 454 MB, free: 5.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1424, allocations: 0 / 454 MB, free: 5.848 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1424, allocations: 0 / 454 MB, free: 5.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008084/0.1432, allocations: 495 kB / 454.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.112e-05/0.1433, allocations: 128.5 kB / 454.6 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.1434, allocations: 4.125 kB / 454.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.1435, allocations: 8 kB / 454.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.1436, allocations: 19.97 kB / 454.6 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.1436, allocations: 4 kB / 454.7 MB, free: 5.168 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003263/0.1439, allocations: 323.1 kB / 455 MB, free: 4.852 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1439, allocations: 0 / 455 MB, free: 4.852 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003532/0.1443, allocations: 67.72 kB / 455 MB, free: 4.785 MB / 334.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.0001299/0.1444, allocations: 107.2 kB / 455.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004902/0.1449, allocations: 268.6 kB / 455.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1449, allocations: 0 / 455.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.1451, allocations: 119.9 kB / 455.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.1455, allocations: 38.77 kB / 455.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.1469, allocations: 0.8074 MB / 456.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.1474, allocations: 0.85 MB / 457.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.1475, allocations: 39.36 kB / 457.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1476, allocations: 3.938 kB / 457.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of Templates: time 0.007535/0.1551, allocations: 4.768 MB / 462 MB, free: 13.73 MB / 350.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.makefile (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)