Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.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_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 115 kB / 16.42 MB, free: 6.488 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.001097/0.001097, allocations: 185.7 kB / 17.35 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.3/1.3, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09114/0.09114, allocations: 22.33 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 63.91 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1235, allocations: 54.95 MB / 492.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.004537/0.1281, allocations: 1.968 MB / 494.6 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.1301, allocations: 0.7131 MB / 495.4 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.1303, allocations: 7.938 kB / 495.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.1308, allocations: 75.48 kB / 495.4 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.1311, allocations: 111.5 kB / 495.5 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.1316, allocations: 187.6 kB / 495.7 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007571/0.1324, allocations: 495.1 kB / 496.2 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.1327, allocations: 60.72 kB / 496.3 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004744/0.1331, allocations: 203.4 kB / 496.5 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005317/0.1337, allocations: 207.2 kB / 496.7 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.1338, allocations: 24 kB / 496.7 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1339, allocations: 24 kB / 496.7 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.1341, allocations: 103.6 kB / 496.8 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.1344, allocations: 127.1 kB / 496.9 MB, free: 488 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004398/0.1348, allocations: 278.9 kB / 497.2 MB, free: 208 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1349, allocations: 4 kB / 497.2 MB, free: 204 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1349, allocations: 0 / 497.2 MB, free: 204 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.1349, allocations: 0 / 497.2 MB, free: 204 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.002753/0.1377, allocations: 0.7736 MB / 498 MB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1377, allocations: 12.03 kB / 498 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.643e-05/0.1378, allocations: 28.56 kB / 498 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.1393, allocations: 443.9 kB / 498.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.1394, allocations: 16.23 kB / 498.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/0.1394, allocations: 24.27 kB / 498.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.1399, allocations: 185.8 kB / 498.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1399, allocations: 0 / 498.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.14, allocations: 4 kB / 498.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.14, allocations: 8 kB / 498.7 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005091/0.1405, allocations: 187.9 kB / 498.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.142, allocations: 0.6484 MB / 499.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.1432, allocations: 334.8 kB / 499.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.1434, allocations: 107.9 kB / 500 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.1435, allocations: 3.984 kB / 500 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.1435, allocations: 38.56 kB / 0.4883 GB, free: 13.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.944e-06/0.1435, allocations: 0 / 0.4883 GB, free: 13.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001636/0.1452, allocations: 0.4949 MB / 0.4888 GB, free: 12.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.1452, allocations: 55.41 kB / 0.4888 GB, free: 12.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.1467, allocations: 452.3 kB / 0.4893 GB, free: 12.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.1467, allocations: 29.7 kB / 0.4893 GB, free: 12.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.1469, allocations: 168.4 kB / 0.4894 GB, free: 12.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.785e-05/0.147, allocations: 74.91 kB / 0.4895 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.1471, allocations: 41.7 kB / 0.4896 GB, free: 11.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1473, allocations: 342.8 kB / 0.4899 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.1475, allocations: 80.19 kB / 0.49 GB, free: 11.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.1478, allocations: 118.1 kB / 0.4901 GB, free: 11.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/0.15, allocations: 0.5167 MB / 0.4906 GB, free: 10.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.15, allocations: 0 / 0.4906 GB, free: 10.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009021/0.1509, allocations: 345.8 kB / 0.4909 GB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1509, allocations: 7.938 kB / 0.4909 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.151, allocations: 0 / 0.4909 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002495/0.1512, allocations: 56.84 kB / 0.491 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.1515, allocations: 39.92 kB / 0.491 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.1534, allocations: 1.599 MB / 0.4926 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006174/0.154, allocations: 71.81 kB / 0.4926 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.1541, allocations: 15.94 kB / 0.4926 GB, free: 8.543 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: C.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] K.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] H.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] P.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002585/0.1543, allocations: 172.3 kB / 0.4928 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-05/0.1545, allocations: 27.62 kB / 0.4928 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.1546, allocations: 47.02 kB / 0.4929 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1546, allocations: 3.984 kB / 0.4929 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1546, allocations: 0 / 0.4929 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.1547, allocations: 112.8 kB / 0.493 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-05/0.1548, allocations: 15.92 kB / 0.493 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006666/0.1555, allocations: 55.92 kB / 0.4931 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/0.1556, allocations: 15.97 kB / 0.4931 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00145/0.1571, allocations: 437.3 kB / 0.4935 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001041/0.1581, allocations: 0.5897 MB / 0.4941 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002698/0.1584, allocations: 110.7 kB / 0.4942 GB, free: 6.922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001282/0.1597, allocations: 362.8 kB / 0.4945 GB, free: 6.57 MB / 382.1 MB Notification: Performance of Backend: time 1.042e-06/0.1597, allocations: 0 / 0.4945 GB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.1608, allocations: 352.9 kB / 0.4949 GB, free: 6.203 MB / 382.1 MB Notification: Performance of SimCode: time 0.001399/0.1622, allocations: 1.043 MB / 0.4959 GB, free: 5.113 MB / 382.1 MB Notification: Performance of Templates: time 0.01024/0.1725, allocations: 3.624 MB / 0.4994 GB, free: 1.488 MB / 382.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.makefile (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe 2>&1)