Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.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.SplitRange_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008205/0.0008206, allocations: 92.16 kB / 16.02 MB, free: 80 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.000881/0.000881, allocations: 182.8 kB / 16.92 MB, free: 6.922 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.317/1.317, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2012/0.2012, allocations: 22.34 MB / 314.4 MB, free: 13.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003256, allocations: 12 kB / 383.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.26, allocations: 55.98 MB / 439.2 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.001881/0.262, allocations: 1.692 MB / 440.9 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.2631, allocations: 0.6612 MB / 441.6 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.2633, allocations: 10.97 kB / 441.6 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003941/0.2637, allocations: 64.41 kB / 441.7 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.264, allocations: 83.5 kB / 441.7 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.2643, allocations: 153.9 kB / 441.9 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004332/0.2648, allocations: 439.7 kB / 442.3 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.265, allocations: 68.03 kB / 442.4 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.2652, allocations: 147 kB / 442.5 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.2655, allocations: 194.9 kB / 442.7 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.327e-05/0.2655, allocations: 10.41 kB / 442.7 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.337e-05/0.2656, allocations: 8.938 kB / 442.7 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.2657, allocations: 87.22 kB / 442.8 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.2658, allocations: 136.6 kB / 443 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.266, allocations: 216 kB / 443.2 MB, free: 37.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.266, allocations: 0 / 443.2 MB, free: 37.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.266, allocations: 0 / 443.2 MB, free: 37.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.266, allocations: 0 / 443.2 MB, free: 37.03 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001642/0.2677, allocations: 0.7259 MB / 443.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2677, allocations: 15.39 kB / 443.9 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.79e-05/0.2678, allocations: 36.62 kB / 444 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008578/0.2687, allocations: 422.7 kB / 444.4 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.2687, allocations: 12.77 kB / 444.4 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.2688, allocations: 20.69 kB / 444.4 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.2691, allocations: 201.6 kB / 444.6 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.2691, allocations: 0 / 444.6 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.2692, allocations: 15.91 kB / 444.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.2692, allocations: 6.531 kB / 444.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/0.2695, allocations: 199.1 kB / 444.8 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.2705, allocations: 0.6994 MB / 445.5 MB, free: 35.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/0.2712, allocations: 314.8 kB / 445.8 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.2713, allocations: 135 kB / 445.9 MB, free: 35.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.2714, allocations: 2.719 kB / 446 MB, free: 35.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.2714, allocations: 37.78 kB / 446 MB, free: 35.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.303e-06/0.2714, allocations: 0 / 446 MB, free: 35.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005945/0.272, allocations: 363.7 kB / 446.3 MB, free: 35.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.272, allocations: 54.28 kB / 446.4 MB, free: 35.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008037/0.2729, allocations: 431.6 kB / 446.8 MB, free: 35.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.2729, allocations: 36.48 kB / 446.9 MB, free: 35.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.705e-05/0.273, allocations: 164.1 kB / 447 MB, free: 34.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.533e-05/0.2731, allocations: 86.16 kB / 447.1 MB, free: 34.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.2731, allocations: 29.78 kB / 447.1 MB, free: 34.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.168e-05/0.2732, allocations: 345.6 kB / 447.5 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2733, allocations: 94.14 kB / 447.6 MB, free: 34.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.2735, allocations: 102.1 kB / 447.7 MB, free: 34.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002264/0.2758, allocations: 0.6705 MB / 448.3 MB, free: 34.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2758, allocations: 0 / 448.3 MB, free: 34.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004659/0.2762, allocations: 329.3 kB / 448.6 MB, free: 34.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2763, allocations: 5.219 kB / 448.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.2763, allocations: 3.938 kB / 448.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2763, allocations: 2.781 kB / 448.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.2766, allocations: 47.39 kB / 448.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.2766, allocations: 6.766 kB / 448.7 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004075/0.277, allocations: 65.98 kB / 448.8 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.277, allocations: 8.438 kB / 448.8 MB, free: 34.08 MB / 350.1 MB Warning: Assuming fixed start value for the following 7 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 CA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] CA2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (31): * Single equations (assignments): 31 * 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.0002057/0.2772, allocations: 173.3 kB / 449 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/0.2773, allocations: 29.34 kB / 449 MB, free: 33.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005701/0.2779, allocations: 333.8 kB / 449.3 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2779, allocations: 6.719 kB / 449.3 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2779, allocations: 0 / 449.3 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.2779, allocations: 0 / 449.3 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.2783, allocations: 374.8 kB / 449.7 MB, free: 33.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.2783, allocations: 0 / 449.7 MB, free: 33.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.2786, allocations: 57.48 kB / 449.7 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2786, allocations: 2.875 kB / 449.7 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.2786, allocations: 10.06 kB / 449.8 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2787, allocations: 3.938 kB / 449.8 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2787, allocations: 0 / 449.8 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006337/0.2793, allocations: 0.5131 MB / 450.3 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.866e-05/0.2794, allocations: 124.4 kB / 450.4 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.2794, allocations: 10.33 kB / 450.4 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.2799, allocations: 54.45 kB / 450.5 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.2799, allocations: 14.86 kB / 450.5 MB, free: 33.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.2799, allocations: 8.344 kB / 450.5 MB, free: 33.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000697/0.2806, allocations: 337.5 kB / 450.8 MB, free: 32.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2807, allocations: 0 / 450.8 MB, free: 32.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003201/0.281, allocations: 56.44 kB / 450.9 MB, free: 32.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y,CA2.x_scaled[1],CA1.x_scaled[1]) * 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 (26): * Single equations (assignments): 26 * 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.0001003/0.2811, allocations: 109.4 kB / 451 MB, free: 32.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000403/0.2815, allocations: 257.9 kB / 451.2 MB, free: 32.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2815, allocations: 0 / 451.2 MB, free: 32.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.2817, allocations: 129.8 kB / 451.3 MB, free: 32.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.2822, allocations: 70.62 kB / 451.4 MB, free: 32.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.2834, allocations: 0.8368 MB / 452.3 MB, free: 32.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.2836, allocations: 0.7982 MB / 453 MB, free: 31.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.2837, allocations: 30.38 kB / 453.1 MB, free: 31.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2837, allocations: 0 / 453.1 MB, free: 31.48 MB / 350.1 MB Notification: Performance of Templates: time 0.007623/0.2914, allocations: 3.8 MB / 456.9 MB, free: 31.19 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe 2>&1)