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.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.M2_PhasorDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80400,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M2_PhasorDomain") translateModel(AES.Coursework.Modelling_principles.M2_PhasorDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80400,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M2_PhasorDomain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 110.1 kB / 16.27 MB, free: 6.352 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.001223/0.001223, allocations: 188.6 kB / 17.2 MB, free: 5.953 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.298/1.298, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09461/0.09461, allocations: 22.32 MB / 313.4 MB, free: 8.98 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 62.27 kB / 381.5 MB, free: 41.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07779/0.07914, allocations: 54.96 MB / 436.4 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.001638/0.08081, allocations: 0.5653 MB / 437 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001255/0.08095, allocations: 31.83 kB / 437 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.08099, allocations: 0 / 437 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.08101, allocations: 0 / 437 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.678e-05/0.08108, allocations: 11.86 kB / 437 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.595e-05/0.08117, allocations: 7.984 kB / 437 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.567e-05/0.08123, allocations: 31.86 kB / 437.1 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.08129, allocations: 7.984 kB / 437.1 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.013e-05/0.08133, allocations: 19.92 kB / 437.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.88e-05/0.08141, allocations: 15.92 kB / 437.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.08143, allocations: 4 kB / 437.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-06/0.08145, allocations: 0 / 437.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.08147, allocations: 11.94 kB / 437.1 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.0815, allocations: 11.86 kB / 437.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.155e-05/0.08156, allocations: 27.91 kB / 437.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.08156, allocations: 0 / 437.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.08157, allocations: 0 / 437.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.08158, allocations: 0 / 437.2 MB, free: 12.43 MB / 318.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.000405/0.08199, allocations: 363.6 kB / 437.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.08203, allocations: 12.03 kB / 437.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.08206, allocations: 4.844 kB / 437.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.9e-05/0.08217, allocations: 180.1 kB / 437.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.08218, allocations: 8.312 kB / 437.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.08221, allocations: 4.375 kB / 437.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.897e-05/0.08231, allocations: 50.23 kB / 437.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.08232, allocations: 192 / 437.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.08234, allocations: 11.94 kB / 437.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.08235, allocations: 0 / 437.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.207e-05/0.08239, allocations: 12 kB / 437.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.08274, allocations: 268.9 kB / 438.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.08292, allocations: 54.48 kB / 438.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.08296, allocations: 16.86 kB / 438.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.08297, allocations: 4 kB / 438.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.08299, allocations: 30.56 kB / 438.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.083, allocations: 0 / 438.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001544/0.08316, allocations: 61.69 kB / 438.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.0832, allocations: 55.34 kB / 438.3 MB, free: 11.13 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.522e-05/0.08329, allocations: 121.8 kB / 438.4 MB, free: 11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.08331, allocations: 33.7 kB / 438.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.08336, allocations: 96.11 kB / 438.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.08338, allocations: 19.73 kB / 438.5 MB, free: 10.85 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.08342, allocations: 17.72 kB / 438.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.08351, allocations: 318.8 kB / 438.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.373e-05/0.08354, allocations: 12 kB / 438.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.164e-05/0.08358, allocations: 25.7 kB / 438.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.08384, allocations: 77.69 kB / 439 MB, free: 10.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.08385, allocations: 0 / 439 MB, free: 10.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001068/0.08396, allocations: 77.53 kB / 439.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.08398, allocations: 8 kB / 439.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.08399, allocations: 0 / 439.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.08401, allocations: 0 / 439.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.124e-05/0.0841, allocations: 27.98 kB / 439.1 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.08411, allocations: 0 / 439.1 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.996e-05/0.08417, allocations: 11.97 kB / 439.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.08418, allocations: 192 / 439.1 MB, free: 10.25 MB / 318.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.0001197/0.08431, allocations: 122.5 kB / 439.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.08434, allocations: 11.89 kB / 439.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.08437, allocations: 7.906 kB / 439.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.08437, allocations: 0 / 439.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.08438, allocations: 4 kB / 439.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.08439, allocations: 11.92 kB / 439.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.08455, allocations: 165.5 kB / 439.4 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.08455, allocations: 0 / 439.4 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.466e-05/0.08465, allocations: 19.98 kB / 439.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.08466, allocations: 0 / 439.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.08468, allocations: 4 kB / 439.4 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.08468, allocations: 0 / 439.4 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.08469, allocations: 0 / 439.4 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.08485, allocations: 175.3 kB / 439.6 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.0849, allocations: 85.05 kB / 439.7 MB, free: 9.562 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.08492, allocations: 0 / 439.7 MB, free: 9.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/0.08498, allocations: 0 / 439.7 MB, free: 9.562 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.085, allocations: 0 / 439.7 MB, free: 9.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.08501, allocations: 4 kB / 439.7 MB, free: 9.559 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.504e-05/0.08506, allocations: 95.27 kB / 439.8 MB, free: 9.465 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08506, allocations: 0 / 439.8 MB, free: 9.465 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000215/0.08528, allocations: 8 kB / 439.8 MB, free: 9.457 MB / 318.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 7.464e-05/0.08536, allocations: 99.31 kB / 439.9 MB, free: 9.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.73e-05/0.08547, allocations: 39.91 kB / 439.9 MB, free: 9.312 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.08548, allocations: 0 / 439.9 MB, free: 9.312 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.429e-05/0.08551, allocations: 15.98 kB / 439.9 MB, free: 9.297 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.08571, allocations: 3.938 kB / 440 MB, free: 9.293 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.086, allocations: 180.2 kB / 440.1 MB, free: 9.082 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.08621, allocations: 0.6885 MB / 440.8 MB, free: 8.367 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.08625, allocations: 7.438 kB / 440.8 MB, free: 8.359 MB / 318.1 MB Notification: Performance of SimCode: time 1.383e-06/0.08625, allocations: 3.938 kB / 440.8 MB, free: 8.355 MB / 318.1 MB Notification: Performance of Templates: time 0.001677/0.08793, allocations: 0.7461 MB / 441.6 MB, free: 7.609 MB / 318.1 MB make -j1 -f AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.makefile (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)