Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestGainScheduling.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.0006602/0.0006602, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009011/0.001561, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006692/0.0006692, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000877/0.001546, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09864/1.1, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.04108/0.04108, allocations: 9.789 MB / 253.8 MB, free: 5.605 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006551/0.04763, allocations: 3.468 MB / 257.2 MB, free: 2.125 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.Controllers.Examples.TestGainScheduling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestGainScheduling") translateModel(IndustrialControlSystems.Controllers.Examples.TestGainScheduling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestGainScheduling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 258.5 MB, free: 0.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.36e-05, allocations: 5.406 kB / 258.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestGainScheduling): time 0.002991/0.003015, allocations: 1.822 MB / 260.3 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.005004, allocations: 0.8681 MB / 261.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003469/0.005351, allocations: 51.44 kB / 261.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.005575, allocations: 110.7 kB / 261.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.005708, allocations: 39.44 kB / 261.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006944/0.006402, allocations: 419.1 kB / 261.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005269/0.006929, allocations: 0.6092 MB / 262.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.007164, allocations: 126.5 kB / 262.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.007451, allocations: 299.2 kB / 262.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.007629, allocations: 155.3 kB / 263 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.007673, allocations: 40 kB / 263 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.007803, allocations: 79.97 kB / 263.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.00786, allocations: 83.61 kB / 263.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/0.007941, allocations: 119.6 kB / 263.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.008287, allocations: 366.3 kB / 263.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-05/0.008304, allocations: 0 / 263.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.008306, allocations: 0 / 263.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.008324, allocations: 0 / 263.7 MB, free: 11.66 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0009055/0.00923, allocations: 0.8843 MB / 264.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.009266, allocations: 8.031 kB / 264.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.167e-05/0.009357, allocations: 100.9 kB / 264.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.009854, allocations: 471.2 kB / 265.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.009915, allocations: 71.58 kB / 265.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.009968, allocations: 60.36 kB / 265.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.01037, allocations: 0.5284 MB / 265.8 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.01038, allocations: 4.188 kB / 265.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.01041, allocations: 28.38 kB / 265.8 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.01042, allocations: 24.06 kB / 265.8 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.01059, allocations: 174.6 kB / 266 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.01206, allocations: 2.609 MB / 268.6 MB, free: 6.461 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.01225, allocations: 90.5 kB / 268.7 MB, free: 6.363 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.0123, allocations: 40.84 kB / 268.7 MB, free: 6.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.01231, allocations: 4 kB / 268.7 MB, free: 6.316 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.01246, allocations: 142.5 kB / 268.9 MB, free: 6.156 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.132e-06/0.01246, allocations: 0 / 268.9 MB, free: 6.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002253/0.01268, allocations: 168.6 kB / 269 MB, free: 5.988 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.01274, allocations: 118.7 kB / 269.2 MB, free: 5.848 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.01298, allocations: 482.6 kB / 269.6 MB, free: 5.363 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.013, allocations: 33.7 kB / 269.7 MB, free: 5.324 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.01314, allocations: 329.2 kB / 270 MB, free: 4.996 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.01318, allocations: 83.34 kB / 270.1 MB, free: 4.914 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.878e-05/0.01327, allocations: 142.1 kB / 270.2 MB, free: 4.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.01337, allocations: 378.7 kB / 270.6 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.057e-05/0.01341, allocations: 41.64 kB / 270.6 MB, free: 4.352 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.01361, allocations: 443.1 kB / 271 MB, free: 3.727 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.014, allocations: 0.6009 MB / 271.6 MB, free: 2.938 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.014, allocations: 4 kB / 271.6 MB, free: 2.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0003723/0.01437, allocations: 452.9 kB / 272.1 MB, free: 2.484 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.01439, allocations: 12.97 kB / 272.1 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.0144, allocations: 12 kB / 272.1 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.01442, allocations: 24 kB / 272.1 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.01467, allocations: 147.7 kB / 272.3 MB, free: 2.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.01468, allocations: 23.94 kB / 272.3 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.01483, allocations: 75.5 kB / 272.4 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.01486, allocations: 35.98 kB / 272.4 MB, free: 2.16 MB / 266.7 MB Warning: Assuming fixed start value for the following 9 variables: Pd.Pout:DISCRETE(fixed = true ) \"output of the proportional block\" type: Real Pd.satin:DISCRETE(fixed = true ) \"input of the saturation block\" type: Real Pd.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" type: Real PId.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" type: Real PId.FBin:DISCRETE(fixed = true ) \"input of the feedback (reset) filter: cs, or in tracking mode the value giving CS = TR on release\" type: Real PId.cs:DISCRETE(fixed = true ) \"Pre-biased Control Signal\" type: Real PId.satin:DISCRETE(fixed = true ) \"input of the saturation block\" type: Real Id.Iout:DISCRETE(fixed = true ) \"output of the Integral block\" type: Real Id.satin:DISCRETE(fixed = true ) \"input of the saturation block\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.Pd.Pout,Pd.Pout,$PRE.Pd.satin,Pd.satin,$PRE.Pd.CS,Pd.CS,$PRE.PId.CS,PId.CS,$PRE.PId.FBin,PId.FBin,$PRE.PId.cs,PId.cs,$PRE.PId.satin,PId.satin,$PRE.Id.Iout,Id.Iout,$PRE.Id.satin,Id.satin,Id.CS,$PRE.Id.CS,$whenCondition1,Pc.ATreq_in,Pc.satHIGH_in,Pc.satLOW_in,Pd.ATreq_in,Pd.satHIGH_in,Pd.satLOW_in,PIc.ATreq_in,PIc.satHIGH_in,PIc.satLOW_in,PId.ATreq_in,PId.satHIGH_in,PId.satLOW_in,Ic.ATreq_in,Ic.satHIGH_in,Ic.satLOW_in,Id.ATreq_in,Id.satHIGH_in,Id.satLOW_in,PId.FBout,$PRE.PId.FBout,Pc.TS_in,Pd.TS_in,PIc.TS_in,PId.TS_in,Ic.TS_in,Id.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0001628/0.01502, allocations: 209.8 kB / 272.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.01505, allocations: 39.95 kB / 272.7 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.0151, allocations: 44.2 kB / 272.7 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.0151, allocations: 7.938 kB / 272.7 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.0151, allocations: 0 / 272.7 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01511, allocations: 8 kB / 272.7 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.01553, allocations: 0.5376 MB / 273.3 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.01553, allocations: 4 kB / 273.3 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.01564, allocations: 40.03 kB / 273.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.01567, allocations: 51.61 kB / 273.3 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01568, allocations: 4 kB / 273.4 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.01569, allocations: 16.11 kB / 273.4 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.01569, allocations: 3.938 kB / 273.4 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.01569, allocations: 4 kB / 273.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.01594, allocations: 403 kB / 273.8 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.01597, allocations: 8 kB / 273.8 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.97e-05/0.01605, allocations: 11.92 kB / 273.8 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.01607, allocations: 15.98 kB / 273.8 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.01608, allocations: 7.984 kB / 273.8 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.192e-05/0.01617, allocations: 176.4 kB / 274 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01617, allocations: 0 / 274 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003214/0.0165, allocations: 115.7 kB / 274.1 MB, free: 388 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (PIc.FBout,Ic.Iout) * Number of discrete variables: 12 ($whenCondition1,Pd.CS,Pd.Pout,Pd.satin,PId.CS,PId.FBout,PId.cs,PId.satin,PId.FBin,Id.CS,Id.Iout,Id.satin) * Number of discrete states: 5 (PId.FBout,PId.FBin,Id.SP,Id.PV,Id.CS) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.0001289/0.01662, allocations: 116 kB / 274.2 MB, free: 268 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.01685, allocations: 266.2 kB / 274.5 MB, free: 0 / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 0.1008/0.1176, allocations: 8.516 kB / 274.5 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.1178, allocations: 64.48 kB / 274.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1181, allocations: 103.8 kB / 274.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009067/0.119, allocations: 0.8419 MB / 275.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.96e-05/0.1191, allocations: 115 kB / 275.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.1192, allocations: 64.58 kB / 275.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.1193, allocations: 112.5 kB / 275.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of SimCode: time 1.373e-06/0.1193, allocations: 2.219 kB / 275.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of Templates: time 0.006779/0.1261, allocations: 3.414 MB / 279.2 MB, free: 13.2 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestGainScheduling.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestGainScheduling.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestGainScheduling.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestGainScheduling.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestGainScheduling.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestGainScheduling -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestGainScheduling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.867278845049441]