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.001153/0.001153, allocations: 116.9 kB / 16.42 MB, free: 5.988 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.001249/0.00125, allocations: 190.8 kB / 17.35 MB, free: 5.602 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.321/1.321, 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.0946/0.0946, allocations: 22.33 MB / 313.5 MB, free: 8.906 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 67.88 kB / 437.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09906, allocations: 54.95 MB / 492.7 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002953/0.102, allocations: 1.789 MB / 494.5 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1031, allocations: 0.5845 MB / 495 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.1033, allocations: 4 kB / 495 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.1036, allocations: 43.69 kB / 495.1 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.1038, allocations: 59.7 kB / 495.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.104, allocations: 91.86 kB / 495.2 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.1044, allocations: 267.4 kB / 495.5 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.1045, allocations: 41.67 kB / 495.5 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.1047, allocations: 107.6 kB / 495.6 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.1049, allocations: 119.5 kB / 495.8 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.105, allocations: 16 kB / 495.8 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.694e-05/0.105, allocations: 16 kB / 495.8 MB, free: 1.668 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1051, allocations: 63.81 kB / 495.9 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.1052, allocations: 87.45 kB / 495.9 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.1055, allocations: 183.1 kB / 496.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1055, allocations: 4 kB / 496.1 MB, free: 1.336 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1055, allocations: 0 / 496.1 MB, free: 1.336 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.1055, allocations: 0 / 496.1 MB, free: 1.336 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0013/0.1068, allocations: 0.5727 MB / 496.7 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1069, allocations: 8.031 kB / 496.7 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/0.107, allocations: 28.78 kB / 496.7 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006445/0.1076, allocations: 311.7 kB / 497 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.1076, allocations: 8.609 kB / 497 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.1077, allocations: 12.38 kB / 497.1 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.108, allocations: 161.8 kB / 497.2 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.108, allocations: 0 / 497.2 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.108, allocations: 8 kB / 497.2 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.108, allocations: 4 kB / 497.2 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.1083, allocations: 128.6 kB / 497.4 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008842/0.1092, allocations: 0.5402 MB / 497.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.1097, allocations: 194.5 kB / 498.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.1099, allocations: 96.69 kB / 498.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.1099, allocations: 0 / 498.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.1099, allocations: 30.56 kB / 498.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.1099, allocations: 4 kB / 498.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005381/0.1105, allocations: 269.6 kB / 498.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.1105, allocations: 55.41 kB / 498.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/0.111, allocations: 262.9 kB / 498.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1111, allocations: 29.7 kB / 498.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.1112, allocations: 128 kB / 498.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.1112, allocations: 67.42 kB / 499 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.89e-05/0.1113, allocations: 37.7 kB / 499 MB, free: 14.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1114, allocations: 330.8 kB / 499.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1116, allocations: 63.89 kB / 499.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.1117, allocations: 63.95 kB / 499.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.1135, allocations: 474.3 kB / 500 MB, free: 13.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1135, allocations: 0 / 500 MB, free: 13.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003997/0.1139, allocations: 234.5 kB / 0.4885 GB, free: 13.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1139, allocations: 4 kB / 0.4885 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.114, allocations: 0 / 0.4885 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.114, allocations: 0 / 0.4885 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.1142, allocations: 39.91 kB / 0.4885 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1142, allocations: 4 kB / 0.4885 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.1145, allocations: 43.91 kB / 0.4885 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.1145, allocations: 4 kB / 0.4886 GB, free: 12.96 MB / 382.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.0001861/0.1147, allocations: 159.6 kB / 0.4887 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.1147, allocations: 23.84 kB / 0.4887 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.1152, allocations: 239.3 kB / 0.489 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.1152, allocations: 0 / 0.489 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1152, allocations: 0 / 0.489 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/0.1153, allocations: 101 kB / 0.489 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.1153, allocations: 7.984 kB / 0.4891 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/0.1157, allocations: 31.95 kB / 0.4891 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.1157, allocations: 7.984 kB / 0.4891 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007265/0.1164, allocations: 348.5 kB / 0.4894 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006182/0.1171, allocations: 498.7 kB / 0.4899 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001738/0.1173, allocations: 91.98 kB / 0.49 GB, free: 11.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004329/0.1177, allocations: 215.1 kB / 0.4902 GB, free: 11.22 MB / 382.1 MB Notification: Performance of Backend: time 5.21e-07/0.1177, allocations: 0 / 0.4902 GB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004906/0.1182, allocations: 184 kB / 0.4904 GB, free: 11.04 MB / 382.1 MB Notification: Performance of SimCode: time 0.0008494/0.1191, allocations: 0.8746 MB / 0.4912 GB, free: 10.11 MB / 382.1 MB Notification: Performance of Templates: time 0.005464/0.1246, allocations: 2.545 MB / 0.4937 GB, free: 7.574 MB / 382.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 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1)