Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.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_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005673/0.005673, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001519/0.001519, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.296/1.296, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.192/0.192, allocations: 22.35 MB / 313 MB, free: 12.64 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 60.09 kB / 380.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2503, allocations: 54.94 MB / 435.7 MB, free: 39.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.002556/0.2529, allocations: 2.025 MB / 437.7 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009754/0.2539, allocations: 0.7077 MB / 438.4 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.49e-05/0.254, allocations: 0 / 438.4 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.2543, allocations: 83.12 kB / 438.5 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.2545, allocations: 83.42 kB / 438.6 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.2549, allocations: 177.8 kB / 438.8 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.2552, allocations: 472.8 kB / 439.2 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.2554, allocations: 67.64 kB / 439.3 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.2556, allocations: 174.2 kB / 439.5 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003027/0.2559, allocations: 205.5 kB / 439.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.2559, allocations: 11 kB / 439.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.246e-05/0.256, allocations: 13.72 kB / 439.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.2561, allocations: 89.91 kB / 439.8 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.79e-05/0.2562, allocations: 111.9 kB / 439.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.2564, allocations: 214 kB / 440.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2564, allocations: 0 / 440.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.2564, allocations: 0 / 440.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.2564, allocations: 0 / 440.1 MB, free: 37.06 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.00181/0.2582, allocations: 0.7706 MB / 440.9 MB, free: 36.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2583, allocations: 11.88 kB / 440.9 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.765e-05/0.2584, allocations: 33.97 kB / 440.9 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008813/0.2592, allocations: 450.9 kB / 441.3 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.2593, allocations: 10.59 kB / 441.4 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.2593, allocations: 12.44 kB / 441.4 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.2596, allocations: 193.3 kB / 441.6 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2596, allocations: 0 / 441.6 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.2596, allocations: 4 kB / 441.6 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2596, allocations: 3.594 kB / 441.6 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.2599, allocations: 188.6 kB / 441.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000838/0.2608, allocations: 0.6478 MB / 442.4 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007057/0.2615, allocations: 348.6 kB / 442.7 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.2617, allocations: 104.5 kB / 442.8 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.2617, allocations: 6.125 kB / 442.8 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.2617, allocations: 33.53 kB / 442.9 MB, free: 35.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.2617, allocations: 4 kB / 442.9 MB, free: 35.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0009871/0.2627, allocations: 0.4931 MB / 443.4 MB, free: 35.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.2627, allocations: 58.25 kB / 443.4 MB, free: 35.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008505/0.2636, allocations: 455.5 kB / 443.9 MB, free: 35.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.2636, allocations: 29.7 kB / 443.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.2637, allocations: 164.6 kB / 444.1 MB, free: 34.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.2638, allocations: 74.22 kB / 444.1 MB, free: 34.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/0.2638, allocations: 46.64 kB / 444.2 MB, free: 34.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.585e-05/0.2639, allocations: 341.8 kB / 444.5 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.264, allocations: 84 kB / 444.6 MB, free: 34.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.2642, allocations: 109 kB / 444.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.2656, allocations: 0.514 MB / 445.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2656, allocations: 0 / 445.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005049/0.2661, allocations: 351 kB / 445.6 MB, free: 34.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2661, allocations: 8.031 kB / 445.6 MB, free: 34.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.2661, allocations: 0 / 445.6 MB, free: 34.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/0.2663, allocations: 47.59 kB / 445.6 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.2665, allocations: 35.34 kB / 445.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009543/0.2674, allocations: 1.5 MB / 447.2 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004025/0.2678, allocations: 79.03 kB / 447.2 MB, free: 32.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.2679, allocations: 10.81 kB / 447.2 MB, free: 32.61 MB / 350.1 MB Warning: Assuming fixed start value for the following 5 variables: C.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] K.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] H.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] P.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001668/0.268, allocations: 169.7 kB / 447.4 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.2681, allocations: 30 kB / 447.4 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.853e-05/0.2682, allocations: 42.22 kB / 447.5 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2682, allocations: 2.719 kB / 447.5 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2682, allocations: 0 / 447.5 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2682, allocations: 2.906 kB / 447.5 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.2685, allocations: 350.4 kB / 447.8 MB, free: 32.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2685, allocations: 0 / 447.8 MB, free: 32.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.2687, allocations: 23.95 kB / 447.8 MB, free: 32.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001392/0.2688, allocations: 54.91 kB / 447.9 MB, free: 32.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.2689, allocations: 7.031 kB / 447.9 MB, free: 32.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008522/0.2697, allocations: 1.51 MB / 449.4 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2697, allocations: 3.938 kB / 449.4 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006335/0.2704, allocations: 0.5096 MB / 449.9 MB, free: 30.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.2704, allocations: 114.8 kB / 450 MB, free: 30.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.2705, allocations: 10.69 kB / 450.1 MB, free: 30.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.2709, allocations: 54.31 kB / 450.1 MB, free: 30.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.271, allocations: 18.67 kB / 450.1 MB, free: 30.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.271, allocations: 3.188 kB / 450.1 MB, free: 30.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007371/0.2717, allocations: 364.5 kB / 450.5 MB, free: 30.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2717, allocations: 0 / 450.5 MB, free: 30.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.272, allocations: 54.75 kB / 450.5 MB, free: 30.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (P.x_scaled[1],H.x_scaled[1],M.x_scaled[1],K.x_scaled[1],C.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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.298e-05/0.2721, allocations: 106.1 kB / 450.6 MB, free: 30.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005168/0.2727, allocations: 362.9 kB / 451 MB, free: 29.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2727, allocations: 0 / 451 MB, free: 29.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002695/0.2729, allocations: 245.7 kB / 451.2 MB, free: 29.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.2733, allocations: 57.53 kB / 451.3 MB, free: 29.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009863/0.2743, allocations: 0.757 MB / 452 MB, free: 29.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.2745, allocations: 0.7948 MB / 452.8 MB, free: 28.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.495e-05/0.2746, allocations: 22.62 kB / 452.9 MB, free: 28.54 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2746, allocations: 0 / 452.9 MB, free: 28.54 MB / 350.1 MB Notification: Performance of Templates: time 0.00578/0.2804, allocations: 4.58 MB / 457.4 MB, free: 28.21 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.makefile (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe 2>&1)