Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008514/0.0008514, allocations: 76.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000891/0.000891, allocations: 176.9 kB / 23.36 MB, free: 1.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9834/0.9834, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.03771/0.03771, allocations: 8.615 MB / 268.9 MB, free: 4.785 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Applications.ControlProblems.CascadeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl") translateModel(IndustrialControlSystems.Applications.ControlProblems.CascadeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.536e-06/3.536e-06, allocations: 4 kB / 288 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/2.003e-05, allocations: 5.969 kB / 288 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeControl): time 0.1245/0.1245, allocations: 2.437 MB / 290.5 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1258, allocations: 0.7586 MB / 291.2 MB, free: 18.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.126, allocations: 29.66 kB / 291.3 MB, free: 18.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.1263, allocations: 95.16 kB / 291.4 MB, free: 18.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.1264, allocations: 60.33 kB / 291.4 MB, free: 18.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009349/0.1273, allocations: 465.4 kB / 291.9 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006619/0.128, allocations: 0.6685 MB / 292.5 MB, free: 18.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.1281, allocations: 84.27 kB / 292.6 MB, free: 18.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003226/0.1284, allocations: 308.3 kB / 292.9 MB, free: 18.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.1287, allocations: 203.8 kB / 293.1 MB, free: 18.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.176e-05/0.1288, allocations: 40.75 kB / 293.2 MB, free: 18.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.1289, allocations: 60.59 kB / 293.2 MB, free: 18.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.129, allocations: 164.7 kB / 293.4 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.1291, allocations: 149.9 kB / 293.5 MB, free: 17.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.1295, allocations: 404.3 kB / 293.9 MB, free: 17.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1295, allocations: 1.156 kB / 293.9 MB, free: 17.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1295, allocations: 0.75 kB / 293.9 MB, free: 17.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.1295, allocations: 0 / 293.9 MB, free: 17.71 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.0008931/0.1304, allocations: 0.791 MB / 294.7 MB, free: 17.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1305, allocations: 8.812 kB / 294.7 MB, free: 17.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.1306, allocations: 88 kB / 294.8 MB, free: 17.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.131, allocations: 408 kB / 295.2 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.1311, allocations: 40.27 kB / 295.2 MB, free: 16.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.967e-05/0.1311, allocations: 60.31 kB / 295.3 MB, free: 16.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.1316, allocations: 485.7 kB / 295.8 MB, free: 16.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.1316, allocations: 3.031 kB / 295.8 MB, free: 16.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.1317, allocations: 23.98 kB / 295.8 MB, free: 16.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.1317, allocations: 14.31 kB / 295.8 MB, free: 16.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.1319, allocations: 169.3 kB / 296 MB, free: 16.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.1334, allocations: 2.174 MB / 298.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.1336, allocations: 192.5 kB / 298.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.37e-05/0.1337, allocations: 40.19 kB / 298.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.1337, allocations: 5.938 kB / 298.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.1339, allocations: 141.6 kB / 298.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 2.264e-06/0.1339, allocations: 0 / 298.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.0002799/0.1342, allocations: 193.7 kB / 298.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.1342, allocations: 64.66 kB / 298.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.1345, allocations: 484.9 kB / 299.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1345, allocations: 34.47 kB / 299.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1346, allocations: 315.6 kB / 299.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.1347, allocations: 108.5 kB / 299.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.1348, allocations: 138.6 kB / 299.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.838e-05/0.1348, allocations: 376.7 kB / 300.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.207e-05/0.1349, allocations: 47.52 kB / 300.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.1351, allocations: 426.1 kB / 300.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005044/0.1356, allocations: 0.6263 MB / 301.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/0.1356, allocations: 4.75 kB / 301.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007264/0.1363, allocations: 463.9 kB / 301.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1364, allocations: 12.78 kB / 301.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.1364, allocations: 14.66 kB / 301.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.1364, allocations: 18.47 kB / 301.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.1367, allocations: 154.9 kB / 302 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/0.1367, allocations: 23.86 kB / 302 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.1369, allocations: 88.73 kB / 302.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.1369, allocations: 39.41 kB / 302.1 MB, free: 12.09 MB / 266.7 MB Warning: Assuming fixed start value for the following 17 variables: R.cs:DISCRETE(fixed = true ) \"Pre-biased Control Signal\" type: Real R.satin:DISCRETE(fixed = true ) \"input of the saturation block\" type: Real R_outer.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" type: Real R_outer.cs:DISCRETE(fixed = true ) \"Pre-biased Control Signal\" type: Real R_outer.satin:DISCRETE(fixed = true ) \"input of the saturation block\" type: Real R_inner.cs:DISCRETE(fixed = true ) \"Pre-biased Control Signal\" type: Real R_inner.satin:DISCRETE(fixed = true ) \"input of the saturation block\" type: Real P_outer.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real P_outer.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] P_outer.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] P2.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real P2.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] P2.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] R_inner.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" type: Real P_inner.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real R.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" type: Real P1.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: 58 * Number of states: 0 () * Number of discrete variables: 38 (R.FBout,$PRE.R.FBout,$PRE.R.cs,R.cs,$PRE.R.satin,R.satin,$PRE.R_outer.CS,R_outer.CS,R_outer.FBout,$PRE.R_outer.FBout,$PRE.R_outer.cs,R_outer.cs,$PRE.R_outer.satin,R_outer.satin,R_inner.FBout,$PRE.R_inner.FBout,$PRE.R_inner.cs,R_inner.cs,$PRE.R_inner.satin,R_inner.satin,$whenCondition2,$whenCondition1,$PRE.R_inner.CS,$PRE.R.CS,R_inner.CS,R.CS,R.ATreq_in,R.satHIGH_in,R.satLOW_in,R_outer.ATreq_in,R_outer.satHIGH_in,R_outer.satLOW_in,R_inner.ATreq_in,R_inner.satHIGH_in,R_inner.satLOW_in,R.TS_in,R_outer.TS_in,R_inner.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0002049/0.1371, allocations: 214.8 kB / 302.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/0.1372, allocations: 40.61 kB / 302.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.103e-05/0.1373, allocations: 50.61 kB / 302.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1373, allocations: 6.5 kB / 302.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.1373, allocations: 1.281 kB / 302.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1373, allocations: 1.922 kB / 302.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.1375, allocations: 219.6 kB / 302.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1375, allocations: 0.75 kB / 302.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.1376, allocations: 45.92 kB / 302.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.1377, allocations: 1.406 kB / 302.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.1377, allocations: 11.84 kB / 302.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1377, allocations: 1.969 kB / 302.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1377, allocations: 5.625 kB / 302.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.138, allocations: 261.9 kB / 302.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.138, allocations: 52.52 kB / 303 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.1381, allocations: 11.89 kB / 303 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.203e-05/0.1381, allocations: 13.3 kB / 303 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.1382, allocations: 19.44 kB / 303 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.1382, allocations: 12.42 kB / 303.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001437/0.1383, allocations: 183.7 kB / 303.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1383, allocations: 0 / 303.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003372/0.1387, allocations: 116.6 kB / 303.3 MB, free: 11.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (P1.w,P2.Y[3],P2.U[2],P2.w,P_inner.w,P_outer.Y[3],P_outer.U[2],P_outer.w) * Number of discrete variables: 14 ($whenCondition2,$whenCondition1,R.CS,R.FBout,R.cs,R.satin,R_outer.CS,R_outer.FBout,R_outer.cs,R_outer.satin,R_inner.CS,R_inner.FBout,R_inner.cs,R_inner.satin) * Number of discrete states: 6 (R_inner.FBout,R_inner.cs,R_outer.FBout,R_outer.cs,R.FBout,R.cs) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0001334/0.1388, allocations: 105.9 kB / 303.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.1391, allocations: 280.6 kB / 303.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/0.1391, allocations: 7.375 kB / 303.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.616e-05/0.1392, allocations: 81.2 kB / 303.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.1394, allocations: 59.2 kB / 303.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008756/0.1403, allocations: 0.8722 MB / 304.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.478e-05/0.1403, allocations: 148.7 kB / 304.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.1404, allocations: 60.73 kB / 304.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.67e-05/0.1405, allocations: 110.6 kB / 305.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of SimCode: time 2.715e-06/0.1405, allocations: 4 kB / 305.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of Templates: time 0.008187/0.1487, allocations: 3.543 MB / 308.6 MB, free: 8.293 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl.sim & ./IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.044402831234038]