Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.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.001337/0.001337, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001527/0.001527, allocations: 218.9 kB / 23.01 MB, free: 4.609 MB / 14.72 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1081/0.1081, allocations: 24.13 MB / 337.3 MB, free: 11.43 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.Typical_control_structures.Hi_gain_linearising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising") translateModel(AES.Coursework.Typical_control_structures.Hi_gain_linearising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 73.55 kB / 475.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3372, allocations: 59.61 MB / 0.5224 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.002078/0.3392, allocations: 1.02 MB / 0.5234 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.3407, allocations: 1.307 MB / 0.5247 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.455e-05/0.3408, allocations: 2.281 kB / 0.5247 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.3411, allocations: 61.22 kB / 0.5247 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.3412, allocations: 61.59 kB / 0.5248 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.3415, allocations: 116.5 kB / 0.5249 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004264/0.3419, allocations: 357 kB / 0.5252 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.342, allocations: 21.75 kB / 0.5253 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.3422, allocations: 133.3 kB / 0.5254 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.3424, allocations: 169.4 kB / 0.5256 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.3425, allocations: 17.47 kB / 0.5256 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.523e-05/0.3425, allocations: 17.44 kB / 0.5256 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.3426, allocations: 90.41 kB / 0.5257 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.393e-05/0.3427, allocations: 89.3 kB / 0.5258 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.343, allocations: 219.5 kB / 0.526 GB, free: 8.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.343, allocations: 0 / 0.526 GB, free: 8.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.343, allocations: 1.156 kB / 0.526 GB, free: 8.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.343, allocations: 0 / 0.526 GB, free: 8.73 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001541/0.3445, allocations: 0.5762 MB / 0.5265 GB, free: 8.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3446, allocations: 15.08 kB / 0.5265 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.3446, allocations: 23.14 kB / 0.5266 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007776/0.3454, allocations: 303.4 kB / 0.5269 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3454, allocations: 8.906 kB / 0.5269 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.3454, allocations: 15.89 kB / 0.5269 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.3457, allocations: 160.2 kB / 0.527 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3457, allocations: 1.094 kB / 0.527 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.3458, allocations: 9.125 kB / 0.527 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3458, allocations: 2.812 kB / 0.527 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.3461, allocations: 165.5 kB / 0.5272 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009335/0.347, allocations: 0.5609 MB / 0.5277 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.3473, allocations: 206.1 kB / 0.5279 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.3475, allocations: 102.4 kB / 0.528 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.3475, allocations: 6.297 kB / 0.528 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.3475, allocations: 35.66 kB / 0.5281 GB, free: 7.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.3475, allocations: 0 / 0.5281 GB, free: 7.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001327/0.3489, allocations: 488.2 kB / 0.5285 GB, free: 7.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.3489, allocations: 53.61 kB / 0.5286 GB, free: 7.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006882/0.3496, allocations: 333.2 kB / 0.5289 GB, free: 7.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3496, allocations: 30.8 kB / 0.5289 GB, free: 7.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.3496, allocations: 136.4 kB / 0.5291 GB, free: 6.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.967e-05/0.3497, allocations: 77.52 kB / 0.5292 GB, free: 6.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/0.3498, allocations: 36.14 kB / 0.5292 GB, free: 6.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.807e-05/0.3498, allocations: 341.5 kB / 0.5295 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.35, allocations: 83.78 kB / 0.5296 GB, free: 6.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.3501, allocations: 93.53 kB / 0.5297 GB, free: 6.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.3521, allocations: 0.6183 MB / 0.5303 GB, free: 6.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3521, allocations: 0 / 0.5303 GB, free: 6.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006618/0.3528, allocations: 361.8 kB / 0.5306 GB, free: 6.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3528, allocations: 5.688 kB / 0.5306 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3528, allocations: 1.562 kB / 0.5306 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002691/0.3531, allocations: 70.52 kB / 0.5307 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.3533, allocations: 35.31 kB / 0.5307 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.3546, allocations: 1.551 MB / 0.5323 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.355, allocations: 53.7 kB / 0.5323 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.355, allocations: 4.531 kB / 0.5323 GB, free: 4.809 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 variables: C.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] C.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pcl.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pcl.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pol.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pol.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001573/0.3551, allocations: 162.2 kB / 0.5325 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.3552, allocations: 22.11 kB / 0.5325 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.3553, allocations: 40.83 kB / 0.5325 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3553, allocations: 6.031 kB / 0.5325 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3553, allocations: 0.5 kB / 0.5325 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3553, allocations: 4.5 kB / 0.5325 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.3557, allocations: 281.1 kB / 0.5328 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3557, allocations: 0.5312 kB / 0.5328 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.3559, allocations: 35.7 kB / 0.5328 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000229/0.3561, allocations: 64.7 kB / 0.5329 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.3561, allocations: 7.781 kB / 0.5329 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.3572, allocations: 1.541 MB / 0.5344 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3572, allocations: 0 / 0.5344 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007954/0.358, allocations: 0.5264 MB / 0.5349 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.3581, allocations: 29.39 kB / 0.535 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.3581, allocations: 7.891 kB / 0.535 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.3585, allocations: 45.98 kB / 0.535 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.3586, allocations: 20.66 kB / 0.535 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3586, allocations: 3.422 kB / 0.535 GB, free: 2.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006366/0.3592, allocations: 263.6 kB / 0.5353 GB, free: 2.594 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3592, allocations: 0 / 0.5353 GB, free: 2.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003262/0.3595, allocations: 62.06 kB / 0.5353 GB, free: 2.574 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Pol.x_scaled[1],Pol.x_scaled[2],Pcl.x_scaled[1],Pcl.x_scaled[2],C.x_scaled[1],C.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 9.165e-05/0.3596, allocations: 112.7 kB / 0.5354 GB, free: 2.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006249/0.3603, allocations: 352 kB / 0.5358 GB, free: 2.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3603, allocations: 0 / 0.5358 GB, free: 2.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.3606, allocations: 247.7 kB / 0.536 GB, free: 2.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.3609, allocations: 32.64 kB / 0.536 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009191/0.3619, allocations: 0.5768 MB / 0.5366 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.3621, allocations: 0.7682 MB / 0.5374 GB, free: 1.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/0.3622, allocations: 19.7 kB / 0.5374 GB, free: 1.062 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3622, allocations: 0 / 0.5374 GB, free: 1.062 MB / 382.1 MB Notification: Performance of Templates: time 0.006499/0.3687, allocations: 3.682 MB / 0.541 GB, free: 44 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.sim & ./AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.011640954995528] Failed to read output from testmodel.py, exit status != 0: 0.37782793515361845 0.39158498299999994 0.04556818 Calling exit ...