Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup") translateModel(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001849/0.001849, allocations: 183.1 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06066/0.06066, allocations: 10.75 MB / 27.48 MB, free: 1.887 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 235.7 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008873/0.0008872, allocations: 105 kB / 285.5 MB, free: 12.82 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001109, allocations: 55.92 kB / 345.3 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2438, allocations: 49.01 MB / 394.3 MB, free: 35.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup): time 0.003287/0.2472, allocations: 2.705 MB / 397 MB, free: 32.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.2493, allocations: 1.344 MB / 398.3 MB, free: 31.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002456/0.2495, allocations: 11.88 kB / 398.4 MB, free: 31.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.2499, allocations: 115.2 kB / 398.5 MB, free: 31.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.2501, allocations: 71.61 kB / 398.5 MB, free: 31.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008699/0.251, allocations: 383.4 kB / 398.9 MB, free: 30.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006029/0.2516, allocations: 0.9488 MB / 399.9 MB, free: 29.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.2518, allocations: 130.5 kB / 400 MB, free: 29.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.252, allocations: 342.7 kB / 400.3 MB, free: 29.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.2524, allocations: 390.2 kB / 400.7 MB, free: 29.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.623e-05/0.2525, allocations: 36 kB / 400.7 MB, free: 29.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.2526, allocations: 107.9 kB / 400.8 MB, free: 28.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.2528, allocations: 147.4 kB / 401 MB, free: 28.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002401/0.253, allocations: 386.4 kB / 401.4 MB, free: 28.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004591/0.2535, allocations: 0.7221 MB / 402.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2535, allocations: 0 / 402.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.2535, allocations: 0 / 402.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.2535, allocations: 4 kB / 402.1 MB, free: 27.7 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001188/0.2547, allocations: 1.177 MB / 403.3 MB, free: 26.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2547, allocations: 8.031 kB / 403.3 MB, free: 26.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.2549, allocations: 99.81 kB / 403.4 MB, free: 26.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.2555, allocations: 0.5089 MB / 403.9 MB, free: 25.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.2555, allocations: 41.38 kB / 403.9 MB, free: 25.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.2556, allocations: 72.36 kB / 404 MB, free: 25.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009692/0.2566, allocations: 0.6761 MB / 404.7 MB, free: 24.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.2566, allocations: 3.906 kB / 404.7 MB, free: 24.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.936e-05/0.2567, allocations: 32 kB / 404.7 MB, free: 24.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.2567, allocations: 16 kB / 404.7 MB, free: 24.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005972/0.2573, allocations: 468 kB / 405.2 MB, free: 24.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.2595, allocations: 1.613 MB / 406.8 MB, free: 22.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.26, allocations: 0.5809 MB / 407.4 MB, free: 22.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.2604, allocations: 0.5175 MB / 407.9 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.2605, allocations: 4 kB / 407.9 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004677/0.2609, allocations: 0.523 MB / 408.4 MB, free: 21.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.325e-06/0.261, allocations: 0 / 408.4 MB, free: 21.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.001578/0.2625, allocations: 1.229 MB / 409.6 MB, free: 19.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.2627, allocations: 423.7 kB / 410.1 MB, free: 19.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.2631, allocations: 0.6169 MB / 410.7 MB, free: 18.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.2632, allocations: 45.7 kB / 410.7 MB, free: 18.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.2633, allocations: 367.8 kB / 411.1 MB, free: 18.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.522e-05/0.2634, allocations: 177.7 kB / 411.3 MB, free: 18.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.2636, allocations: 186.5 kB / 411.4 MB, free: 17.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.758e-05/0.2637, allocations: 394.7 kB / 411.8 MB, free: 17.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.2639, allocations: 246.9 kB / 412.1 MB, free: 17.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.2643, allocations: 0.7668 MB / 412.8 MB, free: 16.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.2657, allocations: 1.669 MB / 414.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.2658, allocations: 8 kB / 414.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.001402/0.2672, allocations: 1.271 MB / 415.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.2673, allocations: 156.4 kB / 415.9 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.2673, allocations: 20.09 kB / 416 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-05/0.2673, allocations: 32.11 kB / 416 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/0.2678, allocations: 195.5 kB / 416.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.432e-05/0.2678, allocations: 39.86 kB / 416.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.2682, allocations: 115.3 kB / 416.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.2683, allocations: 72 kB / 416.4 MB, free: 12.24 MB / 298.7 MB Warning: Assuming fixed start value for the following 56 variables: PID_inner.sp:DISCRETE(fixed = true protected = true ) type: Real PID_inner.dsp:DISCRETE(fixed = true protected = true ) type: Real PID_inner.pv:DISCRETE(fixed = true protected = true ) type: Real PID_inner.dpv:DISCRETE(fixed = true protected = true ) type: Real PID_outer_extLock.sp:DISCRETE(fixed = true protected = true ) type: Real PID_outer_extLock.dsp:DISCRETE(fixed = true protected = true ) type: Real PID_outer_extLock.pv:DISCRETE(fixed = true protected = true ) type: Real PID_outer_extLock.dpv:DISCRETE(fixed = true protected = true ) type: Real PID_inner_extLock.sp:DISCRETE(fixed = true protected = true ) type: Real PID_inner_extLock.dsp:DISCRETE(fixed = true protected = true ) type: Real PID_inner_extLock.pv:DISCRETE(fixed = true protected = true ) type: Real PID_inner_extLock.dpv:DISCRETE(fixed = true protected = true ) type: Real PID_outer.sp:DISCRETE(fixed = true protected = true ) type: Real PID_outer.dsp:DISCRETE(fixed = true protected = true ) type: Real PID_outer.pv:DISCRETE(fixed = true protected = true ) type: Real PID_outer.dpv:DISCRETE(fixed = true protected = true ) type: Real PID_outer.CS:DISCRETE(flow=false fixed = true ) "Control signal" type: Real PID_outer.satLOW:DISCRETE(flow=false fixed = true ) "The CS signal saturated at CSmin" type: Boolean PID_outer.satHI:DISCRETE(flow=false fixed = true ) "The CS signal saturated at CSmax" type: Boolean PID_outer.dp:DISCRETE(fixed = true protected = true ) type: Real PID_outer.di:DISCRETE(fixed = true protected = true ) type: Real PID_outer.d:DISCRETE(fixed = true protected = true ) type: Real PID_outer.dd:DISCRETE(fixed = true protected = true ) type: Real PID_outer.dcs:DISCRETE(fixed = true protected = true ) type: Real PID_outer.cs:DISCRETE(fixed = true protected = true ) type: Real PID_outer_extLock.F_dec:DISCRETE(fixed = true ) "forbidden decrement signal" type: Boolean PID_outer_extLock.F_inc:DISCRETE(fixed = true ) "forbidden increment signal" type: Boolean PID_inner_extLock.dp:DISCRETE(fixed = true protected = true ) type: Real PID_inner_extLock.di:DISCRETE(fixed = true protected = true ) type: Real PID_inner_extLock.d:DISCRETE(fixed = true protected = true ) type: Real PID_inner_extLock.dd:DISCRETE(fixed = true protected = true ) type: Real PID_inner_extLock.dcs:DISCRETE(fixed = true protected = true ) type: Real PID_inner_extLock.cs:DISCRETE(fixed = true protected = true ) type: Real PID_outer_extLock.CS:DISCRETE(flow=false fixed = true ) "Control signal" type: Real PID_outer_extLock.satLOW:DISCRETE(flow=false fixed = true ) "The CS signal saturated at CSmin" type: Boolean PID_outer_extLock.satHI:DISCRETE(flow=false fixed = true ) "The CS signal saturated at CSmax" type: Boolean PID_outer_extLock.dp:DISCRETE(fixed = true protected = true ) type: Real PID_outer_extLock.di:DISCRETE(fixed = true protected = true ) type: Real PID_outer_extLock.d:DISCRETE(fixed = true protected = true ) type: Real PID_outer_extLock.dd:DISCRETE(fixed = true protected = true ) type: Real PID_outer_extLock.dcs:DISCRETE(fixed = true protected = true ) type: Real PID_outer_extLock.cs:DISCRETE(fixed = true protected = true ) type: Real P2.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real P1.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real PID_inner_extLock.CS:DISCRETE(flow=false fixed = true ) "Control signal" type: Real PID_inner.satLOW:DISCRETE(flow=false fixed = true ) "The CS signal saturated at CSmin" type: Boolean PID_inner.satHI:DISCRETE(flow=false fixed = true ) "The CS signal saturated at CSmax" type: Boolean PID_inner.dp:DISCRETE(fixed = true protected = true ) type: Real PID_inner.di:DISCRETE(fixed = true protected = true ) type: Real PID_inner.d:DISCRETE(fixed = true protected = true ) type: Real PID_inner.dd:DISCRETE(fixed = true protected = true ) type: Real PID_inner.dcs:DISCRETE(fixed = true protected = true ) type: Real PID_inner.cs:DISCRETE(fixed = true protected = true ) type: Real P4.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real P3.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real PID_inner.CS:DISCRETE(flow=false fixed = true ) "Control signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 113 ($PRE.PID_outer.CS,PID_outer.CS,$PRE.PID_outer.satLOW,PID_outer.satLOW,$PRE.PID_outer.satHI,PID_outer.satHI,$PRE.PID_outer.dp,PID_outer.dp,$PRE.PID_outer.di,PID_outer.di,$PRE.PID_outer.d,PID_outer.d,$PRE.PID_outer.dd,PID_outer.dd,$PRE.PID_outer.dcs,PID_outer.dcs,$PRE.PID_outer.cs,PID_outer.cs,$whenCondition4,$PRE.PID_outer_extLock.F_dec,PID_outer_extLock.F_dec,$PRE.PID_outer_extLock.F_inc,PID_outer_extLock.F_inc,$PRE.PID_inner_extLock.dp,PID_inner_extLock.dp,$PRE.PID_inner_extLock.di,PID_inner_extLock.di,$PRE.PID_inner_extLock.d,PID_inner_extLock.d,$PRE.PID_inner_extLock.dd,PID_inner_extLock.dd,$PRE.PID_inner_extLock.dcs,PID_inner_extLock.dcs,$PRE.PID_inner_extLock.cs,PID_inner_extLock.cs,$PRE.PID_outer_extLock.CS,PID_outer_extLock.CS,$PRE.PID_outer_extLock.satLOW,PID_outer_extLock.satLOW,$PRE.PID_outer_extLock.satHI,PID_outer_extLock.satHI,$PRE.PID_outer_extLock.dp,PID_outer_extLock.dp,$PRE.PID_outer_extLock.di,PID_outer_extLock.di,$PRE.PID_outer_extLock.d,PID_outer_extLock.d,$PRE.PID_outer_extLock.dd,PID_outer_extLock.dd,$PRE.PID_outer_extLock.dcs,PID_outer_extLock.dcs,$PRE.PID_outer_extLock.cs,PID_outer_extLock.cs,$PRE.PID_inner_extLock.CS,PID_inner_extLock.CS,$whenCondition2,$whenCondition1,SetPoint.nextEventScaled,SetPoint.nextEvent,$PRE.SetPoint.nextEvent,SetPoint.last,SetPoint.b,SetPoint.a,$whenCondition3,$PRE.PID_inner.satLOW,PID_inner.satLOW,$PRE.PID_inner.satHI,PID_inner.satHI,$PRE.PID_inner.dp,PID_inner.dp,$PRE.PID_inner.di,PID_inner.di,$PRE.PID_inner.d,PID_inner.d,$PRE.PID_inner.dd,PID_inner.dd,$PRE.PID_inner.dcs,PID_inner.dcs,$PRE.PID_inner.cs,PID_inner.cs,$PRE.PID_inner.CS,PID_inner.CS,$whenCondition5,PID_inner.Fdec_in,PID_inner.Finc_in,PID_inner.MAN_in,PID_inner.TS_in,PID_outer.Fdec_in,PID_outer.Finc_in,PID_outer.MAN_in,PID_outer.TS_in,PID_inner_extLock.Fdec_in,PID_inner_extLock.Finc_in,PID_inner_extLock.MAN_in,PID_inner_extLock.TS_in,PID_outer_extLock.MAN_in,PID_outer_extLock.TS_in,PID_outer.dpv,PID_outer.pv,PID_outer.dsp,PID_outer.sp,PID_inner_extLock.dpv,PID_inner_extLock.pv,PID_inner_extLock.dsp,PID_inner_extLock.sp,PID_outer_extLock.dpv,PID_outer_extLock.pv,PID_outer_extLock.dsp,PID_outer_extLock.sp,PID_inner.dpv,PID_inner.pv,PID_inner.dsp,PID_inner.sp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 5 * 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.0006494/0.269, allocations: 0.5859 MB / 417 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.547e-05/0.2691, allocations: 91 kB / 417.1 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.546e-05/0.2691, allocations: 58.03 kB / 417.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2692, allocations: 7.984 kB / 417.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2692, allocations: 0 / 417.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.2692, allocations: 4 kB / 417.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.2696, allocations: 0.5867 MB / 417.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2696, allocations: 8 kB / 417.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.2698, allocations: 35.92 kB / 417.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.2698, allocations: 7.875 kB / 417.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.529e-05/0.2699, allocations: 31.98 kB / 417.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.2699, allocations: 7.938 kB / 417.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2699, allocations: 0 / 417.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006228/0.2761, allocations: 5.189 MB / 423 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.33e-05/0.2763, allocations: 152 kB / 423.2 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.2764, allocations: 32 kB / 423.2 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.2767, allocations: 27.98 kB / 423.2 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.2768, allocations: 23.91 kB / 423.2 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.534e-05/0.2768, allocations: 35.98 kB / 423.3 MB, free: 5.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003047/0.2771, allocations: 387.1 kB / 423.6 MB, free: 4.656 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2771, allocations: 0 / 423.6 MB, free: 4.656 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009851/0.2781, allocations: 267.6 kB / 423.9 MB, free: 4.395 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (P1.w,P2.w,P3.w,P4.w) * Number of discrete variables: 62 ($whenCondition4,PID_outer.CS,PID_outer.satHI,PID_outer.satLOW,PID_outer.sp,PID_outer.dsp,PID_outer.pv,PID_outer.dpv,PID_outer.dp,PID_outer.di,PID_outer.d,PID_outer.dd,PID_outer.cs,PID_outer.dcs,$whenCondition1,$whenCondition2,PID_outer_extLock.F_inc,PID_outer_extLock.F_dec,PID_outer_extLock.CS,PID_outer_extLock.satHI,PID_outer_extLock.satLOW,PID_outer_extLock.sp,PID_outer_extLock.dsp,PID_outer_extLock.pv,PID_outer_extLock.dpv,PID_outer_extLock.dp,PID_outer_extLock.di,PID_outer_extLock.d,PID_outer_extLock.dd,PID_outer_extLock.cs,PID_outer_extLock.dcs,PID_inner_extLock.CS,PID_inner_extLock.sp,PID_inner_extLock.dsp,PID_inner_extLock.pv,PID_inner_extLock.dpv,PID_inner_extLock.dp,PID_inner_extLock.di,PID_inner_extLock.d,PID_inner_extLock.dd,PID_inner_extLock.cs,PID_inner_extLock.dcs,$whenCondition3,SetPoint.a,SetPoint.b,SetPoint.last,SetPoint.nextEvent,SetPoint.nextEventScaled,$whenCondition5,PID_inner.CS,PID_inner.satHI,PID_inner.satLOW,PID_inner.sp,PID_inner.dsp,PID_inner.pv,PID_inner.dpv,PID_inner.dp,PID_inner.di,PID_inner.d,PID_inner.dd,PID_inner.cs,PID_inner.dcs) * Number of discrete states: 46 (PID_inner.CS,PID_inner.satLOW,PID_inner.satHI,PID_inner.dp,PID_inner.di,PID_inner.d,PID_inner.dd,PID_inner.dcs,PID_inner.cs,$whenCondition5,SetPoint.nextEvent,SetPoint.last,SetPoint.nextEventScaled,SetPoint.b,SetPoint.a,$whenCondition3,PID_outer_extLock.CS,PID_outer_extLock.satLOW,PID_outer_extLock.satHI,PID_outer_extLock.dp,PID_outer_extLock.di,PID_outer_extLock.d,PID_outer_extLock.dd,PID_outer_extLock.dcs,PID_outer_extLock.cs,$whenCondition1,PID_inner_extLock.CS,PID_outer_extLock.F_dec,PID_outer_extLock.F_inc,PID_inner_extLock.dp,PID_inner_extLock.di,PID_inner_extLock.d,PID_inner_extLock.dd,PID_inner_extLock.dcs,PID_inner_extLock.cs,$whenCondition2,PID_outer.CS,PID_outer.satLOW,PID_outer.satHI,PID_outer.dp,PID_outer.di,PID_outer.d,PID_outer.dd,PID_outer.dcs,PID_outer.cs,$whenCondition4) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 5 * 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 Backend phase and start with SimCode phase: time 0.0002498/0.2784, allocations: 184.5 kB / 424.1 MB, free: 4.207 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.2795, allocations: 1.027 MB / 425.1 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.2796, allocations: 0 / 425.1 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.2807, allocations: 1.44 MB / 426.6 MB, free: 1.582 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.2811, allocations: 71.42 kB / 426.6 MB, free: 1.512 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.284, allocations: 2.142 MB / 428.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006556/0.2847, allocations: 0.9655 MB / 429.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002505/0.2849, allocations: 93.02 kB / 429.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.57e-05/0.285, allocations: 39.44 kB / 429.9 MB, free: 14.15 MB / 314.7 MB Notification: Performance of SimCode: time 2.885e-06/0.285, allocations: 0 / 429.9 MB, free: 14.15 MB / 314.7 MB Notification: Performance of Templates: time 0.01869/0.3037, allocations: 10.7 MB / 440.6 MB, free: 3.344 MB / 314.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_CascadeAntiWindup -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup.o IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_CascadeAntiWindup -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_functions.o IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_functions.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_CascadeAntiWindup -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_records.o IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_records.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_CascadeAntiWindup -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_01exo.o IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_CascadeAntiWindup -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.o IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:87:4: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[60]) /* PID_inner.satHI.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = (parentJacobian->tmpVars[60]) /* PID_inner.satHI.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */; ^ IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:87:93: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[60]) /* PID_inner.satHI.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = (parentJacobian->tmpVars[60]) /* PID_inner.satHI.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */; ^ IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:89:4: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[59]) /* $whenCondition5.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = (parentJacobian->tmpVars[59]) /* $whenCondition5.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */; ^ IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:89:93: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[59]) /* $whenCondition5.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = (parentJacobian->tmpVars[59]) /* $whenCondition5.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */; ^ IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:91:4: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[61]) /* PID_inner.satLOW.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = (parentJacobian->tmpVars[61]) /* PID_inner.satLOW.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */; ^ IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:91:94: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[61]) /* PID_inner.satLOW.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = (parentJacobian->tmpVars[61]) /* PID_inner.satLOW.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */; ^ IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:95:4: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[6]) /* PID_inner.CS.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = 0.0; ^ IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:99:4: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[61]) /* PID_inner.satLOW.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = 0.0; ^ IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:103:4: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[60]) /* PID_inner.satHI.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = 0.0; ^ IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:107:4: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[12]) /* PID_inner.dp.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = 0.0; ^ IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:111:4: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[11]) /* PID_inner.di.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = 0.0; ^ IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:115:4: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[8]) /* PID_inner.d.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = 0.0; ^ IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:119:4: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[10]) /* PID_inner.dd.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = 0.0; ^ IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:123:4: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[9]) /* PID_inner.dcs.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = 0.0; ^ IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:127:4: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[7]) /* PID_inner.cs.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = 0.0; ^ IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:131:4: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[59]) /* $whenCondition5.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = 0.0; ^ IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:135:4: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[59]) /* $whenCondition5.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = 0.0; ^ IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:143:8: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[7]) /* PID_inner.cs.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = (parentJacobian->tmpVars[9]) /* PID_inner.dcs.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */; ^ IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.c:143:93: error: use of undeclared identifier 'parentJacobian' (parentJacobian->tmpVars[7]) /* PID_inner.cs.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = (parentJacobian->tmpVars[9]) /* PID_inner.dcs.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup_02nls.o] Error 1