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.001175/0.001175, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001216/0.001216, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.013/1.013, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.0396/0.0396, allocations: 8.625 MB / 268.9 MB, free: 4.805 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 1.603e-06/1.603e-06, allocations: 0 / 288.1 MB, free: 1.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.61e-05, allocations: 2.312 kB / 288.1 MB, free: 1.582 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeControl): time 0.1249/0.1249, allocations: 2.48 MB / 290.6 MB, free: 19.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.1263, allocations: 0.7644 MB / 291.3 MB, free: 18.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.1265, allocations: 29.22 kB / 291.4 MB, free: 18.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.1268, allocations: 92.31 kB / 291.5 MB, free: 18.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.1269, allocations: 49.23 kB / 291.5 MB, free: 18.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.1279, allocations: 468.8 kB / 292 MB, free: 18.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007842/0.1287, allocations: 0.6781 MB / 292.6 MB, free: 18.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.1289, allocations: 81.98 kB / 292.7 MB, free: 18.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/0.1293, allocations: 306.4 kB / 293 MB, free: 18.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.1296, allocations: 198.1 kB / 293.2 MB, free: 17.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.234e-05/0.1296, allocations: 43.23 kB / 293.3 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.1298, allocations: 62.41 kB / 293.3 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.1299, allocations: 172.7 kB / 293.5 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.1301, allocations: 142.4 kB / 293.6 MB, free: 17.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005275/0.1306, allocations: 407.8 kB / 294 MB, free: 17.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1306, allocations: 1.594 kB / 294 MB, free: 17.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1306, allocations: 0.5 kB / 294 MB, free: 17.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.37e-05/0.1306, allocations: 0.625 kB / 294 MB, free: 17.62 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.00127/0.1319, allocations: 0.7935 MB / 294.8 MB, free: 17.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.132, allocations: 13.56 kB / 294.8 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.1322, allocations: 81.56 kB / 294.9 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007354/0.1329, allocations: 407.7 kB / 295.3 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.1329, allocations: 38.06 kB / 295.3 MB, free: 16.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-05/0.133, allocations: 54.98 kB / 295.4 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.1336, allocations: 494 kB / 295.9 MB, free: 16.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.1336, allocations: 2.344 kB / 295.9 MB, free: 16.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.1336, allocations: 26 kB / 295.9 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.1337, allocations: 12.78 kB / 295.9 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.1339, allocations: 165.2 kB / 296.1 MB, free: 16.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.1356, allocations: 2.178 MB / 298.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.1359, allocations: 191.6 kB / 298.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.696e-05/0.136, allocations: 42.19 kB / 298.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.136, allocations: 6.234 kB / 298.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.1362, allocations: 139.6 kB / 298.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.814e-06/0.1362, allocations: 0.5625 kB / 298.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.0003173/0.1365, allocations: 193.1 kB / 298.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.1366, allocations: 66.78 kB / 298.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.1369, allocations: 480.5 kB / 299.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.1369, allocations: 34.58 kB / 299.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.1371, allocations: 314.7 kB / 299.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.823e-05/0.1371, allocations: 112.8 kB / 299.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.1372, allocations: 134.7 kB / 299.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.1373, allocations: 379.3 kB / 300.3 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/0.1374, allocations: 50.12 kB / 300.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.1376, allocations: 425.9 kB / 300.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005245/0.1381, allocations: 0.6187 MB / 301.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.1381, allocations: 7.156 kB / 301.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.000609/0.1387, allocations: 460.8 kB / 301.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.1387, allocations: 15.53 kB / 301.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.1387, allocations: 11.75 kB / 301.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/0.1388, allocations: 17.84 kB / 301.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/0.1392, allocations: 186.7 kB / 302.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-05/0.1392, allocations: 32.25 kB / 302.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.1394, allocations: 83.06 kB / 302.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.1395, allocations: 35 kB / 302.2 MB, free: 12.01 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.0002722/0.1397, allocations: 212.1 kB / 302.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.1398, allocations: 39.25 kB / 302.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.477e-05/0.1399, allocations: 54.61 kB / 302.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1399, allocations: 3.5 kB / 302.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1399, allocations: 6.562 kB / 302.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1399, allocations: 1.406 kB / 302.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.1402, allocations: 219.3 kB / 302.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1402, allocations: 1.031 kB / 302.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.1404, allocations: 70.31 kB / 302.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1404, allocations: 0 / 302.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.1404, allocations: 17.44 kB / 302.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1404, allocations: 0 / 302.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1404, allocations: 5.719 kB / 302.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.1407, allocations: 255.9 kB / 303.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.1408, allocations: 52.58 kB / 303.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.1408, allocations: 17.25 kB / 303.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.1409, allocations: 13.27 kB / 303.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.1409, allocations: 14.19 kB / 303.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.1409, allocations: 12.59 kB / 303.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001372/0.1411, allocations: 185.7 kB / 303.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1411, allocations: 0 / 303.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004132/0.1415, allocations: 113.3 kB / 303.5 MB, free: 11.41 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.0001492/0.1416, allocations: 108.9 kB / 303.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003587/0.142, allocations: 274.8 kB / 303.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/0.142, allocations: 9.219 kB / 303.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.824e-05/0.1421, allocations: 76.08 kB / 304 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.1423, allocations: 70.52 kB / 304 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009579/0.1433, allocations: 0.8835 MB / 304.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.164e-05/0.1433, allocations: 140 kB / 305 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.1435, allocations: 66.41 kB / 305.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.1436, allocations: 113.4 kB / 305.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1436, allocations: 0 / 305.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of Templates: time 0.006711/0.1503, allocations: 3.738 MB / 309 MB, free: 7.938 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.925601691007614]