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.001555/0.001555, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001828/0.001828, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.348/1.348, allocations: 222.9 MB / 241.1 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.09343/0.09343, allocations: 22.32 MB / 313.5 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.91 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08641/0.0877, allocations: 54.95 MB / 492.7 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002839/0.09058, allocations: 1.783 MB / 494.5 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.09173, allocations: 0.5845 MB / 495 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.09185, allocations: 0 / 495 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.09216, allocations: 43.69 kB / 495.1 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.09237, allocations: 59.64 kB / 495.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.09262, allocations: 91.86 kB / 495.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.09298, allocations: 271.4 kB / 495.5 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.09312, allocations: 49.55 kB / 495.5 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.09328, allocations: 103.7 kB / 495.6 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.09349, allocations: 127.5 kB / 495.8 MB, free: 1.645 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.529e-05/0.09355, allocations: 12 kB / 495.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.703e-05/0.09359, allocations: 16 kB / 495.8 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.0937, allocations: 67.8 kB / 495.9 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.676e-05/0.0938, allocations: 79.47 kB / 495.9 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.09401, allocations: 187.3 kB / 496.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.09402, allocations: 0 / 496.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09403, allocations: 0 / 496.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.09404, allocations: 0 / 496.1 MB, free: 1.289 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.00125/0.09529, allocations: 0.5728 MB / 496.7 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.09534, allocations: 12.02 kB / 496.7 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/0.0954, allocations: 24.66 kB / 496.7 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006398/0.09605, allocations: 311.5 kB / 497 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.09607, allocations: 8.609 kB / 497 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.09612, allocations: 12.38 kB / 497.1 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.09642, allocations: 153.9 kB / 497.2 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.09644, allocations: 0 / 497.2 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.09647, allocations: 4 kB / 497.2 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.09648, allocations: 4 kB / 497.2 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.09679, allocations: 132.6 kB / 497.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009824/0.09779, allocations: 0.544 MB / 497.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.09827, allocations: 202.4 kB / 498.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.09844, allocations: 80.81 kB / 498.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.09848, allocations: 7.938 kB / 498.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.09851, allocations: 34.56 kB / 498.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/0.09852, allocations: 0 / 498.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005654/0.09909, allocations: 264.1 kB / 498.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.09913, allocations: 51.69 kB / 498.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000539/0.09968, allocations: 274.9 kB / 498.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.09971, allocations: 25.7 kB / 498.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.0998, allocations: 124 kB / 498.9 MB, free: 14.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.09986, allocations: 63.09 kB / 499 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.81e-05/0.09994, allocations: 37.7 kB / 499 MB, free: 14.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1001, allocations: 334.8 kB / 499.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.1002, allocations: 63.95 kB / 499.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.1003, allocations: 62.95 kB / 499.5 MB, free: 13.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.102, allocations: 468.2 kB / 499.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1021, allocations: 7.938 kB / 499.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003985/0.1025, allocations: 230.8 kB / 0.4884 GB, free: 13.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.1025, allocations: 11.12 kB / 0.4885 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1025, allocations: 0 / 0.4885 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.1025, allocations: 0 / 0.4885 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.1028, allocations: 39.91 kB / 0.4885 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1028, allocations: 0 / 0.4885 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.1031, allocations: 39.89 kB / 0.4885 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.1031, allocations: 11.98 kB / 0.4885 GB, free: 12.92 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.0002414/0.1033, allocations: 151.6 kB / 0.4887 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.1034, allocations: 23.73 kB / 0.4887 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/0.1039, allocations: 243.3 kB / 0.4889 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.1039, allocations: 0 / 0.4889 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1039, allocations: 0 / 0.4889 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.47e-05/0.104, allocations: 100.8 kB / 0.489 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.104, allocations: 4 kB / 0.489 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.1043, allocations: 31.95 kB / 0.4891 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.1044, allocations: 15.98 kB / 0.4891 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007092/0.1051, allocations: 332.5 kB / 0.4894 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006055/0.1057, allocations: 0.4945 MB / 0.4899 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001514/0.1059, allocations: 87.98 kB / 0.49 GB, free: 11.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004407/0.1064, allocations: 203.1 kB / 0.4902 GB, free: 11.21 MB / 382.1 MB Notification: Performance of Backend: time 3.71e-07/0.1064, allocations: 3.938 kB / 0.4902 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005061/0.1069, allocations: 190.2 kB / 0.4904 GB, free: 11.01 MB / 382.1 MB Notification: Performance of SimCode: time 0.0008622/0.1078, allocations: 0.8772 MB / 0.4912 GB, free: 10.09 MB / 382.1 MB Notification: Performance of Templates: time 0.005673/0.1134, allocations: 2.544 MB / 0.4937 GB, free: 7.547 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)