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.001177/0.001177, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 193.3 kB / 16.53 MB, free: 6.664 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2356/0.2356, allocations: 22.36 MB / 312.7 MB, free: 12.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 55.91 kB / 380.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3226, allocations: 54.96 MB / 435.8 MB, free: 39.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002654/0.3253, allocations: 1.786 MB / 437.6 MB, free: 38.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008575/0.3262, allocations: 0.5862 MB / 438.1 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.148e-05/0.3263, allocations: 2.844 kB / 438.1 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.3266, allocations: 43.09 kB / 438.2 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.3268, allocations: 52.22 kB / 438.2 MB, free: 38.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.327, allocations: 98.27 kB / 438.3 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.3272, allocations: 267.1 kB / 438.6 MB, free: 38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.3274, allocations: 41.3 kB / 438.6 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.3275, allocations: 108.1 kB / 438.7 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.3277, allocations: 123.1 kB / 438.9 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.3277, allocations: 13.16 kB / 438.9 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.93e-05/0.3278, allocations: 15.72 kB / 438.9 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.637e-05/0.3279, allocations: 64.41 kB / 439 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.988e-05/0.3279, allocations: 82.33 kB / 439 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.3281, allocations: 178.6 kB / 439.2 MB, free: 37.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3281, allocations: 0 / 439.2 MB, free: 37.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3281, allocations: 4 kB / 439.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.3281, allocations: 0 / 439.2 MB, free: 37.73 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.001166/0.3293, allocations: 0.5794 MB / 439.8 MB, free: 37.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.3293, allocations: 8.344 kB / 439.8 MB, free: 37.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.3294, allocations: 23.88 kB / 439.8 MB, free: 37.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.3299, allocations: 310 kB / 440.1 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.33, allocations: 16.3 kB / 440.1 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.33, allocations: 10.06 kB / 440.2 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.3302, allocations: 154.6 kB / 440.3 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3303, allocations: 3.984 kB / 440.3 MB, free: 36.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.3303, allocations: 0 / 440.3 MB, free: 36.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.3303, allocations: 3.969 kB / 440.3 MB, free: 36.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.3306, allocations: 135.2 kB / 440.4 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007717/0.3313, allocations: 0.5392 MB / 441 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004178/0.3318, allocations: 198.9 kB / 441.2 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.3319, allocations: 88.03 kB / 441.3 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.332, allocations: 6.438 kB / 441.3 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.332, allocations: 33.25 kB / 441.3 MB, free: 36.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.332, allocations: 0 / 441.3 MB, free: 36.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005104/0.3325, allocations: 265 kB / 441.6 MB, free: 36.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.3325, allocations: 59.03 kB / 441.6 MB, free: 36.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004613/0.333, allocations: 262.5 kB / 441.9 MB, free: 36.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.333, allocations: 32.48 kB / 441.9 MB, free: 36.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.3331, allocations: 126.8 kB / 442 MB, free: 35.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.3332, allocations: 59.34 kB / 442.1 MB, free: 35.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.3332, allocations: 39.89 kB / 442.1 MB, free: 35.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.138e-05/0.3333, allocations: 329 kB / 442.4 MB, free: 35.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.3334, allocations: 62.19 kB / 442.5 MB, free: 35.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.3335, allocations: 66.95 kB / 442.6 MB, free: 35.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.3351, allocations: 472.7 kB / 443 MB, free: 35.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3352, allocations: 0 / 443 MB, free: 35.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003259/0.3355, allocations: 233.2 kB / 443.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3355, allocations: 5.406 kB / 443.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3355, allocations: 0 / 443.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3355, allocations: 2.625 kB / 443.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.3357, allocations: 38.38 kB / 443.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3358, allocations: 6.844 kB / 443.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.336, allocations: 36.66 kB / 443.4 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.336, allocations: 3.781 kB / 443.4 MB, free: 35.23 MB / 350.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.0001853/0.3362, allocations: 159.6 kB / 443.5 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.3363, allocations: 16.94 kB / 443.5 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004122/0.3367, allocations: 239.3 kB / 443.8 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3367, allocations: 2.844 kB / 443.8 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3367, allocations: 4 kB / 443.8 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3367, allocations: 3.188 kB / 443.8 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.337, allocations: 289.4 kB / 444.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.337, allocations: 0 / 444.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.3372, allocations: 41.44 kB / 444.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3372, allocations: 0 / 444.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.3372, allocations: 6.766 kB / 444.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3373, allocations: 3.938 kB / 444.1 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3373, allocations: 2.844 kB / 444.1 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000475/0.3377, allocations: 414.5 kB / 444.5 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.3378, allocations: 98.55 kB / 444.6 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.3378, allocations: 10.19 kB / 444.6 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.3381, allocations: 28.55 kB / 444.6 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.3382, allocations: 14.91 kB / 444.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.3382, allocations: 6.422 kB / 444.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003863/0.3386, allocations: 210.3 kB / 444.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3386, allocations: 0 / 444.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.3389, allocations: 31.69 kB / 444.9 MB, free: 34.25 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 (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.0001132/0.339, allocations: 106.5 kB / 445 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003474/0.3393, allocations: 194 kB / 445.2 MB, free: 34.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3393, allocations: 4 kB / 445.2 MB, free: 34.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.3395, allocations: 84.78 kB / 445.3 MB, free: 34.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.3399, allocations: 43.56 kB / 445.3 MB, free: 34.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008408/0.3407, allocations: 498.8 kB / 445.8 MB, free: 33.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.3409, allocations: 0.7537 MB / 446.6 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.341, allocations: 49.03 kB / 446.6 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.3411, allocations: 18.19 kB / 446.6 MB, free: 33.06 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3411, allocations: 0 / 446.6 MB, free: 33.06 MB / 350.1 MB Notification: Performance of Templates: time 0.004501/0.3456, allocations: 1.892 MB / 448.5 MB, free: 32.91 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)