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.0009744/0.0009744, allocations: 109.9 kB / 15.99 MB, free: 6.359 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.001038/0.001038, allocations: 199 kB / 16.91 MB, free: 6.191 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.188/1.188, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08598/0.08598, allocations: 22.32 MB / 313.1 MB, free: 9.148 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.06 kB / 380.9 MB, free: 41.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07543/0.07674, allocations: 54.96 MB / 435.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002752/0.07952, allocations: 1.842 MB / 437.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009598/0.0805, allocations: 0.5728 MB / 438.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.896e-05/0.08062, allocations: 4 kB / 438.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.08091, allocations: 35.83 kB / 438.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.0811, allocations: 47.77 kB / 438.4 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.08131, allocations: 87.88 kB / 438.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.08162, allocations: 267.4 kB / 438.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.08175, allocations: 41.95 kB / 438.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.08189, allocations: 103.7 kB / 438.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.08208, allocations: 127.5 kB / 439 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.08213, allocations: 12 kB / 439 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.615e-05/0.08216, allocations: 16 kB / 439 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.669e-05/0.08225, allocations: 63.8 kB / 439.1 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.331e-05/0.08234, allocations: 87.47 kB / 439.2 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.08249, allocations: 139.7 kB / 439.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.0825, allocations: 0 / 439.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08251, allocations: 0 / 439.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.08252, allocations: 0 / 439.3 MB, free: 10.11 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001195/0.08372, allocations: 0.5767 MB / 439.9 MB, free: 9.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.08377, allocations: 8.031 kB / 439.9 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.08383, allocations: 28.59 kB / 439.9 MB, free: 9.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005586/0.0844, allocations: 307.5 kB / 440.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.08442, allocations: 8.609 kB / 440.2 MB, free: 9.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.08446, allocations: 12.38 kB / 440.2 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.08475, allocations: 156.5 kB / 440.4 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.08477, allocations: 0 / 440.4 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.08481, allocations: 8 kB / 440.4 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.08482, allocations: 0 / 440.4 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.08508, allocations: 128.6 kB / 440.5 MB, free: 8.793 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008456/0.08594, allocations: 0.5479 MB / 441.1 MB, free: 8.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.08637, allocations: 197.5 kB / 441.3 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.08653, allocations: 89.09 kB / 441.3 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.08657, allocations: 7.984 kB / 441.3 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.08659, allocations: 34.5 kB / 441.4 MB, free: 7.855 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.0866, allocations: 4 kB / 441.4 MB, free: 7.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005105/0.08712, allocations: 257.3 kB / 441.6 MB, free: 7.594 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.08717, allocations: 55.34 kB / 441.7 MB, free: 7.527 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/0.08765, allocations: 263.1 kB / 441.9 MB, free: 7.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.08768, allocations: 29.7 kB / 442 MB, free: 7.227 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.08775, allocations: 128 kB / 442.1 MB, free: 7.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.201e-05/0.08782, allocations: 63.09 kB / 442.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.08788, allocations: 33.7 kB / 442.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.08799, allocations: 326.8 kB / 442.5 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.08812, allocations: 63.95 kB / 442.6 MB, free: 6.605 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.08824, allocations: 67.95 kB / 442.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.0899, allocations: 472.1 kB / 443.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.08992, allocations: 0 / 443.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003603/0.09028, allocations: 233.2 kB / 443.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.09031, allocations: 9.812 kB / 443.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.09032, allocations: 0 / 443.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.09033, allocations: 8 kB / 443.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.09055, allocations: 39.97 kB / 443.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.09056, allocations: 0 / 443.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.0908, allocations: 39.8 kB / 443.4 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.09083, allocations: 4 kB / 443.4 MB, free: 5.746 MB / 318.1 MB Warning: Assuming fixed start value for the following 5 variables: Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Act2.y:VARIABLE(flow=false start = Act2.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001951/0.09103, allocations: 162.8 kB / 443.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.09108, allocations: 23.73 kB / 443.6 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000436/0.09152, allocations: 239.3 kB / 443.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.09153, allocations: 0 / 443.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.09154, allocations: 0 / 443.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.09155, allocations: 0 / 443.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.09186, allocations: 293.3 kB / 444.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.09188, allocations: 7.922 kB / 444.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.09212, allocations: 35.98 kB / 444.2 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.09213, allocations: 0 / 444.2 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.09216, allocations: 11.98 kB / 444.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.09217, allocations: 0 / 444.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.09217, allocations: 4 kB / 444.2 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000528/0.0927, allocations: 401.5 kB / 444.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.09277, allocations: 96.83 kB / 444.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.09282, allocations: 12.05 kB / 444.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.09309, allocations: 23.97 kB / 444.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.09314, allocations: 15.97 kB / 444.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.09316, allocations: 8 kB / 444.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004058/0.09357, allocations: 212.1 kB / 444.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.09358, allocations: 0 / 444.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.09384, allocations: 39.94 kB / 445 MB, free: 4.098 MB / 318.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 (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.0001065/0.09396, allocations: 103.2 kB / 445.1 MB, free: 3.988 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003536/0.09432, allocations: 199.6 kB / 445.3 MB, free: 3.793 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.09433, allocations: 0 / 445.3 MB, free: 3.793 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.09447, allocations: 91.88 kB / 445.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.09483, allocations: 32.67 kB / 445.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009373/0.09577, allocations: 0.588 MB / 446 MB, free: 3.055 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.09608, allocations: 0.7475 MB / 446.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.09617, allocations: 23.38 kB / 446.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.09617, allocations: 3.938 kB / 446.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of Templates: time 0.004205/0.1004, allocations: 2.552 MB / 449.3 MB, free: 15.7 MB / 334.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.makefile (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)