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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002116/0.0002116, allocations: 0 / 0, free: 0 / 0 " [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.0001768/0.0001768, allocations: 0 / 0, free: 0 / 0 " [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.1013/0.1013, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.007007/0.007007, allocations: 0 / 0, free: 0 / 0 " [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: simulate(IndustrialControlSystems.Applications.ControlProblems.CascadeControl,startTime=0,stopTime=90,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(IndustrialControlSystems.Applications.ControlProblems.CascadeControl,startTime=0,stopTime=90,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 8.81e-07/8.81e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.183e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeControl): time 0.003209/0.003231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001765/0.004996, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.005216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.005501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.005687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.006701, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0006644/0.007366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.007521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00041/0.007931, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.008146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 5.985e-05/0.008206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.00831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.008471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.008598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0006281/0.009226, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 5.415e-05/0.00928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.813e-06/0.009282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.007e-05/0.009292, allocations: 0 / 0, free: 0 / 0 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.001002/0.01029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.18e-05/0.01037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.0105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005408/0.01104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.733e-05/0.0111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 7.876e-05/0.01117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005872/0.01176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.01179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.185e-05/0.01185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.01186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.01209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.01404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.01432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 6.326e-05/0.01438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.01439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.0146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=30): time 3.326e-06/0.0146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=30): time 0.0003116/0.01492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.01494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.01519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.01524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.0154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/0.01547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.01559, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.06e-05/0.01562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 7.044e-05/0.01569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.01582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.01616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.01618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=92) (initialization): time 0.0005166/0.01669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.01672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.01674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/0.01677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.01712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-05/0.01715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.0174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.01745, allocations: 0 / 0, free: 0 / 0 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.0002358/0.01768, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.01774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.274e-05/0.01782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.01783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.01783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.01807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.01807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.01823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.01823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.01827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.01827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.01862, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.01868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.01881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.0189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.01895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.01898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001291/0.01911, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.346e-05/0.01912, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0006485/0.01977, allocations: 0 / 0, free: 0 / 0 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.0002004/0.01997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0003123/0.02028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.02029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 9.703e-05/0.02038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.02067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008773/0.02155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.02166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001186/0.02178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.02191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.909e-05/0.02194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.000959/0.0229, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.9157558199949563]