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.001295/0.001295, allocations: 83.03 kB / 19.96 MB, free: 1.754 MB / 14.72 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.00144/0.00144, allocations: 163.2 kB / 23.23 MB, free: 4.883 MB / 14.72 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 1.536/1.536, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.1062/0.1062, allocations: 18.14 MB / 278.1 MB, free: 15.05 MB / 270.1 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.763e-06/1.763e-06, allocations: 0 / 415.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.209e-05/3.385e-05, allocations: 2.281 kB / 415.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.001536/0.00157, allocations: 0.5781 MB / 416.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001613/0.001731, allocations: 23.84 kB / 416.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.001763, allocations: 0 / 416.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.00178, allocations: 3.938 kB / 416.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.286e-05/0.001863, allocations: 7.922 kB / 416.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.001975, allocations: 23.84 kB / 416.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.732e-05/0.002042, allocations: 23.92 kB / 416.2 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.002091, allocations: 4 kB / 416.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.147e-05/0.002122, allocations: 19.92 kB / 416.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.857e-05/0.002211, allocations: 11.98 kB / 416.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.002232, allocations: 4 kB / 416.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/0.002242, allocations: 0 / 416.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.002267, allocations: 15.91 kB / 416.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.002315, allocations: 4 kB / 416.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.484e-05/0.00239, allocations: 19.91 kB / 416.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.002392, allocations: 0 / 416.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002393, allocations: 0 / 416.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.002397, allocations: 3.938 kB / 416.3 MB, free: 1.848 MB / 334.1 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.0004714/0.002869, allocations: 286.2 kB / 416.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.002905, allocations: 12.92 kB / 416.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.00294, allocations: 8.891 kB / 416.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.003057, allocations: 117.7 kB / 416.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.00307, allocations: 384 / 416.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.003095, allocations: 12.27 kB / 416.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.003223, allocations: 46.25 kB / 416.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.003232, allocations: 192 / 416.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.003241, allocations: 384 / 416.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.003248, allocations: 4.375 kB / 416.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/0.003298, allocations: 19.92 kB / 416.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.003702, allocations: 212.6 kB / 417 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.003896, allocations: 54.5 kB / 417.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.003934, allocations: 16.84 kB / 417.1 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.003942, allocations: 0 / 417.1 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.003971, allocations: 38.58 kB / 417.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.003972, allocations: 0 / 417.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002023/0.004174, allocations: 65.64 kB / 417.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.004222, allocations: 51.41 kB / 417.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.004325, allocations: 121.8 kB / 417.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.004347, allocations: 37.64 kB / 417.4 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.004411, allocations: 100 kB / 417.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.004425, allocations: 7.906 kB / 417.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.004468, allocations: 25.7 kB / 417.5 MB, free: 488 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.004606, allocations: 314.8 kB / 417.8 MB, free: 164 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.004636, allocations: 15.98 kB / 417.8 MB, free: 148 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.613e-05/0.004672, allocations: 21.72 kB / 417.9 MB, free: 120 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.004962, allocations: 73.7 kB / 417.9 MB, free: 40 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004964, allocations: 4 kB / 417.9 MB, free: 36 kB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000133/0.005097, allocations: 73.62 kB / 418 MB, free: 15.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.005114, allocations: 11.94 kB / 418 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.005118, allocations: 0 / 418 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.005133, allocations: 0 / 418 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/0.005232, allocations: 19.98 kB / 418 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.005239, allocations: 3.938 kB / 418 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.005291, allocations: 7.953 kB / 418 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.0053, allocations: 4.062 kB / 418.1 MB, free: 15.91 MB / 350.1 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 0.000149/0.005449, allocations: 125.8 kB / 418.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.005482, allocations: 15.88 kB / 418.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/0.005511, allocations: 8 kB / 418.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.005513, allocations: 0 / 418.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.005519, allocations: 4 kB / 418.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.005522, allocations: 0 / 418.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.005664, allocations: 109.3 kB / 418.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.005665, allocations: 0 / 418.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.75e-05/0.005762, allocations: 12 kB / 418.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.005767, allocations: 7.984 kB / 418.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.005783, allocations: 11.94 kB / 418.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.005784, allocations: 160 / 418.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.005785, allocations: 0 / 418.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.00599, allocations: 159.4 kB / 418.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.006004, allocations: 8.031 kB / 418.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.006022, allocations: 7.922 kB / 418.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.006087, allocations: 0 / 418.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.006102, allocations: 7.938 kB / 418.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.006105, allocations: 0 / 418.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.031e-05/0.006166, allocations: 95.27 kB / 418.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.006166, allocations: 4.062 kB / 418.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.006385, allocations: 8 kB / 418.6 MB, free: 15.28 MB / 350.1 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 0.0001037/0.006488, allocations: 99.19 kB / 418.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.006612, allocations: 35.91 kB / 418.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.006614, allocations: 0 / 418.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.006638, allocations: 12 kB / 418.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.006853, allocations: 7.984 kB / 418.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.007188, allocations: 148.8 kB / 418.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.873e-05/0.007257, allocations: 71.34 kB / 419 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.794e-05/0.007285, allocations: 3.984 kB / 419 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.007316, allocations: 12.5 kB / 419 MB, free: 14.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.007316, allocations: 0 / 419 MB, free: 14.84 MB / 350.1 MB Notification: Performance of Templates: time 0.002658/0.009974, allocations: 413.4 kB / 419.4 MB, free: 14.43 MB / 350.1 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 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.425430331379175] Failed to read output from testmodel.py, exit status != 0: 0.018289033323526382 0.034272242 0.028462255000000002 Calling exit ...