Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.001149/0.001149, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001369/0.002518, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.0009745/0.0009745, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.00229, allocations: 475.7 kB / 11.72 MB, free: 2.453 MB / 13.93 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.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08799/1.104, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.04516/0.04516, allocations: 5.891 MB / 249.9 MB, free: 9.352 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003443/0.0486, allocations: 2.121 MB / 252.1 MB, free: 7.227 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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_dev_IndustrialControlSystems.Applications.ControlProblems.CascadeControl") translateModel(IndustrialControlSystems.Applications.ControlProblems.CascadeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.CascadeControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 253.3 MB, free: 5.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.205e-05, allocations: 2.312 kB / 253.3 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeControl): time 0.003449/0.003461, allocations: 2.536 MB / 255.8 MB, free: 3.418 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.005033, allocations: 0.8278 MB / 256.7 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.005262, allocations: 31.62 kB / 256.7 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.005487, allocations: 98.94 kB / 256.8 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.005646, allocations: 51.36 kB / 256.8 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009868/0.006633, allocations: 0.4989 MB / 257.3 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007567/0.007389, allocations: 0.6957 MB / 258 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.007578, allocations: 89.61 kB / 258.1 MB, free: 1.121 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004258/0.008004, allocations: 359.2 kB / 258.5 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.008305, allocations: 227.3 kB / 258.7 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.103e-05/0.008386, allocations: 44 kB / 258.7 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.008525, allocations: 71.97 kB / 258.8 MB, free: 444 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.008673, allocations: 143.5 kB / 259 MB, free: 300 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.008827, allocations: 119.6 kB / 259.1 MB, free: 180 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004803/0.009308, allocations: 398.3 kB / 259.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.009319, allocations: 0 / 259.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.009319, allocations: 0 / 259.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.009337, allocations: 4 kB / 259.5 MB, free: 15.78 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.00129/0.01063, allocations: 0.9347 MB / 260.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.01066, allocations: 8.031 kB / 260.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.0108, allocations: 88.86 kB / 260.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005998/0.0114, allocations: 439.1 kB / 260.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.666e-05/0.01145, allocations: 41.69 kB / 261 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.649e-05/0.01153, allocations: 56.36 kB / 261 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006249/0.01215, allocations: 476.8 kB / 261.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.01217, allocations: 8.141 kB / 261.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.311e-05/0.01222, allocations: 28.3 kB / 261.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.01223, allocations: 12.38 kB / 261.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.01251, allocations: 161.6 kB / 261.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.01452, allocations: 1.659 MB / 263.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.01483, allocations: 225.8 kB / 263.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.786e-05/0.01493, allocations: 60.62 kB / 263.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.01495, allocations: 8 kB / 263.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002642/0.01521, allocations: 161.7 kB / 263.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 2.124e-06/0.01521, allocations: 0 / 263.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.0004044/0.01562, allocations: 225.1 kB / 264 MB, free: 11.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.01566, allocations: 63.41 kB / 264.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004144/0.01608, allocations: 498.7 kB / 264.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.01611, allocations: 41.64 kB / 264.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.01632, allocations: 321.3 kB / 264.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.01642, allocations: 135 kB / 265.1 MB, free: 9.957 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.01658, allocations: 150.5 kB / 265.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.01672, allocations: 382.6 kB / 265.6 MB, free: 9.422 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.01682, allocations: 56.8 kB / 265.6 MB, free: 9.363 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.01712, allocations: 408.5 kB / 266 MB, free: 8.801 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006397/0.01776, allocations: 0.6315 MB / 266.7 MB, free: 8.012 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.01776, allocations: 4 kB / 266.7 MB, free: 8.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0006562/0.01842, allocations: 487.9 kB / 267.1 MB, free: 7.527 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.01844, allocations: 8 kB / 267.1 MB, free: 7.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.01846, allocations: 12.88 kB / 267.2 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.01848, allocations: 16 kB / 267.2 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000688/0.01917, allocations: 237.8 kB / 267.4 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/0.01919, allocations: 19.94 kB / 267.4 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.01948, allocations: 91.39 kB / 267.5 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.01953, allocations: 35.94 kB / 267.6 MB, free: 7.117 MB / 266.7 MB Warning: Assuming fixed start value for the following 20 variables: R.FBin:DISCRETE(fixed = true ) \"input of the feedback (reset) filter: cs, or in tracking mode the value giving CS = TR on release\" type: Real 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.FBin:DISCRETE(fixed = true ) \"input of the feedback (reset) filter: cs, or in tracking mode the value giving CS = TR on release\" 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.FBin:DISCRETE(fixed = true ) \"input of the feedback (reset) filter: cs, or in tracking mode the value giving CS = TR on release\" 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 R.FBout:DISCRETE(start = R.FBstart fixed = true ) \"output (and state) of the feedback block 1/(1+sTi)\" type: Real R_outer.FBout:DISCRETE(start = R_outer.FBstart fixed = true ) \"output (and state) of the feedback block 1/(1+sTi)\" type: Real P_outer.U[2]:VARIABLE(fixed = true protected = true ) \"Delayed input vector\" type: Real [2] P_outer.Y[3]:VARIABLE(fixed = true protected = true ) \"State variable vector (canonical form)\" type: Real [3] P2.U[2]:VARIABLE(fixed = true protected = true ) \"Delayed input vector\" type: Real [2] P2.Y[3]:VARIABLE(fixed = true protected = true ) \"State variable vector (canonical form)\" type: Real [3] R_inner.FBout:DISCRETE(start = R_inner.FBstart fixed = true ) \"output (and state) of the feedback block 1/(1+sTi)\" type: Real R_inner.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" type: Real R_outer.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" 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: 52 * Number of states: 0 () * Number of discrete variables: 44 ($PRE.R.FBin,R.FBin,$PRE.R.cs,R.cs,$PRE.R.satin,R.satin,$PRE.R_outer.FBin,R_outer.FBin,$PRE.R_outer.cs,R_outer.cs,$PRE.R_outer.satin,R_outer.satin,$PRE.R_inner.FBin,R_inner.FBin,$PRE.R_inner.cs,R_inner.cs,$PRE.R_inner.satin,R_inner.satin,$whenCondition2,$whenCondition1,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,$PRE.R.FBout,$PRE.R_outer.FBout,R_outer.FBout,R.FBout,$PRE.R_inner.FBout,$PRE.R_inner.CS,$PRE.R_outer.CS,$PRE.R.CS,R_inner.FBout,R_inner.CS,R_outer.CS,R.CS,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 (105): * Single equations (assignments): 105 * 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.0002766/0.0198, allocations: 246 kB / 267.8 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.01987, allocations: 47.94 kB / 267.8 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.891e-05/0.01995, allocations: 57.66 kB / 267.9 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.01996, allocations: 3.984 kB / 267.9 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01996, allocations: 0 / 267.9 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.02002, allocations: 55.52 kB / 268 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.02005, allocations: 15.97 kB / 268 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.878e-05/0.02011, allocations: 19.94 kB / 268 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.02021, allocations: 11.98 kB / 268 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.02027, allocations: 23.95 kB / 268 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004937/0.02076, allocations: 308.2 kB / 268.3 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005048/0.02127, allocations: 0.4901 MB / 268.8 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001172/0.02138, allocations: 72.8 kB / 268.9 MB, free: 5.734 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001422/0.02152, allocations: 196.3 kB / 269.1 MB, free: 5.543 MB / 266.7 MB Notification: Performance of Backend: time 3.91e-07/0.02153, allocations: 4 kB / 269.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004224/0.02195, allocations: 382.5 kB / 269.5 MB, free: 5.164 MB / 266.7 MB Notification: Performance of SimCode: time 0.001163/0.02311, allocations: 1.481 MB / 270.9 MB, free: 3.625 MB / 266.7 MB Notification: Performance of Templates: time 0.1109/0.134, allocations: 4.56 MB / 275.5 MB, free: 15.51 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.CascadeControl.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.CascadeControl.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.CascadeControl.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.CascadeControl.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.CascadeControl.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.CascadeControl -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.CascadeControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1700290692970157]