Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.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_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009725/0.0009761, allocations: 98.88 kB / 16.02 MB, free: 76 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.001043/0.001043, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.319/1.319, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2204/0.2204, allocations: 22.34 MB / 314.4 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003129, allocations: 8 kB / 383.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2537, allocations: 55.97 MB / 439.2 MB, free: 39.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.001464/0.2552, allocations: 1.509 MB / 440.7 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007159/0.2559, allocations: 0.5613 MB / 441.3 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.143e-05/0.256, allocations: 7.031 kB / 441.3 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.2563, allocations: 31.09 kB / 441.3 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.2564, allocations: 50.28 kB / 441.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.2566, allocations: 84.33 kB / 441.5 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.2568, allocations: 243.2 kB / 441.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.2569, allocations: 40.83 kB / 441.7 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.2571, allocations: 88.33 kB / 441.8 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.2572, allocations: 112.6 kB / 441.9 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.2573, allocations: 5.406 kB / 441.9 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.163e-05/0.2573, allocations: 5.5 kB / 441.9 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.39e-05/0.2574, allocations: 52.38 kB / 442 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.2574, allocations: 101.2 kB / 442.1 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.2576, allocations: 119 kB / 442.2 MB, free: 37.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2576, allocations: 0 / 442.2 MB, free: 37.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2576, allocations: 0 / 442.2 MB, free: 37.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.2576, allocations: 0 / 442.2 MB, free: 37.61 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001048/0.2586, allocations: 0.5484 MB / 442.8 MB, free: 37.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.2587, allocations: 14.5 kB / 442.8 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.2587, allocations: 21.12 kB / 442.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.2592, allocations: 316.9 kB / 443.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.2593, allocations: 7.344 kB / 443.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.2593, allocations: 10 kB / 443.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.2595, allocations: 140.1 kB / 443.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2595, allocations: 2.625 kB / 443.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.2596, allocations: 8 kB / 443.3 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2596, allocations: 3.75 kB / 443.3 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.2598, allocations: 125.2 kB / 443.4 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000701/0.2605, allocations: 0.5114 MB / 443.9 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.2609, allocations: 178.5 kB / 444.1 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.261, allocations: 86.88 kB / 444.2 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.261, allocations: 2.656 kB / 444.2 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.2611, allocations: 37.31 kB / 444.2 MB, free: 36.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.2611, allocations: 0 / 444.2 MB, free: 36.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004449/0.2615, allocations: 243.8 kB / 444.4 MB, free: 36.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.2616, allocations: 51.41 kB / 444.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004563/0.262, allocations: 280.5 kB / 444.8 MB, free: 35.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.262, allocations: 36.27 kB / 444.8 MB, free: 35.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.2621, allocations: 123.8 kB / 444.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.2621, allocations: 55.86 kB / 445 MB, free: 35.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.2622, allocations: 19.75 kB / 445 MB, free: 35.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.2622, allocations: 335.4 kB / 445.3 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.2623, allocations: 59.31 kB / 445.4 MB, free: 35.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.546e-05/0.2624, allocations: 65.33 kB / 445.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.2642, allocations: 471.6 kB / 445.9 MB, free: 35.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.2642, allocations: 4 kB / 445.9 MB, free: 35.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003056/0.2645, allocations: 220.6 kB / 446.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2645, allocations: 6.234 kB / 446.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2645, allocations: 0 / 446.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.2646, allocations: 3 kB / 446.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.2647, allocations: 29.52 kB / 446.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2648, allocations: 6.25 kB / 446.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.265, allocations: 46.66 kB / 446.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.265, allocations: 6.938 kB / 446.2 MB, free: 35.16 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 (20): * Single equations (assignments): 20 * 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.0001489/0.2652, allocations: 143.9 kB / 446.4 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.2652, allocations: 22.09 kB / 446.4 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/0.2656, allocations: 223.9 kB / 446.6 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2656, allocations: 2.469 kB / 446.6 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2657, allocations: 3.938 kB / 446.6 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2657, allocations: 2.594 kB / 446.6 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.2659, allocations: 286.6 kB / 446.9 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.2659, allocations: 2.875 kB / 446.9 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.2661, allocations: 29.86 kB / 446.9 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2662, allocations: 0 / 446.9 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.2662, allocations: 10.81 kB / 446.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.2662, allocations: 2.875 kB / 446.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2662, allocations: 7.875 kB / 446.9 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004351/0.2666, allocations: 385.9 kB / 447.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.2667, allocations: 94.12 kB / 447.4 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.2667, allocations: 7.062 kB / 447.4 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.267, allocations: 35.88 kB / 447.5 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.2671, allocations: 10.28 kB / 447.5 MB, free: 34.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.2671, allocations: 7.719 kB / 447.5 MB, free: 34.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003862/0.2675, allocations: 217.5 kB / 447.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2675, allocations: 0 / 447.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.2677, allocations: 40.84 kB / 447.7 MB, free: 34.2 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 (17): * Single equations (assignments): 17 * 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 7.91e-05/0.2678, allocations: 106.8 kB / 447.8 MB, free: 34.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.2681, allocations: 161.8 kB / 448 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2681, allocations: 0 / 448 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.2682, allocations: 83.44 kB / 448.1 MB, free: 34.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.2686, allocations: 39.45 kB / 448.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007897/0.2694, allocations: 0.5811 MB / 448.7 MB, free: 33.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.2696, allocations: 0.7545 MB / 449.4 MB, free: 32.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.136e-05/0.2697, allocations: 16.75 kB / 449.5 MB, free: 32.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2697, allocations: 0 / 449.5 MB, free: 32.93 MB / 350.1 MB Notification: Performance of Templates: time 0.003452/0.2731, allocations: 2.49 MB / 451.9 MB, free: 32.76 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1)