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.001212/0.001212, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001416/0.001416, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.314/1.314, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2058/0.2058, allocations: 22.35 MB / 312.3 MB, free: 12.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001255, allocations: 59.91 kB / 380.1 MB, free: 11.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2768, allocations: 54.94 MB / 435 MB, free: 39.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.00258/0.2794, allocations: 1.856 MB / 436.9 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000763/0.2802, allocations: 0.5644 MB / 437.5 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.2803, allocations: 0 / 437.5 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.2806, allocations: 38.52 kB / 437.5 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.2808, allocations: 55.95 kB / 437.5 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.2809, allocations: 84.73 kB / 437.6 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.2811, allocations: 240.2 kB / 437.9 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.2813, allocations: 38.91 kB / 437.9 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.2814, allocations: 93.84 kB / 438 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.2815, allocations: 116.6 kB / 438.1 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.2816, allocations: 10.28 kB / 438.1 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.048e-05/0.2816, allocations: 7.75 kB / 438.1 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.322e-05/0.2817, allocations: 58.42 kB / 438.2 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.085e-05/0.2818, allocations: 67.17 kB / 438.2 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.2819, allocations: 174.9 kB / 438.4 MB, free: 37.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.282, allocations: 0 / 438.4 MB, free: 37.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.282, allocations: 0 / 438.4 MB, free: 37.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.282, allocations: 0 / 438.4 MB, free: 37.34 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.001158/0.2831, allocations: 0.5711 MB / 439 MB, free: 36.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2832, allocations: 12.25 kB / 439 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.375e-05/0.2832, allocations: 26.98 kB / 439 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.2838, allocations: 307.5 kB / 439.3 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2838, allocations: 9.469 kB / 439.3 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.2838, allocations: 8.641 kB / 439.3 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.2841, allocations: 141 kB / 439.5 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2841, allocations: 3.938 kB / 439.5 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.2841, allocations: 6.812 kB / 439.5 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2841, allocations: 2.812 kB / 439.5 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.2843, allocations: 117.2 kB / 439.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000761/0.2851, allocations: 0.5188 MB / 440.1 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.2855, allocations: 183.5 kB / 440.3 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.2856, allocations: 78.72 kB / 440.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.2857, allocations: 2.562 kB / 440.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/0.2857, allocations: 34.5 kB / 440.4 MB, free: 36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.2857, allocations: 0 / 440.4 MB, free: 36 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004528/0.2861, allocations: 247.5 kB / 440.7 MB, free: 35.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.2862, allocations: 54 kB / 440.7 MB, free: 35.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.2866, allocations: 272.4 kB / 441 MB, free: 35.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.2867, allocations: 29.7 kB / 441 MB, free: 35.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.2867, allocations: 129 kB / 441.1 MB, free: 35.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.2868, allocations: 53.48 kB / 441.2 MB, free: 35.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.2868, allocations: 36.77 kB / 441.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.548e-05/0.2869, allocations: 331.4 kB / 441.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.287, allocations: 61.31 kB / 441.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.609e-05/0.2871, allocations: 61.97 kB / 441.7 MB, free: 35.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.2888, allocations: 466 kB / 442.1 MB, free: 35.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2888, allocations: 0 / 442.1 MB, free: 35.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003107/0.2891, allocations: 224.3 kB / 442.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2891, allocations: 5.125 kB / 442.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2891, allocations: 6.062 kB / 442.4 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2892, allocations: 0 / 442.4 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.2894, allocations: 33.88 kB / 442.4 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.2894, allocations: 9.906 kB / 442.4 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.2896, allocations: 36.38 kB / 442.4 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.2896, allocations: 9.531 kB / 442.4 MB, free: 34.88 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.0001445/0.2898, allocations: 142.9 kB / 442.6 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.2898, allocations: 17.17 kB / 442.6 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.2902, allocations: 235.9 kB / 442.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2902, allocations: 0 / 442.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2903, allocations: 3.938 kB / 442.8 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2903, allocations: 3.938 kB / 442.8 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.2905, allocations: 286.7 kB / 443.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2905, allocations: 0 / 443.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.2907, allocations: 36.59 kB / 443.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2908, allocations: 0 / 443.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.2908, allocations: 7.031 kB / 443.2 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2908, allocations: 4 kB / 443.2 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2908, allocations: 10.17 kB / 443.2 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.2912, allocations: 373.4 kB / 443.5 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.2913, allocations: 100.5 kB / 443.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.2913, allocations: 6.75 kB / 443.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.2916, allocations: 31.77 kB / 443.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.2917, allocations: 18.33 kB / 443.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.2917, allocations: 2.969 kB / 443.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003734/0.2921, allocations: 213.5 kB / 443.9 MB, free: 33.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2921, allocations: 0 / 443.9 MB, free: 33.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000259/0.2923, allocations: 34.88 kB / 443.9 MB, free: 33.93 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 8.57e-05/0.2924, allocations: 111.9 kB / 444 MB, free: 33.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000293/0.2927, allocations: 167.3 kB / 444.2 MB, free: 33.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2927, allocations: 0 / 444.2 MB, free: 33.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.2929, allocations: 80.58 kB / 444.3 MB, free: 33.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.2933, allocations: 45.75 kB / 444.3 MB, free: 33.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008382/0.2941, allocations: 0.5267 MB / 444.9 MB, free: 33.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.2943, allocations: 0.7442 MB / 445.6 MB, free: 32.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.2944, allocations: 42.28 kB / 445.6 MB, free: 32.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.2945, allocations: 20.64 kB / 445.7 MB, free: 32.69 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2945, allocations: 0 / 445.7 MB, free: 32.69 MB / 350.1 MB Notification: Performance of Templates: time 0.004288/0.2988, allocations: 1.86 MB / 447.5 MB, free: 32.54 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)