Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Modelling_principles.M1_TimeDomain.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.M1_TimeDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M1_TimeDomain") translateModel(AES.Coursework.Modelling_principles.M1_TimeDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M1_TimeDomain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.08065/0.08065, allocations: 19.39 MB / 34.65 MB, free: 208 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.0009875/0.0009872, allocations: 176.3 kB / 40.28 MB, free: 6.535 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.455/1.455, allocations: 225.7 MB / 271.5 MB, free: 3.215 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.0008333/0.0008335, allocations: 91.48 kB / 327.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003456, allocations: 11.98 kB / 395.4 MB, free: 47.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09418/0.09455, allocations: 55.18 MB / 450.6 MB, free: 8.625 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.0006918/0.09529, allocations: 302.8 kB / 450.9 MB, free: 8.328 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001972/0.0955, allocations: 67.92 kB / 450.9 MB, free: 8.262 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.973e-05/0.09554, allocations: 0 / 450.9 MB, free: 8.262 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.09557, allocations: 3.938 kB / 450.9 MB, free: 8.258 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.106e-05/0.09564, allocations: 4 kB / 450.9 MB, free: 8.254 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.09579, allocations: 15.92 kB / 450.9 MB, free: 8.238 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.394e-05/0.09588, allocations: 39.91 kB / 451 MB, free: 8.199 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.968e-05/0.09594, allocations: 8.125 kB / 451 MB, free: 8.191 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.182e-05/0.09598, allocations: 19.92 kB / 451 MB, free: 8.172 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.687e-05/0.09607, allocations: 23.84 kB / 451 MB, free: 8.148 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.0961, allocations: 4 kB / 451 MB, free: 8.145 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.655e-05/0.09613, allocations: 4 kB / 451 MB, free: 8.141 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.09615, allocations: 7.984 kB / 451.1 MB, free: 8.133 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.877e-05/0.09621, allocations: 53.5 kB / 451.1 MB, free: 8.074 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.27e-05/0.09628, allocations: 32.11 kB / 451.1 MB, free: 8.043 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.09629, allocations: 4 kB / 451.1 MB, free: 8.039 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.0963, allocations: 0 / 451.1 MB, free: 8.039 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.09631, allocations: 0 / 451.1 MB, free: 8.039 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004743/0.09679, allocations: 363.3 kB / 451.5 MB, free: 7.637 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.09684, allocations: 9.156 kB / 451.5 MB, free: 7.629 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.09688, allocations: 8.844 kB / 451.5 MB, free: 7.621 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.09703, allocations: 172.4 kB / 451.7 MB, free: 7.414 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.09705, allocations: 8.312 kB / 451.7 MB, free: 7.406 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.09709, allocations: 16.27 kB / 451.7 MB, free: 7.391 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.09726, allocations: 65.8 kB / 451.8 MB, free: 7.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.09727, allocations: 0 / 451.8 MB, free: 7.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.09729, allocations: 4 kB / 451.8 MB, free: 7.316 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.0973, allocations: 0 / 451.8 MB, free: 7.316 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.482e-05/0.09738, allocations: 31.98 kB / 451.8 MB, free: 7.285 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.09785, allocations: 304.7 kB / 452.1 MB, free: 6.938 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.09816, allocations: 98.42 kB / 452.2 MB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.842e-05/0.09824, allocations: 36.84 kB / 452.2 MB, free: 6.793 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.09827, allocations: 4 kB / 452.2 MB, free: 6.789 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.0983, allocations: 30.56 kB / 452.3 MB, free: 6.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.09831, allocations: 4 kB / 452.3 MB, free: 6.746 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002896/0.09861, allocations: 105.7 kB / 452.4 MB, free: 6.637 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.09868, allocations: 55.41 kB / 452.4 MB, free: 6.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.98e-05/0.09879, allocations: 117.8 kB / 452.5 MB, free: 6.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.09881, allocations: 25.7 kB / 452.6 MB, free: 6.414 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.09888, allocations: 93.72 kB / 452.7 MB, free: 6.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.09892, allocations: 35.55 kB / 452.7 MB, free: 6.285 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.09893, allocations: 4 kB / 452.7 MB, free: 6.281 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.09907, allocations: 322.7 kB / 453 MB, free: 5.957 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.73e-05/0.09912, allocations: 24 kB / 453 MB, free: 5.934 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.065e-05/0.09917, allocations: 37.7 kB / 453.1 MB, free: 5.891 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.09957, allocations: 125.5 kB / 453.2 MB, free: 5.762 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.09958, allocations: 0 / 453.2 MB, free: 5.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001492/0.09974, allocations: 109.6 kB / 453.3 MB, free: 5.648 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.09976, allocations: 4 kB / 453.3 MB, free: 5.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.09977, allocations: 4 kB / 453.3 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.09978, allocations: 0 / 453.3 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.09992, allocations: 35.92 kB / 453.3 MB, free: 5.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.09993, allocations: 0 / 453.3 MB, free: 5.605 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.731e-05/0.09998, allocations: 7.938 kB / 453.4 MB, free: 5.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.09999, allocations: 8 kB / 453.4 MB, free: 5.59 MB / 314.7 MB Warning: Assuming fixed start value for the following 3 variables: Tw:VARIABLE(start = 10.0 fixed = true ) type: Real Ta:VARIABLE(start = 10.0 fixed = true ) type: Real I:VARIABLE(start = 0.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 (14): * Single equations (assignments): 14 * 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.0001646/0.1002, allocations: 123.4 kB / 453.5 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.1002, allocations: 11.84 kB / 453.5 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.1004, allocations: 102.9 kB / 453.6 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1004, allocations: 4 kB / 453.6 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1004, allocations: 0 / 453.6 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1004, allocations: 0 / 453.6 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.1006, allocations: 197.4 kB / 453.8 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1006, allocations: 0 / 453.8 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.1008, allocations: 31.98 kB / 453.8 MB, free: 5.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1008, allocations: 4 kB / 453.8 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1008, allocations: 4 kB / 453.8 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1008, allocations: 0 / 453.8 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1008, allocations: 0 / 453.8 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.1011, allocations: 231.3 kB / 454.1 MB, free: 4.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.1011, allocations: 85.06 kB / 454.1 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.1011, allocations: 3.984 kB / 454.1 MB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.214e-05/0.1012, allocations: 4 kB / 454.1 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.1013, allocations: 12.08 kB / 454.2 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.1013, allocations: 4 kB / 454.2 MB, free: 4.695 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.109e-05/0.1013, allocations: 91.27 kB / 454.3 MB, free: 4.605 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1013, allocations: 0 / 454.3 MB, free: 4.605 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001987/0.1015, allocations: 12 kB / 454.3 MB, free: 4.594 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (I,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 (11): * Single equations (assignments): 11 * 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.0001054/0.1016, allocations: 103.2 kB / 454.4 MB, free: 4.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.1018, allocations: 71.84 kB / 454.4 MB, free: 4.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1018, allocations: 0 / 454.4 MB, free: 4.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.316e-05/0.1019, allocations: 39.92 kB / 454.5 MB, free: 4.371 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.1021, allocations: 4 kB / 454.5 MB, free: 4.367 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.1025, allocations: 245.3 kB / 454.7 MB, free: 4.098 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.1029, allocations: 0.6926 MB / 455.4 MB, free: 3.379 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.852e-05/0.1029, allocations: 8.656 kB / 455.4 MB, free: 3.367 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.1029, allocations: 11.44 kB / 455.4 MB, free: 3.355 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1029, allocations: 3.938 kB / 455.4 MB, free: 3.352 MB / 314.7 MB Notification: Performance of Templates: time 0.002324/0.1053, allocations: 0.5146 MB / 455.9 MB, free: 2.84 MB / 314.7 MB make -j1 -f AES_AES.Coursework.Modelling_principles.M1_TimeDomain.makefile (rm -f AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe ; mkfifo AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe ; head -c 1048576 < AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe >> ../files/AES_AES.Coursework.Modelling_principles.M1_TimeDomain.sim & ./AES_AES.Coursework.Modelling_principles.M1_TimeDomain -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe 2>&1)