Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.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: "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005202/0.005203, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.00125/0.00125, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1938/0.1938, allocations: 22.34 MB / 312.9 MB, free: 12.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 72.91 kB / 436.6 MB, free: 34.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09276/0.0948, allocations: 54.96 MB / 491.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.003051/0.09789, allocations: 2.007 MB / 493.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.09935, allocations: 0.6821 MB / 494.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.09958, allocations: 7.938 kB / 494.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.09999, allocations: 67.55 kB / 494.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.1004, allocations: 107.4 kB / 494.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.1008, allocations: 159.8 kB / 494.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000644/0.1014, allocations: 451.5 kB / 495 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.1016, allocations: 82.03 kB / 495.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003297/0.102, allocations: 183.4 kB / 495.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003218/0.1023, allocations: 207.2 kB / 495.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.52e-05/0.1024, allocations: 24 kB / 495.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.135e-05/0.1024, allocations: 24 kB / 495.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.1026, allocations: 103.7 kB / 495.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.1027, allocations: 131.1 kB / 495.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.1031, allocations: 294.6 kB / 496 MB, free: 13.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1031, allocations: 0 / 496 MB, free: 13.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1031, allocations: 0 / 496 MB, free: 13.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.1031, allocations: 0 / 496 MB, free: 13.24 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001875/0.105, allocations: 0.7751 MB / 496.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1051, allocations: 8.031 kB / 496.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/0.1051, allocations: 46.73 kB / 496.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/0.1052, allocations: 44.64 kB / 496.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009527/0.1062, allocations: 432 kB / 497.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.1062, allocations: 12.7 kB / 497.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/0.1063, allocations: 24.33 kB / 497.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.1066, allocations: 204.2 kB / 497.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1066, allocations: 0 / 497.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.1067, allocations: 8 kB / 497.6 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.1067, allocations: 4 kB / 497.6 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.1071, allocations: 200.1 kB / 497.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.1083, allocations: 0.7031 MB / 498.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007267/0.109, allocations: 306.4 kB / 498.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.1092, allocations: 128.8 kB / 498.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.1093, allocations: 7.938 kB / 498.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1093, allocations: 34.56 kB / 498.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.262e-06/0.1093, allocations: 0 / 498.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006985/0.11, allocations: 365.5 kB / 499.3 MB, free: 9.797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1101, allocations: 55.41 kB / 499.3 MB, free: 9.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008824/0.1109, allocations: 420.4 kB / 499.8 MB, free: 9.309 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.111, allocations: 29.7 kB / 499.8 MB, free: 9.273 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.1111, allocations: 168.5 kB / 499.9 MB, free: 9.105 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.528e-05/0.1112, allocations: 91.17 kB / 0.4883 GB, free: 9.016 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-05/0.1113, allocations: 49.7 kB / 0.4884 GB, free: 8.961 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1115, allocations: 342.8 kB / 0.4887 GB, free: 8.617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.1116, allocations: 95.94 kB / 0.4888 GB, free: 8.523 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.1118, allocations: 93.95 kB / 0.4889 GB, free: 8.434 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002377/0.1142, allocations: 0.6616 MB / 0.4895 GB, free: 7.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1142, allocations: 0 / 0.4895 GB, free: 7.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000532/0.1148, allocations: 337.2 kB / 0.4898 GB, free: 7.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1148, allocations: 8 kB / 0.4898 GB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1148, allocations: 0 / 0.4898 GB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1148, allocations: 0 / 0.4898 GB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.1151, allocations: 59.91 kB / 0.4899 GB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1151, allocations: 4 kB / 0.4899 GB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/0.1155, allocations: 59.81 kB / 0.49 GB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.1155, allocations: 8 kB / 0.49 GB, free: 7.297 MB / 366.1 MB Warning: Assuming fixed start value for the following 7 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 CA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] CA2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (31): * Single equations (assignments): 31 * 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.0002293/0.1158, allocations: 171.7 kB / 0.4901 GB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.1158, allocations: 35.75 kB / 0.4902 GB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006018/0.1164, allocations: 337.4 kB / 0.4905 GB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1165, allocations: 4 kB / 0.4905 GB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1165, allocations: 0 / 0.4905 GB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1165, allocations: 0 / 0.4905 GB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.1169, allocations: 369.4 kB / 0.4908 GB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.1169, allocations: 3.938 kB / 0.4908 GB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.1172, allocations: 51.91 kB / 0.4909 GB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1172, allocations: 0 / 0.4909 GB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.1173, allocations: 15.98 kB / 0.4909 GB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1173, allocations: 0 / 0.4909 GB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.1173, allocations: 4 kB / 0.4909 GB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007666/0.1181, allocations: 0.5197 MB / 0.4914 GB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1182, allocations: 124.8 kB / 0.4915 GB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.1182, allocations: 7.984 kB / 0.4916 GB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.1186, allocations: 51.94 kB / 0.4916 GB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.1187, allocations: 15.97 kB / 0.4916 GB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.1187, allocations: 4 kB / 0.4916 GB, free: 5.504 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007829/0.1195, allocations: 334.9 kB / 0.4919 GB, free: 5.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1195, allocations: 0 / 0.4919 GB, free: 5.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.1198, allocations: 55.89 kB / 0.492 GB, free: 5.125 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y,CA2.x_scaled[1],CA1.x_scaled[1]) * 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 (26): * Single equations (assignments): 26 * 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.001078/0.1209, allocations: 1.062 MB / 0.493 GB, free: 4.035 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004569/0.1214, allocations: 259.7 kB / 0.4933 GB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1214, allocations: 0 / 0.4933 GB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.1216, allocations: 127.8 kB / 0.4934 GB, free: 3.656 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.1221, allocations: 60.55 kB / 0.4935 GB, free: 3.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/0.1275, allocations: 3.386 MB / 0.4968 GB, free: 124 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.128, allocations: 0.7909 MB / 0.4975 GB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.1282, allocations: 66.23 kB / 0.4976 GB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.1283, allocations: 107.3 kB / 0.4977 GB, free: 15.14 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1283, allocations: 4 kB / 0.4977 GB, free: 15.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.1568, allocations: 6.117 MB / 0.5037 GB, free: 9.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.898/8.054, allocations: 7.828 kB / 0.5037 GB, free: 9.121 MB / 382.1 MB (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops.fmu > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe 2>&1)