Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld.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.OOM_Intro.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld") translateModel(AES.Coursework.OOM_Intro.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008959/0.008959, allocations: 95.61 kB / 15.73 MB, free: 6.055 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.001733/0.001733, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2338/0.2338, allocations: 22.35 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 62.92 kB / 434.9 MB, free: 34.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1043, allocations: 54.97 MB / 489.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001543/0.1059, allocations: 0.5046 MB / 490.4 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001631/0.1061, allocations: 23.89 kB / 490.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.1061, allocations: 4 kB / 490.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.1061, allocations: 0 / 490.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.837e-05/0.1062, allocations: 0 / 490.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001001/0.1063, allocations: 4 kB / 490.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.465e-05/0.1064, allocations: 7.938 kB / 490.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.1064, allocations: 7.984 kB / 490.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.514e-05/0.1064, allocations: 7.984 kB / 490.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.018e-05/0.1065, allocations: 3.938 kB / 490.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.1065, allocations: 0 / 490.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-06/0.1065, allocations: 0 / 490.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.1066, allocations: 4 kB / 490.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.1066, allocations: 7.984 kB / 490.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.432e-05/0.1067, allocations: 7.938 kB / 490.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1067, allocations: 0 / 490.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1067, allocations: 4 kB / 490.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1067, allocations: 0 / 490.5 MB, free: 2.758 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003627/0.1071, allocations: 319.5 kB / 490.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1071, allocations: 8.031 kB / 490.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.1071, allocations: 0.9375 kB / 490.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.639e-05/0.1072, allocations: 172.3 kB / 491 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.1073, allocations: 12.36 kB / 491 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.1073, allocations: 4.375 kB / 491 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.1074, allocations: 38.14 kB / 491 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1074, allocations: 192 / 491 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.1074, allocations: 3.938 kB / 491 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1074, allocations: 0 / 491 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.282e-05/0.1075, allocations: 11.98 kB / 491 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.1076, allocations: 153.7 kB / 491.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.275e-05/0.1077, allocations: 30.61 kB / 491.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.1077, allocations: 8.922 kB / 491.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.1078, allocations: 0 / 491.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.1078, allocations: 34.5 kB / 491.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.1078, allocations: 0 / 491.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002284/0.108, allocations: 53.66 kB / 491.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.1081, allocations: 59.42 kB / 491.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.677e-05/0.1081, allocations: 97.86 kB / 491.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.1082, allocations: 25.7 kB / 491.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.908e-05/0.1082, allocations: 84.14 kB / 491.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.1082, allocations: 7.938 kB / 491.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.1083, allocations: 17.7 kB / 491.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.689e-05/0.1083, allocations: 314.8 kB / 491.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.403e-05/0.1084, allocations: 4.344 kB / 491.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.187e-05/0.1084, allocations: 7.938 kB / 491.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.1086, allocations: 36.83 kB / 492 MB, free: 1.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1086, allocations: 0 / 492 MB, free: 1.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.48e-05/0.1087, allocations: 45.69 kB / 492 MB, free: 1.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1087, allocations: 4 kB / 492 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1087, allocations: 3.938 kB / 492 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1088, allocations: 4 kB / 492 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.959e-05/0.1088, allocations: 8.031 kB / 492 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1088, allocations: 0 / 492 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.265e-05/0.1089, allocations: 11.88 kB / 492 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1089, allocations: 0 / 492 MB, free: 0.9805 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: x:VARIABLE(start = xstart fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 9.857e-05/0.109, allocations: 122.6 kB / 492.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-06/0.109, allocations: 0 / 492.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.678e-05/0.109, allocations: 7.062 kB / 492.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.109, allocations: 4 kB / 492.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.109, allocations: 4 kB / 492.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.109, allocations: 288 / 492.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.629e-05/0.1091, allocations: 153.7 kB / 492.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1091, allocations: 0 / 492.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.1092, allocations: 4 kB / 492.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1092, allocations: 3.984 kB / 492.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.1092, allocations: 7.922 kB / 492.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1092, allocations: 3.938 kB / 492.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1092, allocations: 4 kB / 492.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.1093, allocations: 77.09 kB / 492.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.1094, allocations: 77.11 kB / 492.5 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.1094, allocations: 7.938 kB / 492.5 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.211e-05/0.1094, allocations: 7.938 kB / 492.5 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.1094, allocations: 3.984 kB / 492.5 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1095, allocations: 4 kB / 492.5 MB, free: 412 kB / 350.1 MB Notification: Performance of sorting global known variables: time 1.618e-05/0.1095, allocations: 75.28 kB / 492.6 MB, free: 336 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1095, allocations: 96 / 492.6 MB, free: 336 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001767/0.1097, allocations: 8 kB / 492.6 MB, free: 328 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (2): * Single equations (assignments): 2 * 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 6.305e-05/0.1097, allocations: 91.25 kB / 492.7 MB, free: 224 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.1098, allocations: 19.98 kB / 492.7 MB, free: 204 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1099, allocations: 0 / 492.7 MB, free: 204 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.967e-05/0.1099, allocations: 7.938 kB / 492.7 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.11, allocations: 6.109 kB / 492.7 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.1103, allocations: 121.5 kB / 492.8 MB, free: 44 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.1106, allocations: 0.6768 MB / 493.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.206e-05/0.1106, allocations: 0 / 493.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.1106, allocations: 7.438 kB / 493.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1106, allocations: 0 / 493.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of Templates: time 0.002254/0.1129, allocations: 295.5 kB / 493.8 MB, free: 15.05 MB / 366.1 MB make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld.makefile (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld.sim & ./AES_AES.Coursework.OOM_Intro.HelloWorld -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1)