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.001135/0.001135, allocations: 112.5 kB / 16.42 MB, free: 6.512 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.001043/0.001043, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09429/0.09429, allocations: 22.33 MB / 313.5 MB, free: 8.867 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 437.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08433/0.0856, allocations: 54.96 MB / 492.7 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.001486/0.08712, allocations: 0.5698 MB / 493.2 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001498/0.08729, allocations: 39.75 kB / 493.3 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.724e-05/0.08732, allocations: 0 / 493.3 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.08735, allocations: 3.938 kB / 493.3 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.788e-05/0.08742, allocations: 7.938 kB / 493.3 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001004/0.08753, allocations: 7.984 kB / 493.3 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.391e-05/0.0876, allocations: 31.91 kB / 493.3 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.08766, allocations: 4 kB / 493.3 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.814e-05/0.08769, allocations: 15.94 kB / 493.4 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.616e-05/0.08778, allocations: 19.84 kB / 493.4 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.0878, allocations: 0 / 493.4 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.08782, allocations: 4 kB / 493.4 MB, free: 4.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.08784, allocations: 4 kB / 493.4 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.08788, allocations: 27.84 kB / 493.4 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.512e-05/0.08795, allocations: 11.92 kB / 493.4 MB, free: 4.008 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.08796, allocations: 7.938 kB / 493.4 MB, free: 4 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.08797, allocations: 0 / 493.4 MB, free: 4 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.08798, allocations: 0 / 493.4 MB, free: 4 MB / 366.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.0004202/0.0884, allocations: 359.3 kB / 493.8 MB, free: 3.598 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.08845, allocations: 8.031 kB / 493.8 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.08849, allocations: 8.922 kB / 493.8 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.989e-05/0.0886, allocations: 180.2 kB / 494 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.08861, allocations: 384 / 494 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.08864, allocations: 8.375 kB / 494 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.08876, allocations: 54.17 kB / 494 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.08877, allocations: 192 / 494 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.08878, allocations: 3.938 kB / 494 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.08879, allocations: 4 kB / 494 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.472e-05/0.08884, allocations: 15.98 kB / 494.1 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.08921, allocations: 276.8 kB / 494.3 MB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.08939, allocations: 50.56 kB / 494.4 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.08944, allocations: 16.94 kB / 494.4 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.08945, allocations: 0 / 494.4 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.08948, allocations: 38.56 kB / 494.4 MB, free: 2.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 2.534e-06/0.08949, allocations: 3.984 kB / 494.4 MB, free: 2.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001622/0.08965, allocations: 65.58 kB / 494.5 MB, free: 2.758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.08969, allocations: 55.41 kB / 494.6 MB, free: 2.691 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/0.08978, allocations: 121.8 kB / 494.7 MB, free: 2.562 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.0898, allocations: 25.7 kB / 494.7 MB, free: 2.531 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.08985, allocations: 96.03 kB / 494.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.08987, allocations: 15.89 kB / 494.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.08992, allocations: 21.72 kB / 494.8 MB, free: 2.391 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.09002, allocations: 314.8 kB / 495.1 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.511e-05/0.09005, allocations: 12 kB / 495.1 MB, free: 2.062 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.209e-05/0.09009, allocations: 21.72 kB / 495.2 MB, free: 2.035 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.09036, allocations: 77.61 kB / 495.2 MB, free: 1.953 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.09037, allocations: 3.938 kB / 495.2 MB, free: 1.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001336/0.09051, allocations: 81.64 kB / 495.3 MB, free: 1.863 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.09053, allocations: 8.031 kB / 495.3 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.09054, allocations: 0 / 495.3 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.09056, allocations: 4 kB / 495.3 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.09066, allocations: 19.94 kB / 495.4 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.09067, allocations: 0 / 495.4 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.09073, allocations: 3.953 kB / 495.4 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.09074, allocations: 4 kB / 495.4 MB, free: 1.824 MB / 366.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.0001229/0.09087, allocations: 134.4 kB / 495.5 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.0909, allocations: 0 / 495.5 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.09093, allocations: 11.91 kB / 495.5 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.09093, allocations: 0 / 495.5 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.09094, allocations: 0 / 495.5 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.09098, allocations: 85.05 kB / 495.6 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.091, allocations: 4 kB / 495.6 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-05/0.09107, allocations: 0 / 495.6 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.09109, allocations: 3.938 kB / 495.6 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002222/0.09132, allocations: 148.9 kB / 495.7 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001748/0.0915, allocations: 246.8 kB / 496 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.539e-05/0.09154, allocations: 11.97 kB / 496 MB, free: 1.137 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.559e-05/0.09159, allocations: 95.7 kB / 496.1 MB, free: 1.043 MB / 366.1 MB Notification: Performance of Backend: time 4.5e-07/0.0916, allocations: 0 / 496.1 MB, free: 1.043 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003077/0.09191, allocations: 106.4 kB / 496.2 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of SimCode: time 0.0003857/0.0923, allocations: 0.6084 MB / 496.8 MB, free: 284 kB / 366.1 MB Notification: Performance of Templates: time 0.002305/0.09462, allocations: 0.5675 MB / 497.4 MB, free: 15.71 MB / 382.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)