Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.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.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") translateModel(AES.Coursework.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 109.2 kB / 16.36 MB, free: 6.336 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.001091/0.001091, allocations: 193.5 kB / 17.29 MB, free: 5.883 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09083/0.09083, allocations: 22.33 MB / 313.5 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001219, allocations: 64.02 kB / 382.2 MB, free: 41.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08475/0.08599, allocations: 54.97 MB / 437.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.003147/0.08917, allocations: 1.789 MB / 439 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.09022, allocations: 0.5767 MB / 439.6 MB, free: 9.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.926e-05/0.09032, allocations: 7.938 kB / 439.6 MB, free: 9.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.09062, allocations: 39.7 kB / 439.6 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.09082, allocations: 55.69 kB / 439.7 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.09104, allocations: 91.86 kB / 439.8 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.09135, allocations: 267.4 kB / 440 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.0915, allocations: 45.67 kB / 440.1 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.09164, allocations: 103.7 kB / 440.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.09184, allocations: 123.5 kB / 440.3 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.09189, allocations: 19.94 kB / 440.3 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.671e-05/0.09193, allocations: 16 kB / 440.3 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.09207, allocations: 67.81 kB / 440.4 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.0922, allocations: 83.45 kB / 440.5 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.0925, allocations: 187.2 kB / 440.6 MB, free: 8.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.09251, allocations: 0 / 440.6 MB, free: 8.789 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.09252, allocations: 0 / 440.6 MB, free: 8.789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.09253, allocations: 4 kB / 440.7 MB, free: 8.785 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001263/0.0938, allocations: 0.5728 MB / 441.2 MB, free: 8.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.09385, allocations: 8.031 kB / 441.2 MB, free: 8.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.545e-05/0.09392, allocations: 28.66 kB / 441.3 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006094/0.09453, allocations: 307.5 kB / 441.6 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.09456, allocations: 12.61 kB / 441.6 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.09461, allocations: 12.38 kB / 441.6 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.0949, allocations: 147.8 kB / 441.7 MB, free: 7.613 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.09492, allocations: 3.938 kB / 441.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.09495, allocations: 7.984 kB / 441.7 MB, free: 7.602 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.09496, allocations: 4 kB / 441.7 MB, free: 7.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.09522, allocations: 128.6 kB / 441.9 MB, free: 7.473 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009178/0.09615, allocations: 0.544 MB / 442.4 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.09662, allocations: 190.5 kB / 442.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.09677, allocations: 81.09 kB / 442.7 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.09682, allocations: 15.97 kB / 442.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.09686, allocations: 42.44 kB / 442.7 MB, free: 6.535 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.09687, allocations: 3.938 kB / 442.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005317/0.0974, allocations: 256.1 kB / 443 MB, free: 6.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.09745, allocations: 51.41 kB / 443 MB, free: 6.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005289/0.09799, allocations: 274.9 kB / 443.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.09802, allocations: 25.7 kB / 443.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.09811, allocations: 124 kB / 443.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.395e-05/0.09818, allocations: 63.11 kB / 443.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.09825, allocations: 33.7 kB / 443.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.0984, allocations: 334.8 kB / 443.9 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.09853, allocations: 63.95 kB / 443.9 MB, free: 5.281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.09865, allocations: 55.97 kB / 444 MB, free: 5.227 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.1003, allocations: 478.3 kB / 444.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1003, allocations: 0 / 444.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004798/0.1008, allocations: 232.3 kB / 444.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1008, allocations: 4 kB / 444.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1009, allocations: 11.94 kB / 444.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1009, allocations: 0 / 444.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.1011, allocations: 47.89 kB / 444.7 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1011, allocations: 0 / 444.7 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.1013, allocations: 35.8 kB / 444.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1014, allocations: 8 kB / 444.8 MB, free: 4.422 MB / 318.1 MB Warning: Assuming fixed start value for the following 5 variables: Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] 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 (21): * Single equations (assignments): 21 * 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.000217/0.1016, allocations: 147.7 kB / 444.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.1016, allocations: 19.81 kB / 445 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004632/0.1021, allocations: 247.3 kB / 445.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1021, allocations: 0 / 445.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1021, allocations: 0 / 445.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1022, allocations: 0 / 445.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/0.1025, allocations: 293.3 kB / 445.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1025, allocations: 8 kB / 445.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.1028, allocations: 35.91 kB / 445.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1028, allocations: 0 / 445.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.1028, allocations: 8 kB / 445.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1028, allocations: 4 kB / 445.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1028, allocations: 0 / 445.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000538/0.1034, allocations: 401.6 kB / 445.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.67e-05/0.1035, allocations: 100.9 kB / 446 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.1035, allocations: 7.938 kB / 446 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.1038, allocations: 31.95 kB / 446.1 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.1038, allocations: 11.98 kB / 446.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.1038, allocations: 8 kB / 446.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004083/0.1043, allocations: 210.9 kB / 446.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1043, allocations: 0 / 446.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1045, allocations: 35.94 kB / 446.3 MB, free: 2.789 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y) * 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 (18): * Single equations (assignments): 18 * 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.0001148/0.1046, allocations: 107.2 kB / 446.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003403/0.105, allocations: 175.8 kB / 446.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.105, allocations: 0 / 446.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.1052, allocations: 91.89 kB / 446.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.1055, allocations: 46.66 kB / 446.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1066, allocations: 490.9 kB / 447.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.107, allocations: 0.7475 MB / 448 MB, free: 1.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.1071, allocations: 49.5 kB / 448 MB, free: 1.043 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.293e-05/0.1072, allocations: 19.44 kB / 448 MB, free: 1.023 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1072, allocations: 0 / 448 MB, free: 1.023 MB / 318.1 MB Notification: Performance of Templates: time 0.005046/0.1123, allocations: 1.89 MB / 449.9 MB, free: 15.14 MB / 334.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.sim & ./AES_AES.Coursework.Typical_actuation_schemes.DaisyChain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1)