Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009311/0.0009311, allocations: 75.7 kB / 20.8 MB, free: 3.711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007318/0.0007318, allocations: 166 kB / 24.09 MB, free: 424 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8796/0.8796, allocations: 177.1 MB / 204.4 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.05793/0.05793, allocations: 18.13 MB / 279 MB, free: 11.47 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Modelling_principles.M2_PhasorDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40200,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M2_PhasorDomain") translateModel(AES.Coursework.Modelling_principles.M2_PhasorDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40200,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M2_PhasorDomain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 416.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.181e-05, allocations: 4.75 kB / 416.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.0009394/0.0009612, allocations: 0.5536 MB / 417.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001119/0.001073, allocations: 35.28 kB / 417.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.001099, allocations: 0 / 417.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.126e-05/0.00111, allocations: 1.156 kB / 417.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.461e-05/0.001164, allocations: 9.375 kB / 417.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.646e-05/0.001251, allocations: 10.44 kB / 417.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.615e-05/0.001307, allocations: 30.8 kB / 417.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.357e-05/0.001341, allocations: 3.625 kB / 417.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.958e-05/0.00136, allocations: 14.3 kB / 417.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.001431, allocations: 19.41 kB / 417.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.001446, allocations: 1.406 kB / 417.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-06/0.001454, allocations: 1.344 kB / 417.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.001467, allocations: 11.28 kB / 417.2 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.001487, allocations: 9.578 kB / 417.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.344e-05/0.001541, allocations: 25.61 kB / 417.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.001542, allocations: 0 / 417.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.001543, allocations: 0 / 417.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.776e-06/0.001545, allocations: 1.562 kB / 417.3 MB, free: 11.91 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002583/0.001804, allocations: 279.9 kB / 417.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.001832, allocations: 9.391 kB / 417.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.001857, allocations: 8.594 kB / 417.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.027e-05/0.001908, allocations: 114.4 kB / 417.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.001917, allocations: 6.625 kB / 417.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.001938, allocations: 10.81 kB / 417.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.989e-05/0.002018, allocations: 50.53 kB / 417.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.002026, allocations: 1.625 kB / 417.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.002034, allocations: 0.875 kB / 417.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.002038, allocations: 5.797 kB / 417.8 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.378e-05/0.002072, allocations: 22.45 kB / 417.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.00231, allocations: 218.9 kB / 418 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.002433, allocations: 50.14 kB / 418 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.002451, allocations: 14 kB / 418.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.002458, allocations: 1.25 kB / 418.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.578e-06/0.002467, allocations: 41.3 kB / 418.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.002468, allocations: 0 / 418.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001273/0.002595, allocations: 62.3 kB / 418.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.61e-05/0.002611, allocations: 52.62 kB / 418.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.817e-05/0.002659, allocations: 122.8 kB / 418.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.598e-06/0.002664, allocations: 30.31 kB / 418.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.00269, allocations: 95.7 kB / 418.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.348e-06/0.002699, allocations: 15.7 kB / 418.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.002721, allocations: 20.19 kB / 418.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.354e-05/0.002745, allocations: 320.3 kB / 418.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.002761, allocations: 6.438 kB / 418.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.206e-05/0.002783, allocations: 23.75 kB / 418.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.002946, allocations: 82.78 kB / 418.9 MB, free: 10.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.002947, allocations: 0 / 418.9 MB, free: 10.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.394e-05/0.003011, allocations: 74.3 kB / 419 MB, free: 10.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.00302, allocations: 8.406 kB / 419 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.003024, allocations: 2.188 kB / 419 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.003034, allocations: 0 / 419 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.92e-05/0.003084, allocations: 18.64 kB / 419 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.003088, allocations: 1.719 kB / 419 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.003112, allocations: 17.7 kB / 419 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.003117, allocations: 2.875 kB / 419 MB, free: 10.3 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: 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 (8): * Single equations (assignments): 8 * 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 6.049e-05/0.003178, allocations: 118.1 kB / 419.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.003191, allocations: 10.83 kB / 419.2 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.56e-05/0.003206, allocations: 15.47 kB / 419.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.003208, allocations: 1.812 kB / 419.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.003211, allocations: 0 / 419.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.003213, allocations: 0 / 419.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.4e-05/0.003277, allocations: 118.5 kB / 419.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.003277, allocations: 0 / 419.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/0.00333, allocations: 15.75 kB / 419.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.00333, allocations: 4 kB / 419.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.003337, allocations: 5.406 kB / 419.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.003338, allocations: 0.9062 kB / 419.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.003338, allocations: 0 / 419.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.937e-05/0.003428, allocations: 163.8 kB / 419.5 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.003436, allocations: 3.438 kB / 419.5 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.003445, allocations: 4.734 kB / 419.5 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.066e-05/0.003475, allocations: 1.344 kB / 419.5 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.325e-05/0.003489, allocations: 11.41 kB / 419.5 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.003491, allocations: 1.375 kB / 419.5 MB, free: 9.867 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.198e-05/0.003513, allocations: 98.36 kB / 419.6 MB, free: 9.785 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003513, allocations: 0 / 419.6 MB, free: 9.785 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001331/0.003646, allocations: 6.875 kB / 419.6 MB, free: 9.785 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (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 (4): * Single equations (assignments): 4 * 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 4.082e-05/0.003687, allocations: 93.75 kB / 419.7 MB, free: 9.695 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.16e-05/0.003758, allocations: 35.59 kB / 419.7 MB, free: 9.684 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.003759, allocations: 0 / 419.7 MB, free: 9.684 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.394e-05/0.003773, allocations: 21.44 kB / 419.7 MB, free: 9.672 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.003906, allocations: 3.562 kB / 419.8 MB, free: 9.672 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001875/0.004094, allocations: 155.3 kB / 419.9 MB, free: 9.531 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.07e-05/0.004124, allocations: 69.61 kB / 420 MB, free: 9.461 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.768e-05/0.004142, allocations: 3.781 kB / 420 MB, free: 9.461 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.004158, allocations: 10.91 kB / 420 MB, free: 9.449 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.004158, allocations: 0 / 420 MB, free: 9.449 MB / 330.7 MB Notification: Performance of Templates: time 0.001454/0.005612, allocations: 412.2 kB / 420.4 MB, free: 9.391 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.makefile [Timeout 660] (rm -f AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe ; mkfifo AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe ; head -c 1048576 < AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe >> ../files/AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.sim & ./AES_AES.Coursework.Modelling_principles.M2_PhasorDomain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.707379287108779] Failed to read output from testmodel.py, exit status != 0: 0.010113557800650597 0.018256832 0.015191239 Calling exit ...