Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.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.SplitRange_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008906/0.008906, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001798/0.001798, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2164/0.2164, allocations: 22.36 MB / 312.9 MB, free: 12.51 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.89 kB / 437.1 MB, free: 34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1292, allocations: 54.96 MB / 492 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.003154/0.1324, allocations: 1.8 MB / 493.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1336, allocations: 0.5806 MB / 494.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.1337, allocations: 7.938 kB / 494.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.1341, allocations: 35.72 kB / 494.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.1344, allocations: 59.69 kB / 494.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.1346, allocations: 91.84 kB / 494.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.135, allocations: 247.5 kB / 494.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.1351, allocations: 45.66 kB / 494.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.1353, allocations: 111.6 kB / 495 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.1356, allocations: 111.6 kB / 495.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.201e-05/0.1357, allocations: 16 kB / 495.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.992e-05/0.1357, allocations: 16 kB / 495.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1358, allocations: 63.81 kB / 495.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.931e-05/0.1359, allocations: 79.45 kB / 495.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.1362, allocations: 175.4 kB / 495.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1362, allocations: 0 / 495.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1362, allocations: 0 / 495.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1362, allocations: 0 / 495.4 MB, free: 13.78 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001333/0.1375, allocations: 0.5686 MB / 496 MB, free: 13.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1376, allocations: 12.03 kB / 496 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.1377, allocations: 28.75 kB / 496.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.1383, allocations: 320.2 kB / 496.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1384, allocations: 8.375 kB / 496.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.1384, allocations: 8.375 kB / 496.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.1387, allocations: 143.9 kB / 496.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.1387, allocations: 0 / 496.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1387, allocations: 4 kB / 496.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1387, allocations: 0 / 496.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.139, allocations: 119.9 kB / 496.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.1401, allocations: 0.5196 MB / 497.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.1406, allocations: 182.4 kB / 497.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.1408, allocations: 76.81 kB / 497.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.1408, allocations: 0 / 497.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.1409, allocations: 38.56 kB / 497.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.203e-06/0.1409, allocations: 4 kB / 497.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005468/0.1414, allocations: 233.6 kB / 497.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.1415, allocations: 55.41 kB / 497.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.1421, allocations: 271.1 kB / 498 MB, free: 11.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.1421, allocations: 29.64 kB / 498 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.705e-05/0.1422, allocations: 136.3 kB / 498.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.953e-05/0.1423, allocations: 55.17 kB / 498.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.1424, allocations: 33.7 kB / 498.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1425, allocations: 326.8 kB / 498.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.1426, allocations: 59.95 kB / 498.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.1428, allocations: 62.5 kB / 498.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.1446, allocations: 462.4 kB / 499.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1446, allocations: 0 / 499.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003572/0.145, allocations: 221.8 kB / 499.4 MB, free: 9.633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.145, allocations: 7.938 kB / 499.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.145, allocations: 0 / 499.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.145, allocations: 0 / 499.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.1452, allocations: 35.98 kB / 499.4 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1452, allocations: 3.938 kB / 499.4 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.1455, allocations: 35.89 kB / 499.4 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.1455, allocations: 8 kB / 499.5 MB, free: 9.543 MB / 366.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 (20): * Single equations (assignments): 20 * 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.0002027/0.1457, allocations: 147.6 kB / 499.6 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.1458, allocations: 23.73 kB / 499.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004573/0.1462, allocations: 229.8 kB / 499.8 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1463, allocations: 4 kB / 499.8 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1463, allocations: 3.938 kB / 499.9 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1463, allocations: 0 / 499.9 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.1466, allocations: 289.4 kB / 0.4884 GB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1466, allocations: 0 / 0.4884 GB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.1468, allocations: 35.92 kB / 0.4884 GB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1469, allocations: 4 kB / 0.4885 GB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.1469, allocations: 8 kB / 0.4885 GB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.1469, allocations: 7.922 kB / 0.4885 GB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1469, allocations: 3.938 kB / 0.4885 GB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/0.1475, allocations: 379.1 kB / 0.4888 GB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.49e-05/0.1476, allocations: 100.9 kB / 0.4889 GB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.1476, allocations: 0 / 0.4889 GB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.1479, allocations: 39.89 kB / 0.489 GB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.148, allocations: 11.92 kB / 0.489 GB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.148, allocations: 4 kB / 0.489 GB, free: 8.184 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004483/0.1484, allocations: 220.5 kB / 0.4892 GB, free: 7.969 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1484, allocations: 0 / 0.4892 GB, free: 7.969 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000268/0.1487, allocations: 39.94 kB / 0.4892 GB, free: 7.93 MB / 366.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 (17): * Single equations (assignments): 17 * 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.0001276/0.1489, allocations: 103.2 kB / 0.4893 GB, free: 7.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.1492, allocations: 156.7 kB / 0.4895 GB, free: 7.668 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1492, allocations: 0 / 0.4895 GB, free: 7.668 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.1494, allocations: 87.8 kB / 0.4896 GB, free: 7.582 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.1498, allocations: 38.69 kB / 0.4896 GB, free: 7.547 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009418/0.1507, allocations: 474.8 kB / 0.4901 GB, free: 7.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.151, allocations: 0.7475 MB / 0.4908 GB, free: 6.281 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.1512, allocations: 45.45 kB / 0.4908 GB, free: 6.238 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.594e-05/0.1513, allocations: 15.44 kB / 0.4908 GB, free: 6.223 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1513, allocations: 0 / 0.4908 GB, free: 6.223 MB / 366.1 MB Notification: Performance of Templates: time 0.005297/0.1566, allocations: 2.008 MB / 0.4928 GB, free: 4.223 MB / 366.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1)