Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Typical_control_structures.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") translateModel(AES.Coursework.Typical_control_structures.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 104.7 kB / 16.35 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 193.2 kB / 17.29 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09046/0.09046, allocations: 22.33 MB / 313.5 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001409, allocations: 64.72 kB / 382.2 MB, free: 41.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.09989, allocations: 54.96 MB / 437.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.003703/0.1036, allocations: 1.91 MB / 439.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1049, allocations: 0.5768 MB / 439.7 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.1051, allocations: 7.938 kB / 439.7 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.1054, allocations: 55.56 kB / 439.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.1057, allocations: 39.72 kB / 439.8 MB, free: 9.613 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.106, allocations: 111.8 kB / 439.9 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004237/0.1064, allocations: 316 kB / 440.2 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.1066, allocations: 52.38 kB / 440.3 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.1068, allocations: 123.6 kB / 440.4 MB, free: 9.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.107, allocations: 119.5 kB / 440.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/0.1071, allocations: 20 kB / 440.5 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.434e-05/0.1071, allocations: 16 kB / 440.5 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.427e-05/0.1072, allocations: 71.75 kB / 440.6 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.1073, allocations: 95.39 kB / 440.7 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.1076, allocations: 203.2 kB / 440.9 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1076, allocations: 0 / 440.9 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1076, allocations: 4 kB / 440.9 MB, free: 8.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.1076, allocations: 0 / 440.9 MB, free: 8.508 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001422/0.109, allocations: 0.5902 MB / 441.5 MB, free: 7.871 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1091, allocations: 11.97 kB / 441.5 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.438e-05/0.1092, allocations: 28.56 kB / 441.5 MB, free: 7.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006423/0.1098, allocations: 307.5 kB / 441.8 MB, free: 7.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.1099, allocations: 16.38 kB / 441.8 MB, free: 7.477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.1099, allocations: 16.38 kB / 441.9 MB, free: 7.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003733/0.1103, allocations: 200 kB / 442 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1103, allocations: 0 / 442 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.1103, allocations: 7.938 kB / 442.1 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.1104, allocations: 4 kB / 442.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.1107, allocations: 155.9 kB / 442.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.1119, allocations: 0.7346 MB / 442.9 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.1124, allocations: 222.6 kB / 443.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.1125, allocations: 84.83 kB / 443.2 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.1126, allocations: 0 / 443.2 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.1126, allocations: 34.5 kB / 443.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.011e-06/0.1126, allocations: 8 kB / 443.3 MB, free: 5.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005299/0.1131, allocations: 265.5 kB / 443.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.1132, allocations: 51.41 kB / 443.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004711/0.1137, allocations: 292.8 kB / 443.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1137, allocations: 29.7 kB / 443.9 MB, free: 5.273 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1138, allocations: 148.3 kB / 444.1 MB, free: 5.125 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.662e-05/0.1139, allocations: 71 kB / 444.1 MB, free: 5.055 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.796e-05/0.114, allocations: 53.61 kB / 444.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1141, allocations: 334.8 kB / 444.5 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.1143, allocations: 80.17 kB / 444.6 MB, free: 4.578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.1145, allocations: 131 kB / 444.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.1158, allocations: 457.9 kB / 445.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1158, allocations: 0 / 445.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004338/0.1163, allocations: 283.2 kB / 445.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1163, allocations: 4 kB / 445.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1163, allocations: 8.172 kB / 445.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1163, allocations: 4 kB / 445.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.1166, allocations: 63.91 kB / 445.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1166, allocations: 3.938 kB / 445.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.1169, allocations: 47.7 kB / 445.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.1169, allocations: 12 kB / 445.6 MB, free: 3.535 MB / 318.1 MB Warning: Assuming fixed start value for the following 3 variables: M.y:VARIABLE(flow=false start = M.y_start fixed = true ) "Connector of Real output signal" type: Real PI.xfb:VARIABLE(fixed = true ) type: Real P.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (PI.LOsat,PI.HIsat,PI.iNoDec,PI.iNoInc,PI.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001862/0.1171, allocations: 153.6 kB / 445.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.1172, allocations: 19.75 kB / 445.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004224/0.1176, allocations: 236.4 kB / 446 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1176, allocations: 4 kB / 446 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1176, allocations: 0 / 446 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1176, allocations: 7.969 kB / 446 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.1179, allocations: 293.4 kB / 446.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1179, allocations: 0 / 446.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.1182, allocations: 51.91 kB / 446.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.1182, allocations: 3.938 kB / 446.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.1183, allocations: 8 kB / 446.3 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1183, allocations: 0 / 446.3 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1183, allocations: 0 / 446.3 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.1188, allocations: 414.2 kB / 446.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.739e-05/0.1189, allocations: 108.7 kB / 446.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.119, allocations: 8 kB / 446.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.1192, allocations: 31.89 kB / 446.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.1193, allocations: 15.98 kB / 446.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.1193, allocations: 8 kB / 446.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003779/0.1197, allocations: 220.4 kB / 447.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1197, allocations: 0 / 447.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.12, allocations: 40 kB / 447.2 MB, free: 1.855 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (M.y,C.x_scaled[1],P.x_scaled[1],PI.xfb,PI.xBias,PI.u,PI.csfil) * Number of discrete variables: 2 (PI.HIsat,PI.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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 Backend phase and start with SimCode phase: time 0.0001052/0.1201, allocations: 99.23 kB / 447.3 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003868/0.1205, allocations: 203.7 kB / 447.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1205, allocations: 384 / 447.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.1207, allocations: 95.89 kB / 447.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.121, allocations: 30.77 kB / 447.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009127/0.1219, allocations: 0.5119 MB / 448.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.1222, allocations: 0.7597 MB / 448.9 MB, free: 104 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.1224, allocations: 41.92 kB / 448.9 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/0.1225, allocations: 19.44 kB / 448.9 MB, free: 40 kB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1225, allocations: 0 / 448.9 MB, free: 40 kB / 318.1 MB Notification: Performance of Templates: time 0.005147/0.1276, allocations: 2.124 MB / 451 MB, free: 13.91 MB / 334.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation.makefile (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1)