Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.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_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") translateModel(AES.Coursework.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001005, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001235/0.001236, allocations: 177.3 kB / 15.95 MB, free: 216 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.507/1.507, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2646/0.2646, allocations: 22.33 MB / 313.3 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000452/0.0004522, allocations: 12 kB / 381.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3366, allocations: 55.97 MB / 437.8 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.001903/0.3385, allocations: 1.468 MB / 439.3 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009138/0.3395, allocations: 0.5541 MB / 439.8 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.856e-05/0.3396, allocations: 2.438 kB / 439.8 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.34, allocations: 32.44 kB / 439.9 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.3401, allocations: 53.77 kB / 439.9 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.3404, allocations: 79.38 kB / 440 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.3406, allocations: 152 kB / 440.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.3408, allocations: 35.92 kB / 440.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.341, allocations: 110.8 kB / 440.3 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.3412, allocations: 100.2 kB / 440.4 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.3412, allocations: 12 kB / 440.4 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.756e-05/0.3412, allocations: 5.469 kB / 440.4 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.319e-05/0.3413, allocations: 56.5 kB / 440.4 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.56e-05/0.3414, allocations: 53.75 kB / 440.5 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.3415, allocations: 120.2 kB / 440.6 MB, free: 37.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.3416, allocations: 0 / 440.6 MB, free: 37.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3416, allocations: 0 / 440.6 MB, free: 37.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.3416, allocations: 0 / 440.6 MB, free: 37.46 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.00119/0.3428, allocations: 0.5551 MB / 441.2 MB, free: 37.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3428, allocations: 11 kB / 441.2 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.3429, allocations: 24.78 kB / 441.2 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005682/0.3435, allocations: 305.4 kB / 441.5 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.3435, allocations: 13.23 kB / 441.5 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.3436, allocations: 15.73 kB / 441.5 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.3439, allocations: 146.9 kB / 441.7 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.3439, allocations: 0 / 441.7 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.3439, allocations: 7.953 kB / 441.7 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.3439, allocations: 2.875 kB / 441.7 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.3442, allocations: 134.4 kB / 441.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008003/0.345, allocations: 0.5429 MB / 442.4 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.3454, allocations: 199.2 kB / 442.6 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.3455, allocations: 2.625 kB / 442.6 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.3455, allocations: 36.75 kB / 442.6 MB, free: 36.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.3455, allocations: 0 / 442.6 MB, free: 36.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004784/0.346, allocations: 258.2 kB / 442.8 MB, free: 36.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.346, allocations: 58.34 kB / 442.9 MB, free: 35.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/0.3465, allocations: 258.6 kB / 443.2 MB, free: 35.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3465, allocations: 29.7 kB / 443.2 MB, free: 35.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.149e-05/0.3466, allocations: 131.9 kB / 443.3 MB, free: 35.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.3466, allocations: 65.39 kB / 443.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.3467, allocations: 0 / 443.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.3467, allocations: 344.1 kB / 443.7 MB, free: 35.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.3469, allocations: 59.23 kB / 443.8 MB, free: 35.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.501e-05/0.347, allocations: 62.08 kB / 443.8 MB, free: 35.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.3471, allocations: 78.3 kB / 443.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3471, allocations: 3.938 kB / 443.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003072/0.3474, allocations: 223.3 kB / 444.1 MB, free: 35.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3474, allocations: 10.62 kB / 444.1 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3474, allocations: 0 / 444.1 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3475, allocations: 4 kB / 444.1 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.3477, allocations: 41.45 kB / 444.2 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3477, allocations: 3.328 kB / 444.2 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.3479, allocations: 36.48 kB / 444.2 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.3479, allocations: 6.875 kB / 444.2 MB, free: 35.13 MB / 350.1 MB Warning: Assuming fixed start value for the following 5 variables: Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.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 (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 prepare postOptimizeDAE: time 0.0002705/0.3482, allocations: 165.5 kB / 444.4 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.3483, allocations: 17.59 kB / 444.4 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004566/0.3487, allocations: 240.9 kB / 444.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3487, allocations: 0 / 444.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3487, allocations: 0 / 444.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3488, allocations: 3.031 kB / 444.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.3491, allocations: 289.5 kB / 444.9 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3491, allocations: 2.938 kB / 444.9 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.3493, allocations: 40.69 kB / 445 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3493, allocations: 0 / 445 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.3494, allocations: 6.703 kB / 445 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3494, allocations: 0 / 445 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3494, allocations: 11.27 kB / 445 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005408/0.3499, allocations: 409.8 kB / 445.4 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.35, allocations: 96.39 kB / 445.5 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.35, allocations: 7.344 kB / 445.5 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.3503, allocations: 32.45 kB / 445.5 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.3504, allocations: 12.98 kB / 445.5 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.3504, allocations: 6.812 kB / 445.5 MB, free: 34.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00038/0.3508, allocations: 215.9 kB / 445.8 MB, free: 34.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3508, allocations: 0 / 445.8 MB, free: 34.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.351, allocations: 39.56 kB / 445.8 MB, free: 34.14 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y) * 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 (18): * Single equations (assignments): 18 * 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 0.0001066/0.3512, allocations: 104.4 kB / 445.9 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003077/0.3515, allocations: 173 kB / 446.1 MB, free: 34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3515, allocations: 0 / 446.1 MB, free: 34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.3516, allocations: 93.58 kB / 446.2 MB, free: 33.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.3519, allocations: 34.08 kB / 446.2 MB, free: 33.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.3529, allocations: 0.5454 MB / 446.7 MB, free: 33.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.3531, allocations: 0.7546 MB / 447.5 MB, free: 32.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.3533, allocations: 45.69 kB / 447.5 MB, free: 32.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.3533, allocations: 16.12 kB / 447.5 MB, free: 32.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3533, allocations: 0 / 447.5 MB, free: 32.93 MB / 350.1 MB Notification: Performance of Templates: time 0.00432/0.3577, allocations: 1.694 MB / 449.2 MB, free: 32.79 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.makefile Environment - environmentSimulation: (rm -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.sim & ./AES_AES.Coursework.Typical_actuation_schemes.DaisyChain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1) Environment - environmentSimulation: