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.0008939/0.000894, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0007742/0.0007741, allocations: 168.7 kB / 15.95 MB, free: 204 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.609/1.609, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05713/0.05713, allocations: 10.75 MB / 281.1 MB, free: 10.79 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.000577/0.0005771, allocations: 15.98 kB / 341.6 MB, free: 23.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1269, allocations: 50 MB / 391.6 MB, free: 5.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.002919/0.1299, allocations: 1.875 MB / 393.5 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1314, allocations: 0.6197 MB / 394.1 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003015/0.1318, allocations: 15.88 kB / 394.1 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.1321, allocations: 47.58 kB / 394.2 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.1324, allocations: 27.73 kB / 394.2 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.1334, allocations: 227.6 kB / 394.4 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008456/0.1343, allocations: 0.5506 MB / 395 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.1345, allocations: 85.73 kB / 395.1 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003788/0.1349, allocations: 183.1 kB / 395.3 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003526/0.1353, allocations: 175.1 kB / 395.4 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.226e-05/0.1353, allocations: 12 kB / 395.4 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.848e-05/0.1354, allocations: 16 kB / 395.5 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.1356, allocations: 111.6 kB / 395.6 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1357, allocations: 93.44 kB / 395.7 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.1361, allocations: 347.5 kB / 396 MB, free: 1.402 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1361, allocations: 0 / 396 MB, free: 1.402 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1361, allocations: 0 / 396 MB, free: 1.402 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.2e-05/0.1361, allocations: 0 / 396 MB, free: 1.402 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.00133/0.1375, allocations: 0.6777 MB / 396.7 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1375, allocations: 8.031 kB / 396.7 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.1377, allocations: 55.3 kB / 396.7 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/0.1383, allocations: 397 kB / 397.1 MB, free: 188 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.1384, allocations: 24.66 kB / 397.1 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.306e-05/0.1384, allocations: 39.84 kB / 397.2 MB, free: 124 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007311/0.1392, allocations: 415.5 kB / 397.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.1392, allocations: 0 / 397.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.1393, allocations: 12 kB / 397.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.1393, allocations: 8 kB / 397.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005821/0.1399, allocations: 318.4 kB / 397.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.1423, allocations: 1.604 MB / 399.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.1427, allocations: 206.4 kB / 399.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.1429, allocations: 100.8 kB / 399.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.1429, allocations: 4 kB / 399.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.143, allocations: 38.56 kB / 399.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 3.346e-06/0.143, allocations: 3.984 kB / 399.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006714/0.1436, allocations: 349.2 kB / 400.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.1437, allocations: 59.36 kB / 400.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005434/0.1443, allocations: 453.8 kB / 400.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.1443, allocations: 29.7 kB / 400.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.1445, allocations: 263.8 kB / 401 MB, free: 12.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.499e-05/0.1446, allocations: 74.91 kB / 401.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/0.1446, allocations: 8 kB / 401.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1448, allocations: 354.8 kB / 401.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.145, allocations: 100.3 kB / 401.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.1453, allocations: 233 kB / 401.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.1455, allocations: 137 kB / 401.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1455, allocations: 8 kB / 401.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006271/0.1462, allocations: 404.8 kB / 402.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1462, allocations: 11.12 kB / 402.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.1462, allocations: 4 kB / 402.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.1462, allocations: 8 kB / 402.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.1466, allocations: 95.78 kB / 402.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.1466, allocations: 8 kB / 402.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.1468, allocations: 47.86 kB / 402.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.1469, allocations: 16 kB / 402.5 MB, free: 10.58 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.P11.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 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002847/0.1472, allocations: 194.6 kB / 402.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.1472, allocations: 39.47 kB / 402.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005947/0.1478, allocations: 321.4 kB / 403 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.1479, allocations: 4 kB / 403 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.1479, allocations: 7.953 kB / 403 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.1479, allocations: 0 / 403 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.1484, allocations: 413.2 kB / 403.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1484, allocations: 0 / 403.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.1488, allocations: 67.91 kB / 403.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1488, allocations: 0 / 403.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.1488, allocations: 8 kB / 403.5 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.1488, allocations: 3.984 kB / 403.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1488, allocations: 0 / 403.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000768/0.1496, allocations: 0.4991 MB / 404 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.1498, allocations: 120.6 kB / 404.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.1498, allocations: 7.984 kB / 404.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.1499, allocations: 16 kB / 404.1 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.15, allocations: 11.98 kB / 404.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.1501, allocations: 7.984 kB / 404.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003849/0.1504, allocations: 315.1 kB / 404.5 MB, free: 8.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1505, allocations: 0 / 404.5 MB, free: 8.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003803/0.1508, allocations: 71.7 kB / 404.5 MB, free: 8.41 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 (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.0001299/0.151, allocations: 103.2 kB / 404.6 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004913/0.1515, allocations: 272.6 kB / 404.9 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1515, allocations: 0 / 404.9 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.1517, allocations: 123.9 kB / 405 MB, free: 7.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.1521, allocations: 37.95 kB / 405.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.1536, allocations: 0.8992 MB / 406 MB, free: 6.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.1542, allocations: 0.8502 MB / 406.8 MB, free: 6.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002161/0.1544, allocations: 71.23 kB / 406.9 MB, free: 5.996 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.7e-05/0.1545, allocations: 35.44 kB / 406.9 MB, free: 5.961 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1545, allocations: 3.938 kB / 406.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of Templates: time 0.007222/0.1617, allocations: 2.262 MB / 409.2 MB, free: 3.723 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: