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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/AES main/package.mo): time 0.1113/0.1113, allocations: 17.69 MB / 33.63 MB, free: 1.742 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001447/0.001447, allocations: 178.1 kB / 38.91 MB, free: 12 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.4 MB / 249.5 MB, free: 2.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008202/0.0008202, allocations: 97.42 kB / 302.2 MB, free: 4.414 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.0003932, allocations: 15.98 kB / 366.9 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2813, allocations: 51.98 MB / 418.9 MB, free: 24.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.11/0.3914, allocations: 76.08 MB / 495 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.3918, allocations: 71.95 kB / 495.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001608/0.3934, allocations: 0.6208 MB / 495.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.529e-06/0.3934, allocations: 0 / 495.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.3935, allocations: 3.938 kB / 495.7 MB, free: 11.51 MB / 362.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.0003912/0.3939, allocations: 355.7 kB / 496 MB, free: 11.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.3939, allocations: 12.03 kB / 496.1 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.394, allocations: 4.844 kB / 496.1 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.3941, allocations: 172.2 kB / 496.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3941, allocations: 12.38 kB / 496.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.3942, allocations: 384 / 496.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.3943, allocations: 54.22 kB / 496.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.3943, allocations: 192 / 496.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3943, allocations: 7.938 kB / 496.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3943, allocations: 0 / 496.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.162e-05/0.3944, allocations: 23.92 kB / 496.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.3948, allocations: 264.9 kB / 496.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.395, allocations: 50.56 kB / 496.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.395, allocations: 16.86 kB / 496.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.395, allocations: 0 / 496.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.3951, allocations: 30.56 kB / 496.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3951, allocations: 0 / 496.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001625/0.3952, allocations: 69.8 kB / 496.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.3953, allocations: 59.41 kB / 496.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.188e-05/0.3954, allocations: 117.8 kB / 496.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.3954, allocations: 29.7 kB / 497 MB, free: 10.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.3955, allocations: 95.97 kB / 497 MB, free: 9.961 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.3955, allocations: 11.81 kB / 497.1 MB, free: 9.949 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.3955, allocations: 0 / 497.1 MB, free: 9.949 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3956, allocations: 322.8 kB / 497.4 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.3957, allocations: 12 kB / 497.4 MB, free: 9.613 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.06e-05/0.3957, allocations: 29.7 kB / 497.4 MB, free: 9.578 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.396, allocations: 81.69 kB / 497.5 MB, free: 9.492 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.396, allocations: 0 / 497.5 MB, free: 9.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000115/0.3961, allocations: 81.59 kB / 497.6 MB, free: 9.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3961, allocations: 4 kB / 497.6 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3961, allocations: 3.938 kB / 497.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3961, allocations: 12.02 kB / 497.6 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.965e-05/0.3962, allocations: 19.98 kB / 497.6 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.3962, allocations: 0 / 497.6 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.079e-05/0.3963, allocations: 3.938 kB / 497.6 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3963, allocations: 4 kB / 497.6 MB, free: 9.359 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: Tw:VARIABLE(start = 10.0 fixed = true ) type: Real Ta: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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.3965, allocations: 121.7 kB / 497.7 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.3965, allocations: 0 / 497.7 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/0.3965, allocations: 15.91 kB / 497.8 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.3965, allocations: 0 / 497.8 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3965, allocations: 0 / 497.8 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3965, allocations: 3.984 kB / 497.8 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.3967, allocations: 165.6 kB / 497.9 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3967, allocations: 7.938 kB / 497.9 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.224e-05/0.3968, allocations: 15.98 kB / 497.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3968, allocations: 0 / 497.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.3968, allocations: 0 / 497.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3968, allocations: 0 / 497.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3969, allocations: 0 / 497.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.397, allocations: 175.4 kB / 498.1 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.3971, allocations: 81.02 kB / 498.2 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.3971, allocations: 0 / 498.2 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.016e-05/0.3972, allocations: 0 / 498.2 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.3972, allocations: 4.031 kB / 498.2 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.3972, allocations: 0 / 498.2 MB, free: 8.688 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.143e-05/0.3973, allocations: 103.6 kB / 498.3 MB, free: 8.586 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.914e-06/0.3973, allocations: 4.062 kB / 498.3 MB, free: 8.582 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000209/0.3975, allocations: 11.94 kB / 498.3 MB, free: 8.57 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.436e-05/0.3976, allocations: 95.23 kB / 498.4 MB, free: 8.465 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.576e-05/0.3977, allocations: 28 kB / 498.4 MB, free: 8.438 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.3977, allocations: 0 / 498.4 MB, free: 8.438 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.069e-05/0.3977, allocations: 23.92 kB / 498.5 MB, free: 8.414 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.3979, allocations: 7.875 kB / 498.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/0.3982, allocations: 167 kB / 498.6 MB, free: 8.215 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.3984, allocations: 0.6926 MB / 499.3 MB, free: 7.496 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.426e-05/0.3985, allocations: 0 / 499.3 MB, free: 7.496 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.3985, allocations: 15.44 kB / 499.3 MB, free: 7.48 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3985, allocations: 0 / 499.3 MB, free: 7.48 MB / 362.7 MB Notification: Performance of Templates: time 0.001692/0.4002, allocations: 383.1 kB / 499.7 MB, free: 7.109 MB / 362.7 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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe 2>&1)