Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Modelling_principles.M1_TimeDomain.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.Modelling_principles.M1_TimeDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M1_TimeDomain") translateModel(AES.Coursework.Modelling_principles.M1_TimeDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M1_TimeDomain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 100.1 kB / 15.88 MB, free: 12 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.001368/0.001367, allocations: 200 kB / 16.79 MB, free: 6.828 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.321/1.321, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1935/0.1935, allocations: 22.36 MB / 313 MB, free: 12.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 75.86 kB / 380.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2462, allocations: 54.94 MB / 435.7 MB, free: 39.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001553/0.2478, allocations: 0.648 MB / 436.3 MB, free: 39.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001681/0.2479, allocations: 72.48 kB / 436.4 MB, free: 39.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.248, allocations: 0 / 436.4 MB, free: 39.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.248, allocations: 3.938 kB / 436.4 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.277e-05/0.2481, allocations: 10.78 kB / 436.4 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001214/0.2482, allocations: 15.53 kB / 436.4 MB, free: 39.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.207e-05/0.2483, allocations: 35.69 kB / 436.5 MB, free: 39.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.2483, allocations: 7.906 kB / 436.5 MB, free: 39.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.327e-05/0.2484, allocations: 19.09 kB / 436.5 MB, free: 39.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.182e-05/0.2484, allocations: 33.92 kB / 436.5 MB, free: 39.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.2484, allocations: 2.344 kB / 436.5 MB, free: 39.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.2485, allocations: 2.562 kB / 436.5 MB, free: 39.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.2485, allocations: 6.25 kB / 436.6 MB, free: 39.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.2485, allocations: 28.53 kB / 436.6 MB, free: 39.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.008e-05/0.2486, allocations: 20.36 kB / 436.6 MB, free: 39.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2486, allocations: 4 kB / 436.6 MB, free: 39.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2486, allocations: 2.344 kB / 436.6 MB, free: 39.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.045e-06/0.2486, allocations: 0 / 436.6 MB, free: 39.37 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003563/0.2489, allocations: 367.5 kB / 437 MB, free: 39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.249, allocations: 11.97 kB / 437 MB, free: 38.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.249, allocations: 7.625 kB / 437 MB, free: 38.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.604e-05/0.2491, allocations: 177.1 kB / 437.2 MB, free: 38.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2491, allocations: 2.938 kB / 437.2 MB, free: 38.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.2492, allocations: 11.09 kB / 437.2 MB, free: 38.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.2493, allocations: 72.53 kB / 437.2 MB, free: 38.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2493, allocations: 0 / 437.2 MB, free: 38.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.2493, allocations: 4 kB / 437.2 MB, free: 38.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2493, allocations: 0 / 437.2 MB, free: 38.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.498e-05/0.2494, allocations: 35.73 kB / 437.3 MB, free: 38.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.2497, allocations: 286.1 kB / 437.6 MB, free: 38.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.25, allocations: 103 kB / 437.7 MB, free: 38.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.25, allocations: 38.47 kB / 437.7 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.25, allocations: 6.781 kB / 437.7 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.2501, allocations: 33.94 kB / 437.7 MB, free: 38.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.2501, allocations: 0 / 437.7 MB, free: 38.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002138/0.2503, allocations: 107.4 kB / 437.8 MB, free: 38.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.2503, allocations: 55.41 kB / 437.9 MB, free: 38.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.944e-05/0.2504, allocations: 117.2 kB / 438 MB, free: 38.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.2504, allocations: 28.86 kB / 438 MB, free: 38.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.2504, allocations: 92.03 kB / 438.1 MB, free: 37.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.2505, allocations: 40.22 kB / 438.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.2505, allocations: 27.11 kB / 438.2 MB, free: 37.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.686e-05/0.2505, allocations: 325.8 kB / 438.5 MB, free: 37.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.476e-05/0.2506, allocations: 16.64 kB / 438.5 MB, free: 37.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.746e-05/0.2506, allocations: 42.55 kB / 438.6 MB, free: 37.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/0.251, allocations: 123.6 kB / 438.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.251, allocations: 0 / 438.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001296/0.2512, allocations: 103.6 kB / 438.8 MB, free: 37.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.2512, allocations: 13.8 kB / 438.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2512, allocations: 3.984 kB / 438.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2512, allocations: 2.656 kB / 438.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.2513, allocations: 30.72 kB / 438.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.2513, allocations: 2.344 kB / 438.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.973e-05/0.2514, allocations: 10.56 kB / 438.9 MB, free: 37.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.2514, allocations: 2.75 kB / 438.9 MB, free: 37.42 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: I:VARIABLE(start = 0.0 fixed = true ) type: Real Ta:VARIABLE(start = 10.0 fixed = true ) type: Real Tw:VARIABLE(start = 10.0 fixed = true ) type: Real 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 (14): * Single equations (assignments): 14 * 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.0001103/0.2515, allocations: 127.9 kB / 439 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.2515, allocations: 2.688 kB / 439 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.2517, allocations: 112.7 kB / 439.1 MB, free: 37.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2517, allocations: 0 / 439.1 MB, free: 37.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2517, allocations: 384 / 439.1 MB, free: 37.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2517, allocations: 2.719 kB / 439.1 MB, free: 37.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.2519, allocations: 192.8 kB / 439.3 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2519, allocations: 2.812 kB / 439.3 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.252, allocations: 31.27 kB / 439.3 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.252, allocations: 4 kB / 439.3 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.2521, allocations: 9.875 kB / 439.3 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2521, allocations: 0 / 439.3 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2521, allocations: 0 / 439.3 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.2523, allocations: 229.2 kB / 439.6 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.2523, allocations: 81.02 kB / 439.6 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.2523, allocations: 3.625 kB / 439.6 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-05/0.2524, allocations: 4 kB / 439.6 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.2524, allocations: 9.422 kB / 439.7 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.2524, allocations: 2.594 kB / 439.7 MB, free: 36.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.694e-05/0.2524, allocations: 91.33 kB / 439.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2525, allocations: 0 / 439.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.2527, allocations: 15.28 kB / 439.8 MB, free: 36.64 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (I,Ta,Tw) * 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 (11): * Single equations (assignments): 11 * 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 6.31e-05/0.2527, allocations: 95 kB / 439.9 MB, free: 36.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.2529, allocations: 67.81 kB / 439.9 MB, free: 36.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2529, allocations: 4.062 kB / 439.9 MB, free: 36.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.121e-05/0.2529, allocations: 40.53 kB / 440 MB, free: 36.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.2532, allocations: 12.64 kB / 440 MB, free: 36.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.2536, allocations: 272.1 kB / 440.2 MB, free: 36.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.2537, allocations: 0.6955 MB / 440.9 MB, free: 35.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.2537, allocations: 17.06 kB / 441 MB, free: 35.58 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2537, allocations: 0 / 441 MB, free: 35.58 MB / 350.1 MB Notification: Performance of Templates: time 0.00186/0.2556, allocations: 0.9189 MB / 441.9 MB, free: 35.52 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Modelling_principles.M1_TimeDomain.makefile (rm -f AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe ; mkfifo AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe ; head -c 1048576 < AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe >> ../files/AES_AES.Coursework.Modelling_principles.M1_TimeDomain.sim & ./AES_AES.Coursework.Modelling_principles.M1_TimeDomain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe 2>&1)