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.001541/0.001541, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001776/0.001776, allocations: 188.1 kB / 16.25 MB, free: 6.617 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.595/1.595, allocations: 205.1 MB / 222.1 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05655/0.05655, allocations: 10.74 MB / 280.2 MB, free: 10.66 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.001331/0.001331, allocations: 67.84 kB / 340 MB, free: 23.66 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1045, allocations: 49.01 MB / 389.1 MB, free: 6.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.00334/0.1079, allocations: 2.317 MB / 391.4 MB, free: 4.246 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.109, allocations: 0.6273 MB / 392 MB, free: 3.617 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.1092, allocations: 15.88 kB / 392 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.1095, allocations: 51.58 kB / 392.1 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.1096, allocations: 31.73 kB / 392.1 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007026/0.1103, allocations: 295.6 kB / 392.4 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005555/0.1109, allocations: 0.6559 MB / 393 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.1111, allocations: 102.4 kB / 393.1 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.1113, allocations: 211.1 kB / 393.4 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.1115, allocations: 211 kB / 393.6 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.491e-05/0.1116, allocations: 40 kB / 393.6 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.535e-05/0.1116, allocations: 36 kB / 393.6 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.1118, allocations: 147.6 kB / 393.8 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.1119, allocations: 190.8 kB / 394 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.1123, allocations: 462.6 kB / 394.4 MB, free: 1.191 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1123, allocations: 0 / 394.4 MB, free: 1.191 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1123, allocations: 8 kB / 394.4 MB, free: 1.184 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.1123, allocations: 0 / 394.4 MB, free: 1.184 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.001048/0.1134, allocations: 0.74 MB / 395.2 MB, free: 400 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1134, allocations: 19.89 kB / 395.2 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.853e-05/0.1135, allocations: 48.38 kB / 395.2 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004634/0.114, allocations: 418 kB / 395.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.114, allocations: 25.03 kB / 395.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.855e-05/0.1141, allocations: 32.38 kB / 395.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.1147, allocations: 412 kB / 396.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1147, allocations: 4.188 kB / 396.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.1147, allocations: 15.94 kB / 396.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.1148, allocations: 8 kB / 396.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000486/0.1153, allocations: 310.4 kB / 396.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.1172, allocations: 1.6 MB / 398 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.1175, allocations: 198.5 kB / 398.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.1177, allocations: 97.08 kB / 398.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.1177, allocations: 15.94 kB / 398.3 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.1177, allocations: 34.52 kB / 398.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 2.294e-06/0.1178, allocations: 0 / 398.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005802/0.1183, allocations: 332.4 kB / 398.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.1184, allocations: 59.36 kB / 398.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.1188, allocations: 457.8 kB / 399.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1188, allocations: 33.7 kB / 399.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.119, allocations: 267.8 kB / 399.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.226e-05/0.119, allocations: 74.89 kB / 399.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-05/0.1191, allocations: 73.88 kB / 399.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1193, allocations: 358.8 kB / 400 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.1194, allocations: 92.27 kB / 400.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.1197, allocations: 228.9 kB / 400.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.1211, allocations: 0.5872 MB / 400.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1211, allocations: 0 / 400.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005684/0.1217, allocations: 408.5 kB / 401.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1217, allocations: 4 kB / 401.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1218, allocations: 4.562 kB / 401.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1218, allocations: 8 kB / 401.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.1221, allocations: 87.89 kB / 401.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.1222, allocations: 15.92 kB / 401.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.1223, allocations: 35.69 kB / 401.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.1223, allocations: 12 kB / 401.4 MB, free: 9.758 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.0002186/0.1226, allocations: 206.8 kB / 401.6 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/0.1226, allocations: 43.53 kB / 401.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005008/0.1231, allocations: 297.4 kB / 402 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1232, allocations: 8 kB / 402 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1232, allocations: 0 / 402 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1232, allocations: 3.984 kB / 402 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/0.1236, allocations: 417.1 kB / 402.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1236, allocations: 0 / 402.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.124, allocations: 67.91 kB / 402.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.124, allocations: 0 / 402.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.124, allocations: 11.98 kB / 402.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.124, allocations: 0 / 402.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.124, allocations: 0 / 402.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006275/0.1246, allocations: 491.3 kB / 403 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.552e-05/0.1248, allocations: 124.5 kB / 403.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.1248, allocations: 8 kB / 403.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.1249, allocations: 11.94 kB / 403.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.125, allocations: 15.97 kB / 403.1 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.125, allocations: 12 kB / 403.1 MB, free: 7.977 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002822/0.1253, allocations: 323 kB / 403.4 MB, free: 7.664 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1253, allocations: 0 / 403.4 MB, free: 7.664 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003216/0.1256, allocations: 63.78 kB / 403.5 MB, free: 7.602 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.000103/0.1257, allocations: 107.2 kB / 403.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004764/0.1262, allocations: 288.1 kB / 403.9 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1262, allocations: 0 / 403.9 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.1264, allocations: 115.8 kB / 404 MB, free: 7.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1268, allocations: 49.41 kB / 404.1 MB, free: 7.047 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.1279, allocations: 0.9276 MB / 405 MB, free: 6.094 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.1282, allocations: 0.85 MB / 405.8 MB, free: 5.211 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001749/0.1284, allocations: 71.23 kB / 405.9 MB, free: 5.141 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.1285, allocations: 35.42 kB / 405.9 MB, free: 5.105 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1285, allocations: 0 / 405.9 MB, free: 5.105 MB / 302.1 MB Notification: Performance of Templates: time 0.005635/0.1342, allocations: 2.45 MB / 408.4 MB, free: 2.684 MB / 302.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)