Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AES with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.07941/0.07941, allocations: 19.39 MB / 34.64 MB, free: 148 kB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008945/0.0008945, allocations: 173.3 kB / 40.28 MB, free: 6.527 MB / 33.03 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.7 MB / 271.5 MB, free: 3.297 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007875/0.0007875, allocations: 87.78 kB / 327.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.000473, allocations: 8 kB / 395.4 MB, free: 47.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1056, allocations: 55.19 MB / 450.6 MB, free: 8.668 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.0006477/0.1063, allocations: 282.6 kB / 450.8 MB, free: 8.395 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001561/0.1065, allocations: 27.84 kB / 450.9 MB, free: 8.367 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.1065, allocations: 7.938 kB / 450.9 MB, free: 8.359 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.1065, allocations: 0 / 450.9 MB, free: 8.359 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.639e-05/0.1066, allocations: 3.938 kB / 450.9 MB, free: 8.355 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001096/0.1067, allocations: 7.984 kB / 450.9 MB, free: 8.348 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.431e-05/0.1068, allocations: 27.92 kB / 450.9 MB, free: 8.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.92e-05/0.1069, allocations: 7.984 kB / 450.9 MB, free: 8.312 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.1069, allocations: 15.94 kB / 450.9 MB, free: 8.297 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.86e-05/0.107, allocations: 27.84 kB / 451 MB, free: 8.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.107, allocations: 0 / 451 MB, free: 8.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.23e-05/0.107, allocations: 4 kB / 451 MB, free: 8.266 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.1071, allocations: 3.984 kB / 451 MB, free: 8.262 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.1071, allocations: 45.56 kB / 451 MB, free: 8.211 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.332e-05/0.1072, allocations: 15.92 kB / 451 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1072, allocations: 0 / 451 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1072, allocations: 3.938 kB / 451 MB, free: 8.191 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1072, allocations: 0 / 451 MB, free: 8.191 MB / 314.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.0004348/0.1077, allocations: 359.6 kB / 451.4 MB, free: 7.789 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1077, allocations: 9.156 kB / 451.4 MB, free: 7.781 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.1077, allocations: 4.938 kB / 451.4 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.1079, allocations: 184.1 kB / 451.6 MB, free: 7.559 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1079, allocations: 4.375 kB / 451.6 MB, free: 7.555 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.1079, allocations: 8.312 kB / 451.6 MB, free: 7.547 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.1081, allocations: 46.25 kB / 451.6 MB, free: 7.496 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1081, allocations: 4.172 kB / 451.6 MB, free: 7.492 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1081, allocations: 7.938 kB / 451.6 MB, free: 7.484 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1081, allocations: 4 kB / 451.7 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.315e-05/0.1082, allocations: 15.98 kB / 451.7 MB, free: 7.465 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.1086, allocations: 268.8 kB / 451.9 MB, free: 7.152 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.1088, allocations: 58.5 kB / 452 MB, free: 7.086 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/0.1088, allocations: 16.86 kB / 452 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.1089, allocations: 4 kB / 452 MB, free: 7.062 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1089, allocations: 34.64 kB / 452 MB, free: 7.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1089, allocations: 0 / 452 MB, free: 7.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001932/0.1091, allocations: 61.62 kB / 452.1 MB, free: 6.953 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.1091, allocations: 51.41 kB / 452.2 MB, free: 6.891 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1093, allocations: 117.8 kB / 452.3 MB, free: 6.766 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1093, allocations: 33.7 kB / 452.3 MB, free: 6.727 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.1094, allocations: 99.97 kB / 452.4 MB, free: 6.625 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.1094, allocations: 11.72 kB / 452.4 MB, free: 6.613 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.1094, allocations: 0 / 452.4 MB, free: 6.613 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1095, allocations: 326.8 kB / 452.7 MB, free: 6.285 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.513e-05/0.1096, allocations: 8 kB / 452.7 MB, free: 6.277 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.1096, allocations: 25.7 kB / 452.8 MB, free: 6.246 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.1099, allocations: 85.69 kB / 452.8 MB, free: 6.156 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1099, allocations: 4 kB / 452.8 MB, free: 6.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001216/0.11, allocations: 65.69 kB / 452.9 MB, free: 6.082 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1101, allocations: 11.94 kB / 452.9 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1101, allocations: 0 / 452.9 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1101, allocations: 0 / 452.9 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1102, allocations: 23.92 kB / 452.9 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1102, allocations: 4.031 kB / 453 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.169e-05/0.1103, allocations: 11.84 kB / 453 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1103, allocations: 0 / 453 MB, free: 6.031 MB / 314.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.1104, allocations: 117.8 kB / 453.1 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.1105, allocations: 4 kB / 453.1 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.1105, allocations: 7.906 kB / 453.1 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1105, allocations: 3.984 kB / 453.1 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1105, allocations: 8 kB / 453.1 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1105, allocations: 0 / 453.1 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.1107, allocations: 169.5 kB / 453.3 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1107, allocations: 0 / 453.3 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.1108, allocations: 15.98 kB / 453.3 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1108, allocations: 0 / 453.3 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.1108, allocations: 7.938 kB / 453.3 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1108, allocations: 0 / 453.3 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1108, allocations: 0 / 453.3 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.111, allocations: 171.4 kB / 453.5 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.1111, allocations: 85.05 kB / 453.5 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.1111, allocations: 0 / 453.5 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.371e-05/0.1112, allocations: 4.062 kB / 453.5 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.1112, allocations: 240 / 453.5 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1112, allocations: 4 kB / 453.6 MB, free: 5.348 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.661e-05/0.1113, allocations: 95.27 kB / 453.6 MB, free: 5.254 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1113, allocations: 0 / 453.6 MB, free: 5.254 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001917/0.1115, allocations: 8 kB / 453.7 MB, free: 5.246 MB / 314.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 0.0001012/0.1116, allocations: 111.3 kB / 453.8 MB, free: 5.129 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.1117, allocations: 31.94 kB / 453.8 MB, free: 5.098 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1117, allocations: 0 / 453.8 MB, free: 5.098 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.628e-05/0.1117, allocations: 15.98 kB / 453.8 MB, free: 5.082 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.1119, allocations: 11.88 kB / 453.8 MB, free: 5.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.1123, allocations: 176.6 kB / 454 MB, free: 4.867 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.1125, allocations: 0.6848 MB / 454.7 MB, free: 4.156 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.86e-05/0.1126, allocations: 7.938 kB / 454.7 MB, free: 4.148 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.1126, allocations: 7.438 kB / 454.7 MB, free: 4.141 MB / 314.7 MB Notification: Performance of SimCode: time 3e-07/0.1126, allocations: 0 / 454.7 MB, free: 4.141 MB / 314.7 MB Notification: Performance of Templates: time 0.001993/0.1146, allocations: 391.8 kB / 455.1 MB, free: 3.762 MB / 314.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)