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.00122/0.001221, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001438/0.001439, allocations: 189 kB / 16.14 MB, free: 6.711 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2178/0.2178, allocations: 22.34 MB / 312.3 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 59.91 kB / 380.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2968, allocations: 54.94 MB / 435 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002597/0.2994, allocations: 1.848 MB / 436.9 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008164/0.3003, allocations: 0.5778 MB / 437.5 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.3004, allocations: 2.562 kB / 437.5 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.3007, allocations: 35.36 kB / 437.5 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.3009, allocations: 50.56 kB / 437.5 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.301, allocations: 82.25 kB / 437.6 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.3013, allocations: 255.4 kB / 437.9 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.3014, allocations: 38.94 kB / 437.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3016, allocations: 102.1 kB / 438 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.3017, allocations: 122.7 kB / 438.1 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.3018, allocations: 8.188 kB / 438.1 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.703e-05/0.3018, allocations: 8.406 kB / 438.1 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.164e-05/0.3019, allocations: 62.7 kB / 438.2 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.302e-05/0.302, allocations: 79.56 kB / 438.3 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.3021, allocations: 164 kB / 438.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3021, allocations: 0 / 438.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.3021, allocations: 0 / 438.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3021, allocations: 0 / 438.4 MB, free: 37.36 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.00114/0.3033, allocations: 0.5807 MB / 439 MB, free: 36.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3033, allocations: 16.08 kB / 439 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.3034, allocations: 27.66 kB / 439.1 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/0.3039, allocations: 308.4 kB / 439.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.304, allocations: 10.36 kB / 439.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.304, allocations: 12.38 kB / 439.4 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.3043, allocations: 163.7 kB / 439.5 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3043, allocations: 0 / 439.5 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.3043, allocations: 4 kB / 439.6 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3043, allocations: 4.594 kB / 439.6 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.3046, allocations: 125 kB / 439.7 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007482/0.3053, allocations: 0.5392 MB / 440.2 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.3057, allocations: 204.8 kB / 440.4 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.3059, allocations: 85.98 kB / 440.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.3059, allocations: 2.688 kB / 440.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.3059, allocations: 30.56 kB / 440.5 MB, free: 36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.3059, allocations: 0 / 440.5 MB, free: 36 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004682/0.3064, allocations: 272.4 kB / 440.8 MB, free: 35.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.3065, allocations: 51.41 kB / 440.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004445/0.3069, allocations: 264.9 kB / 441.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.3069, allocations: 29.7 kB / 441.1 MB, free: 35.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.307, allocations: 127.5 kB / 441.3 MB, free: 35.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.307, allocations: 67.36 kB / 441.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.3071, allocations: 35.75 kB / 441.4 MB, free: 35.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.725e-05/0.3072, allocations: 334.8 kB / 441.7 MB, free: 35.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.3073, allocations: 58.31 kB / 441.7 MB, free: 35.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.736e-05/0.3074, allocations: 67.19 kB / 441.8 MB, free: 35.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.3089, allocations: 463.5 kB / 442.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.309, allocations: 4 kB / 442.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003125/0.3093, allocations: 238.8 kB / 442.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3093, allocations: 9.906 kB / 442.5 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3093, allocations: 0 / 442.5 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3093, allocations: 3.031 kB / 442.5 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.3095, allocations: 37.62 kB / 442.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3095, allocations: 2.812 kB / 442.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.3098, allocations: 36.02 kB / 442.6 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.3098, allocations: 13.66 kB / 442.6 MB, free: 34.85 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.000156/0.31, allocations: 158.5 kB / 442.8 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.31, allocations: 16.28 kB / 442.8 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004018/0.3104, allocations: 245 kB / 443 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-06/0.3104, allocations: 6.812 kB / 443 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3104, allocations: 0 / 443 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3104, allocations: 0 / 443 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.3107, allocations: 292.2 kB / 443.3 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3107, allocations: 2.875 kB / 443.3 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.3109, allocations: 36.38 kB / 443.3 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3109, allocations: 0 / 443.3 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.311, allocations: 6.969 kB / 443.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.311, allocations: 0 / 443.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.311, allocations: 0 / 443.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/0.3115, allocations: 402.9 kB / 443.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.3115, allocations: 105.1 kB / 443.8 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.3116, allocations: 7 kB / 443.9 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.3118, allocations: 33.92 kB / 443.9 MB, free: 33.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.3119, allocations: 9.062 kB / 443.9 MB, free: 33.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.3119, allocations: 7 kB / 443.9 MB, free: 33.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003643/0.3123, allocations: 210.5 kB / 444.1 MB, free: 33.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3123, allocations: 4 kB / 444.1 MB, free: 33.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.3125, allocations: 32.69 kB / 444.1 MB, free: 33.88 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 8.869e-05/0.3126, allocations: 100.1 kB / 444.2 MB, free: 33.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002995/0.3129, allocations: 184.3 kB / 444.4 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3129, allocations: 0 / 444.4 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.3131, allocations: 87.67 kB / 444.5 MB, free: 33.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.3134, allocations: 37.44 kB / 444.5 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008931/0.3143, allocations: 0.5584 MB / 445.1 MB, free: 33.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.3146, allocations: 0.7495 MB / 445.9 MB, free: 32.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.3147, allocations: 44.83 kB / 445.9 MB, free: 32.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.13e-05/0.3148, allocations: 22 kB / 445.9 MB, free: 32.62 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3148, allocations: 0 / 445.9 MB, free: 32.62 MB / 350.1 MB Notification: Performance of Templates: time 0.00439/0.3192, allocations: 1.776 MB / 447.7 MB, free: 32.47 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)