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.0008647/0.0008651, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001256/0.001256, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2669/0.2669, allocations: 22.35 MB / 313.4 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003711, allocations: 8 kB / 381.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3804, allocations: 55.98 MB / 437.9 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.00193/0.3824, allocations: 1.567 MB / 439.5 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008955/0.3833, allocations: 0.5622 MB / 440 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.3835, allocations: 3.906 kB / 440 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.3839, allocations: 35.06 kB / 440.1 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.384, allocations: 44.55 kB / 440.1 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.3842, allocations: 91.78 kB / 440.2 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.3845, allocations: 257.3 kB / 440.5 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.3847, allocations: 46.94 kB / 440.5 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.3848, allocations: 114.1 kB / 440.6 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.385, allocations: 117.4 kB / 440.7 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.385, allocations: 8.188 kB / 440.7 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.712e-05/0.3851, allocations: 8.25 kB / 440.7 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.425e-05/0.3852, allocations: 55.22 kB / 440.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.3852, allocations: 49.45 kB / 440.8 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.3854, allocations: 134.6 kB / 441 MB, free: 37.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.3854, allocations: 0 / 441 MB, free: 37.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.3855, allocations: 4 kB / 441 MB, free: 37.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3855, allocations: 0 / 441 MB, free: 37.25 MB / 350.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.001165/0.3866, allocations: 0.565 MB / 441.5 MB, free: 36.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.3867, allocations: 8.625 kB / 441.6 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/0.3868, allocations: 23.19 kB / 441.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.3873, allocations: 313.4 kB / 441.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.3873, allocations: 9.406 kB / 441.9 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.3873, allocations: 20.25 kB / 441.9 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.3877, allocations: 196.6 kB / 442.1 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3877, allocations: 0 / 442.1 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.3878, allocations: 11.95 kB / 442.1 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3878, allocations: 7.75 kB / 442.1 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.3881, allocations: 153.1 kB / 442.3 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009815/0.3891, allocations: 0.7363 MB / 443 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.3895, allocations: 228.6 kB / 443.2 MB, free: 35.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.3897, allocations: 79.48 kB / 443.3 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.3897, allocations: 352 / 443.3 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.3898, allocations: 45.11 kB / 443.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.3898, allocations: 0 / 443.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005213/0.3903, allocations: 261.4 kB / 443.6 MB, free: 35.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.3903, allocations: 62.09 kB / 443.7 MB, free: 35.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000433/0.3908, allocations: 292.5 kB / 444 MB, free: 35.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.3908, allocations: 25.7 kB / 444 MB, free: 35.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.3909, allocations: 145.1 kB / 444.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.3909, allocations: 76.95 kB / 444.2 MB, free: 35.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.391, allocations: 8 kB / 444.2 MB, free: 35.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.391, allocations: 337 kB / 444.5 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.3912, allocations: 69.98 kB / 444.6 MB, free: 34.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.3913, allocations: 131.3 kB / 444.7 MB, free: 34.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.3915, allocations: 86.95 kB / 444.8 MB, free: 34.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3915, allocations: 0 / 444.8 MB, free: 34.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003993/0.3919, allocations: 282.6 kB / 445.1 MB, free: 34.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3919, allocations: 9.453 kB / 445.1 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.392, allocations: 8.125 kB / 445.1 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.392, allocations: 3.094 kB / 445.1 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.3922, allocations: 61.06 kB / 445.2 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3922, allocations: 6.812 kB / 445.2 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.3925, allocations: 57.36 kB / 445.2 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.3925, allocations: 9.75 kB / 445.2 MB, free: 34.45 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: PI.xfb:VARIABLE(fixed = true ) type: Real P.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] C.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.HIsat,PI.LOsat,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001651/0.3927, allocations: 151.5 kB / 445.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.3927, allocations: 23.56 kB / 445.4 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/0.3931, allocations: 237.1 kB / 445.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3932, allocations: 2.906 kB / 445.7 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3932, allocations: 0 / 445.7 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.3932, allocations: 3.422 kB / 445.7 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.3934, allocations: 297.7 kB / 445.9 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3935, allocations: 0 / 445.9 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.3937, allocations: 50.88 kB / 446 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3937, allocations: 3.938 kB / 446 MB, free: 33.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.3938, allocations: 10.11 kB / 446 MB, free: 33.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3938, allocations: 3.953 kB / 446 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3938, allocations: 0 / 446 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.3943, allocations: 400.2 kB / 446.4 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.3943, allocations: 105 kB / 446.5 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.3944, allocations: 6.812 kB / 446.5 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.3946, allocations: 32.56 kB / 446.5 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.3946, allocations: 16.08 kB / 446.6 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.3947, allocations: 2.969 kB / 446.6 MB, free: 33.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003034/0.395, allocations: 225.2 kB / 446.8 MB, free: 33.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.395, allocations: 0 / 446.8 MB, free: 33.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.3953, allocations: 38.62 kB / 446.8 MB, free: 33.45 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.715e-05/0.3953, allocations: 104.2 kB / 446.9 MB, free: 33.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000336/0.3957, allocations: 200.3 kB / 447.1 MB, free: 33.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3957, allocations: 0 / 447.1 MB, free: 33.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.3958, allocations: 96.06 kB / 447.2 MB, free: 33.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.3962, allocations: 28.09 kB / 447.2 MB, free: 33.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008268/0.397, allocations: 0.5903 MB / 447.8 MB, free: 32.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.3972, allocations: 0.7597 MB / 448.6 MB, free: 32.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.3973, allocations: 39.27 kB / 448.6 MB, free: 32.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.3974, allocations: 23.28 kB / 448.6 MB, free: 32.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3974, allocations: 0 / 448.6 MB, free: 32.18 MB / 350.1 MB Notification: Performance of Templates: time 0.004332/0.4017, allocations: 1.844 MB / 450.5 MB, free: 32.03 MB / 350.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 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1)