Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.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_inverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld_inverse") translateModel(AES.Coursework.OOM_Intro.HelloWorld_inverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld_inverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 108.4 kB / 16.41 MB, free: 6.438 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.001064/0.001065, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08938/0.08938, allocations: 22.33 MB / 313.5 MB, free: 8.914 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 67.91 kB / 437.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1139, allocations: 54.96 MB / 492.7 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001766/0.1157, allocations: 0.5086 MB / 493.2 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001953/0.116, allocations: 40 kB / 493.2 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.996e-05/0.116, allocations: 0 / 493.2 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.116, allocations: 4 kB / 493.2 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.543e-05/0.1161, allocations: 0 / 493.2 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.1163, allocations: 11.92 kB / 493.2 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.1163, allocations: 7.984 kB / 493.2 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.1164, allocations: 0 / 493.2 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.323e-05/0.1164, allocations: 7.938 kB / 493.2 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.848e-05/0.1165, allocations: 3.984 kB / 493.2 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1165, allocations: 11.94 kB / 493.2 MB, free: 4.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-06/0.1165, allocations: 0 / 493.2 MB, free: 4.227 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.1166, allocations: 4 kB / 493.3 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.1166, allocations: 3.938 kB / 493.3 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 5.699e-05/0.1167, allocations: 7.984 kB / 493.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1167, allocations: 0 / 493.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1167, allocations: 0 / 493.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1167, allocations: 0 / 493.3 MB, free: 4.211 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000429/0.1171, allocations: 319.6 kB / 493.6 MB, free: 3.848 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1172, allocations: 12.03 kB / 493.6 MB, free: 3.836 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.1172, allocations: 8.938 kB / 493.6 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1174, allocations: 172.2 kB / 493.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1174, allocations: 384 / 493.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.1174, allocations: 384 / 493.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.1175, allocations: 34.25 kB / 493.8 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1175, allocations: 192 / 493.8 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1175, allocations: 3.938 kB / 493.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1175, allocations: 0 / 493.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.955e-05/0.1176, allocations: 4 kB / 493.8 MB, free: 3.574 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.1178, allocations: 161.6 kB / 494 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.34e-05/0.1178, allocations: 30.5 kB / 494 MB, free: 3.328 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.1179, allocations: 8.922 kB / 494 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.1179, allocations: 0 / 494 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.1179, allocations: 30.56 kB / 494 MB, free: 3.277 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.1179, allocations: 0 / 494 MB, free: 3.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003484/0.1183, allocations: 81.48 kB / 494.1 MB, free: 3.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.1183, allocations: 51.41 kB / 494.2 MB, free: 3.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.1184, allocations: 93.86 kB / 494.3 MB, free: 3.027 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1184, allocations: 29.7 kB / 494.3 MB, free: 2.992 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.1185, allocations: 80.14 kB / 494.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.1185, allocations: 11.8 kB / 494.4 MB, free: 2.898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.1186, allocations: 17.72 kB / 494.4 MB, free: 2.875 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.1187, allocations: 315.2 kB / 494.7 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.1187, allocations: 4 kB / 494.7 MB, free: 2.555 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.331e-05/0.1187, allocations: 7.984 kB / 494.7 MB, free: 2.547 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.3e-05/0.1188, allocations: 16.86 kB / 494.7 MB, free: 2.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1188, allocations: 0 / 494.7 MB, free: 2.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.478e-05/0.1188, allocations: 49.62 kB / 494.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1189, allocations: 7.938 kB / 494.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1189, allocations: 0 / 494.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1189, allocations: 4 kB / 494.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.115e-05/0.119, allocations: 4 kB / 494.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.119, allocations: 7.938 kB / 494.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.481e-05/0.119, allocations: 7.984 kB / 494.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.119, allocations: 0 / 494.8 MB, free: 2.441 MB / 366.1 MB 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 7.76e-05/0.1191, allocations: 110.6 kB / 494.9 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.1191, allocations: 3.938 kB / 494.9 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.1193, allocations: 57.12 kB / 495 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1193, allocations: 0 / 495 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.1193, allocations: 0 / 495 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1193, allocations: 4 kB / 495 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.1194, allocations: 153.7 kB / 495.1 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1194, allocations: 4 kB / 495.1 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.1195, allocations: 11.98 kB / 495.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.1195, allocations: 3.938 kB / 495.1 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.1195, allocations: 3.938 kB / 495.2 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1195, allocations: 0 / 495.2 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1196, allocations: 4 kB / 495.2 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.938e-05/0.1196, allocations: 73.12 kB / 495.2 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.1197, allocations: 77.39 kB / 495.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1197, allocations: 3.938 kB / 495.3 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.923e-05/0.1197, allocations: 3.938 kB / 495.3 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.1198, allocations: 4 kB / 495.3 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1198, allocations: 3.984 kB / 495.3 MB, free: 1.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.139e-05/0.1198, allocations: 79.27 kB / 495.4 MB, free: 1.746 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1198, allocations: 0 / 495.4 MB, free: 1.746 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001733/0.12, allocations: 8 kB / 495.4 MB, free: 1.738 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001007/0.1201, allocations: 95.34 kB / 495.5 MB, free: 1.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.537e-05/0.1202, allocations: 16 kB / 495.5 MB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1202, allocations: 0 / 495.5 MB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.683e-05/0.1202, allocations: 11.92 kB / 495.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.1204, allocations: 4 kB / 495.5 MB, free: 1.605 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.1206, allocations: 118.5 kB / 495.6 MB, free: 1.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.1209, allocations: 0.6729 MB / 496.3 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.1209, allocations: 15.44 kB / 496.3 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1209, allocations: 0 / 496.3 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of Templates: time 0.00176/0.1227, allocations: 436 kB / 496.8 MB, free: 324 kB / 366.1 MB make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.makefile (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.sim & ./AES_AES.Coursework.OOM_Intro.HelloWorld_inverse -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1)