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.00113/0.00113, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001472/0.001472, allocations: 172.7 kB / 15.95 MB, free: 208 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.532/1.532, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2322/0.2322, allocations: 22.34 MB / 313.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004262/0.0004265, allocations: 8 kB / 381.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3532, allocations: 55.97 MB / 437.9 MB, free: 39.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.001584/0.3549, allocations: 1.465 MB / 439.4 MB, free: 38.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007119/0.3556, allocations: 0.5491 MB / 439.9 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.982e-05/0.3557, allocations: 3.938 kB / 439.9 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.3559, allocations: 36.75 kB / 440 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.3561, allocations: 49.67 kB / 440 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.3563, allocations: 73.72 kB / 440.1 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.3565, allocations: 222.7 kB / 440.3 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.3566, allocations: 35.5 kB / 440.3 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3567, allocations: 100.2 kB / 440.4 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.3569, allocations: 117 kB / 440.5 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.3569, allocations: 8.844 kB / 440.6 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.231e-05/0.3569, allocations: 14.06 kB / 440.6 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.32e-05/0.357, allocations: 50.75 kB / 440.6 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.3571, allocations: 49.27 kB / 440.7 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.3572, allocations: 135.2 kB / 440.8 MB, free: 37.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3572, allocations: 0 / 440.8 MB, free: 37.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3572, allocations: 2.875 kB / 440.8 MB, free: 37.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3572, allocations: 0 / 440.8 MB, free: 37.5 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.0009883/0.3582, allocations: 0.5439 MB / 441.3 MB, free: 37.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3583, allocations: 8.688 kB / 441.4 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.3583, allocations: 26.62 kB / 441.4 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.3588, allocations: 307.4 kB / 441.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.3589, allocations: 10.02 kB / 441.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.3589, allocations: 10.22 kB / 441.7 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.3592, allocations: 145.5 kB / 441.8 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3592, allocations: 10.5 kB / 441.8 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.3593, allocations: 3.953 kB / 441.9 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.3593, allocations: 2.875 kB / 441.9 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.3595, allocations: 134.5 kB / 442 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008157/0.3604, allocations: 0.5406 MB / 442.5 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.3608, allocations: 192.8 kB / 442.7 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.3609, allocations: 93.58 kB / 442.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.361, allocations: 10.88 kB / 442.8 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.361, allocations: 34.56 kB / 442.9 MB, free: 36.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.361, allocations: 0 / 442.9 MB, free: 36.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005116/0.3615, allocations: 260.7 kB / 443.1 MB, free: 36.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.3616, allocations: 54.16 kB / 443.2 MB, free: 36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004564/0.362, allocations: 265.7 kB / 443.4 MB, free: 35.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.3621, allocations: 29.7 kB / 443.4 MB, free: 35.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.3621, allocations: 130.9 kB / 443.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.3622, allocations: 59.53 kB / 443.6 MB, free: 35.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-06/0.3622, allocations: 2.438 kB / 443.6 MB, free: 35.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.452e-05/0.3623, allocations: 335.7 kB / 444 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.3624, allocations: 65.25 kB / 444 MB, free: 35.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.3625, allocations: 62.77 kB / 444.1 MB, free: 35.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.3627, allocations: 74.16 kB / 444.2 MB, free: 35.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3627, allocations: 0 / 444.2 MB, free: 35.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003493/0.363, allocations: 231.9 kB / 444.4 MB, free: 35.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3631, allocations: 6.188 kB / 444.4 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3631, allocations: 3.469 kB / 444.4 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.3631, allocations: 3.938 kB / 444.4 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.3633, allocations: 42.62 kB / 444.4 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.3633, allocations: 3.375 kB / 444.4 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.3635, allocations: 41.89 kB / 444.5 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.3635, allocations: 9.688 kB / 444.5 MB, free: 35.14 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.0001934/0.3637, allocations: 150.8 kB / 444.6 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.3638, allocations: 23.75 kB / 444.7 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004404/0.3642, allocations: 238.5 kB / 444.9 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3643, allocations: 3 kB / 444.9 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3643, allocations: 4 kB / 444.9 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3643, allocations: 0 / 444.9 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.3645, allocations: 294 kB / 445.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3645, allocations: 0 / 445.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.3648, allocations: 30.42 kB / 445.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3648, allocations: 2.844 kB / 445.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.3648, allocations: 6.5 kB / 445.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3648, allocations: 0 / 445.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3648, allocations: 0 / 445.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000478/0.3653, allocations: 411.3 kB / 445.6 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.3654, allocations: 104.7 kB / 445.7 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.3654, allocations: 2.531 kB / 445.7 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.3657, allocations: 31.53 kB / 445.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.3657, allocations: 8.875 kB / 445.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3657, allocations: 6.844 kB / 445.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003339/0.3661, allocations: 218.8 kB / 446 MB, free: 34.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3661, allocations: 0 / 446 MB, free: 34.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.3663, allocations: 37.47 kB / 446 MB, free: 34.17 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 8.641e-05/0.3664, allocations: 97.84 kB / 446.1 MB, free: 34.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002936/0.3667, allocations: 176.5 kB / 446.3 MB, free: 34.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3667, allocations: 0 / 446.3 MB, free: 34.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.3669, allocations: 90.3 kB / 446.4 MB, free: 34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.3673, allocations: 37.31 kB / 446.4 MB, free: 33.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009652/0.3682, allocations: 0.5483 MB / 447 MB, free: 33.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.3685, allocations: 0.7551 MB / 447.7 MB, free: 32.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.3687, allocations: 54.06 kB / 447.8 MB, free: 32.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-05/0.3687, allocations: 16.38 kB / 447.8 MB, free: 32.94 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3687, allocations: 2.906 kB / 447.8 MB, free: 32.94 MB / 350.1 MB Notification: Performance of Templates: time 0.004265/0.373, allocations: 1.699 MB / 449.5 MB, free: 32.8 MB / 350.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)