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.001356/0.001356, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001053/0.001054, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08693/0.08693, allocations: 22.32 MB / 313.5 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 71.89 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1271, allocations: 54.95 MB / 492.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.003733/0.1309, allocations: 1.795 MB / 494.5 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1322, allocations: 0.5728 MB / 495 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.1324, allocations: 4 kB / 495 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.1328, allocations: 39.7 kB / 495.1 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.133, allocations: 59.69 kB / 495.1 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.1333, allocations: 83.88 kB / 495.2 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003567/0.1337, allocations: 259.4 kB / 495.5 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.1338, allocations: 49.59 kB / 495.5 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.134, allocations: 99.66 kB / 495.6 MB, free: 1.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.1343, allocations: 119.5 kB / 495.7 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.246e-05/0.1343, allocations: 16 kB / 495.7 MB, free: 1.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.852e-05/0.1344, allocations: 12 kB / 495.8 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.1345, allocations: 63.75 kB / 495.8 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1346, allocations: 79.52 kB / 495.9 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.1348, allocations: 175.3 kB / 496.1 MB, free: 1.344 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1349, allocations: 3.938 kB / 496.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1349, allocations: 0 / 496.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1349, allocations: 0 / 496.1 MB, free: 1.34 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.001361/0.1362, allocations: 0.5648 MB / 496.6 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.1363, allocations: 12.03 kB / 496.6 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.378e-05/0.1364, allocations: 24.59 kB / 496.7 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/0.1371, allocations: 320.3 kB / 497 MB, free: 348 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1371, allocations: 4.375 kB / 497 MB, free: 344 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.1371, allocations: 12.38 kB / 497 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.1374, allocations: 135.5 kB / 497.1 MB, free: 192 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1374, allocations: 4 kB / 497.1 MB, free: 188 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.1374, allocations: 4 kB / 497.1 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1375, allocations: 4 kB / 497.1 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.1377, allocations: 111.9 kB / 497.3 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000938/0.1387, allocations: 0.5119 MB / 497.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.1391, allocations: 190.4 kB / 498 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.1393, allocations: 72.81 kB / 498 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.1393, allocations: 0 / 498 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.1393, allocations: 38.56 kB / 498.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.1393, allocations: 0 / 498.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005114/0.1399, allocations: 240.2 kB / 498.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.1399, allocations: 59.41 kB / 498.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/0.1405, allocations: 275 kB / 498.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1405, allocations: 25.7 kB / 498.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.628e-05/0.1406, allocations: 132.6 kB / 498.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.479e-05/0.1407, allocations: 59.19 kB / 498.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/0.1407, allocations: 33.7 kB / 498.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1408, allocations: 334.8 kB / 499.2 MB, free: 14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.141, allocations: 59.97 kB / 499.3 MB, free: 13.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.1411, allocations: 58.03 kB / 499.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/0.1429, allocations: 462.8 kB / 499.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1429, allocations: 0 / 499.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003734/0.1433, allocations: 229.2 kB / 500 MB, free: 13.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1434, allocations: 8 kB / 500 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1434, allocations: 3.938 kB / 500 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1434, allocations: 0 / 500 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.1436, allocations: 35.97 kB / 0.4883 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.1436, allocations: 7.938 kB / 0.4883 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.1439, allocations: 35.88 kB / 0.4884 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.1439, allocations: 7.984 kB / 0.4884 GB, free: 13.1 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 (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.0002151/0.1441, allocations: 155.5 kB / 0.4885 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.1442, allocations: 19.75 kB / 0.4885 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004503/0.1446, allocations: 227 kB / 0.4887 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1446, allocations: 4 kB / 0.4887 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.1447, allocations: 3.938 kB / 0.4888 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.1447, allocations: 3.984 kB / 0.4888 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003691/0.145, allocations: 281.4 kB / 0.489 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1451, allocations: 3.938 kB / 0.489 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.1453, allocations: 27.98 kB / 0.4891 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.1453, allocations: 4 kB / 0.4891 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.1453, allocations: 7.984 kB / 0.4891 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.1453, allocations: 3.984 kB / 0.4891 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1454, allocations: 3.938 kB / 0.4891 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.1459, allocations: 381.3 kB / 0.4894 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-05/0.146, allocations: 108.8 kB / 0.4895 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.146, allocations: 4 kB / 0.4895 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.1463, allocations: 27.91 kB / 0.4896 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.1463, allocations: 11.98 kB / 0.4896 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.1464, allocations: 11.98 kB / 0.4896 GB, free: 11.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004207/0.1468, allocations: 216.5 kB / 0.4898 GB, free: 11.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1468, allocations: 0 / 0.4898 GB, free: 11.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1471, allocations: 32 kB / 0.4898 GB, free: 11.5 MB / 382.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.0001211/0.1472, allocations: 103.2 kB / 0.4899 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000348/0.1476, allocations: 163.8 kB / 0.4901 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1476, allocations: 0 / 0.4901 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.1477, allocations: 83.91 kB / 0.4902 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.1481, allocations: 42.98 kB / 0.4902 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009894/0.1491, allocations: 0.4966 MB / 0.4907 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.1494, allocations: 0.7436 MB / 0.4914 GB, free: 9.812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.971e-05/0.1495, allocations: 27.31 kB / 0.4914 GB, free: 9.785 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1496, allocations: 0 / 0.4914 GB, free: 9.785 MB / 382.1 MB Notification: Performance of Templates: time 0.004946/0.1545, allocations: 2.539 MB / 0.4939 GB, free: 7.246 MB / 382.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)