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.001151/0.00115, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001162/0.001162, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2314/0.2314, allocations: 22.35 MB / 313.4 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005652/0.0005652, allocations: 16 kB / 381.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.425, allocations: 55.97 MB / 437.9 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.0007364/0.4258, allocations: 237.7 kB / 438.1 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001972/0.426, allocations: 36.31 kB / 438.2 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.426, allocations: 0 / 438.2 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.4261, allocations: 3.938 kB / 438.2 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.699e-05/0.4261, allocations: 0 / 438.2 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.4263, allocations: 6.641 kB / 438.2 MB, free: 39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.507e-05/0.4264, allocations: 14.14 kB / 438.2 MB, free: 39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.981e-05/0.4265, allocations: 0 / 438.2 MB, free: 39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.301e-05/0.4265, allocations: 2.844 kB / 438.2 MB, free: 39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.988e-05/0.4266, allocations: 10.27 kB / 438.2 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.4266, allocations: 0 / 438.2 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-06/0.4266, allocations: 0 / 438.2 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.4266, allocations: 3.938 kB / 438.2 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.4267, allocations: 28.7 kB / 438.2 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.212e-05/0.4267, allocations: 0 / 438.2 MB, free: 38.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4267, allocations: 0 / 438.2 MB, free: 38.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.4267, allocations: 0 / 438.2 MB, free: 38.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.4267, allocations: 4 kB / 438.2 MB, free: 38.95 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.000394/0.4271, allocations: 324.4 kB / 438.6 MB, free: 38.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.4272, allocations: 11.92 kB / 438.6 MB, free: 38.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.4272, allocations: 0 / 438.6 MB, free: 38.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.4274, allocations: 163 kB / 438.7 MB, free: 38.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.4274, allocations: 6.906 kB / 438.7 MB, free: 38.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.4274, allocations: 0 / 438.7 MB, free: 38.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.4275, allocations: 39.7 kB / 438.8 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4276, allocations: 4 kB / 438.8 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.4276, allocations: 3.953 kB / 438.8 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.4276, allocations: 3.031 kB / 438.8 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.211e-05/0.4276, allocations: 0 / 438.8 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.4278, allocations: 151.8 kB / 438.9 MB, free: 38.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.943e-05/0.4279, allocations: 20.27 kB / 439 MB, free: 38.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.4279, allocations: 14.86 kB / 439 MB, free: 38.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.4279, allocations: 7.938 kB / 439 MB, free: 38.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.428, allocations: 33.25 kB / 439 MB, free: 38.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 2.365e-06/0.428, allocations: 0 / 439 MB, free: 38.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004526/0.4284, allocations: 76.62 kB / 439.1 MB, free: 38.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.4285, allocations: 55.34 kB / 439.1 MB, free: 37.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.752e-05/0.4286, allocations: 92.73 kB / 439.2 MB, free: 37.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.4286, allocations: 25.7 kB / 439.3 MB, free: 37.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.4286, allocations: 87.23 kB / 439.3 MB, free: 37.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.4287, allocations: 15.08 kB / 439.4 MB, free: 37.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.4287, allocations: 0 / 439.4 MB, free: 37.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.4288, allocations: 314.2 kB / 439.7 MB, free: 37.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.4288, allocations: 0 / 439.7 MB, free: 37.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.548e-05/0.4288, allocations: 10.88 kB / 439.7 MB, free: 37.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/0.4289, allocations: 2.938 kB / 439.7 MB, free: 37.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4289, allocations: 0 / 439.7 MB, free: 37.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.198e-05/0.429, allocations: 48.36 kB / 439.7 MB, free: 37.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.429, allocations: 6.969 kB / 439.7 MB, free: 37.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.429, allocations: 4 kB / 439.7 MB, free: 37.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.429, allocations: 0 / 439.7 MB, free: 37.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.4292, allocations: 17.33 kB / 439.7 MB, free: 37.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.4292, allocations: 2.969 kB / 439.7 MB, free: 37.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.4292, allocations: 0 / 439.7 MB, free: 37.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.4292, allocations: 3.938 kB / 439.8 MB, free: 37.36 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.354e-05/0.4293, allocations: 112.6 kB / 439.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.4293, allocations: 0 / 439.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.4295, allocations: 52.59 kB / 439.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.4295, allocations: 0 / 439.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4295, allocations: 7.422 kB / 439.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4295, allocations: 0 / 439.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.246e-05/0.4296, allocations: 154.6 kB / 440.1 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4296, allocations: 0 / 440.1 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.216e-05/0.4297, allocations: 9.75 kB / 440.1 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4297, allocations: 0 / 440.1 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.4297, allocations: 4 kB / 440.1 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4297, allocations: 0 / 440.1 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4297, allocations: 6.938 kB / 440.1 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.708e-05/0.4298, allocations: 71.2 kB / 440.2 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.4298, allocations: 77.11 kB / 440.2 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.4299, allocations: 0 / 440.2 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.969e-05/0.4299, allocations: 3.938 kB / 440.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.4299, allocations: 7.969 kB / 440.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-06/0.4299, allocations: 4 kB / 440.3 MB, free: 36.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.938e-05/0.4299, allocations: 82.75 kB / 440.3 MB, free: 36.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.43, allocations: 0 / 440.3 MB, free: 36.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002086/0.4302, allocations: 7.734 kB / 440.3 MB, free: 36.73 MB / 350.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 (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.813e-05/0.4303, allocations: 92.25 kB / 440.4 MB, free: 36.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.794e-05/0.4304, allocations: 20.34 kB / 440.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4304, allocations: 0 / 440.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.694e-05/0.4304, allocations: 10.38 kB / 440.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.4306, allocations: 4.547 kB / 440.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.4309, allocations: 98.12 kB / 440.6 MB, free: 36.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.4311, allocations: 0.6792 MB / 441.2 MB, free: 35.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.862e-05/0.4312, allocations: 2.906 kB / 441.2 MB, free: 35.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.4312, allocations: 7.438 kB / 441.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4312, allocations: 0 / 441.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of Templates: time 0.002738/0.4339, allocations: 244.7 kB / 441.5 MB, free: 35.77 MB / 350.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)