Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Keep_below_limit.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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.Typical_control_structures.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_below_limit") translateModel(AES.Coursework.Typical_control_structures.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_below_limit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007046/0.007046, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001545/0.001545, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2405/0.2405, allocations: 22.35 MB / 312.9 MB, free: 12.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 65.81 kB / 437.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1311, allocations: 54.96 MB / 492.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_below_limit): time 0.002865/0.134, allocations: 1.839 MB / 494.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1351, allocations: 0.5962 MB / 495.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1352, allocations: 8 kB / 495.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.1355, allocations: 23.73 kB / 495.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.1357, allocations: 43.7 kB / 495.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.136, allocations: 107.8 kB / 495.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.1362, allocations: 211.6 kB / 495.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.1364, allocations: 61.52 kB / 495.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.1365, allocations: 83.69 kB / 495.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.1366, allocations: 95.59 kB / 495.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.1367, allocations: 20 kB / 495.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.131e-05/0.1367, allocations: 16 kB / 495.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.706e-05/0.1368, allocations: 55.81 kB / 495.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.71e-05/0.1369, allocations: 79.53 kB / 495.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.1371, allocations: 183.4 kB / 496.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1371, allocations: 0 / 496.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1371, allocations: 0 / 496.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1371, allocations: 0 / 496.1 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001022/0.1382, allocations: 0.5223 MB / 496.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1382, allocations: 8.031 kB / 496.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.1383, allocations: 20.66 kB / 496.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.1388, allocations: 276.7 kB / 496.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1388, allocations: 8.609 kB / 497 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.1388, allocations: 16.28 kB / 497 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.1392, allocations: 169.7 kB / 497.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1392, allocations: 0 / 497.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.1392, allocations: 4 kB / 497.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1392, allocations: 7.938 kB / 497.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002618/0.1395, allocations: 128.5 kB / 497.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009134/0.1404, allocations: 0.5244 MB / 497.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.141, allocations: 182.6 kB / 498 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.1411, allocations: 72.81 kB / 498 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1411, allocations: 3.938 kB / 498 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1412, allocations: 42.56 kB / 498.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.1412, allocations: 224 / 498.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.00149/0.1427, allocations: 0.5262 MB / 498.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.1428, allocations: 81.11 kB / 498.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.1431, allocations: 211.2 kB / 498.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.1432, allocations: 29.7 kB / 498.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.1432, allocations: 131.9 kB / 499.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.1433, allocations: 51.28 kB / 499.1 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.1434, allocations: 29.72 kB / 499.1 MB, free: 9.977 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.1435, allocations: 334.8 kB / 499.5 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1437, allocations: 64.83 kB / 499.5 MB, free: 9.574 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1438, allocations: 82.53 kB / 499.6 MB, free: 9.484 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.1441, allocations: 152.1 kB / 499.8 MB, free: 9.332 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1441, allocations: 0 / 499.8 MB, free: 9.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003203/0.1444, allocations: 189.4 kB / 499.9 MB, free: 9.141 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1445, allocations: 11.98 kB / 500 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1445, allocations: 0 / 500 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1445, allocations: 3.938 kB / 500 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.1447, allocations: 44 kB / 0.4883 GB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1448, allocations: 0 / 0.4883 GB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.1449, allocations: 23.92 kB / 0.4883 GB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.145, allocations: 15.92 kB / 0.4883 GB, free: 9.043 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001374/0.1451, allocations: 144.1 kB / 0.4885 GB, free: 8.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.178e-05/0.1452, allocations: 70.55 kB / 0.4885 GB, free: 8.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001626/0.1454, allocations: 128 kB / 0.4886 GB, free: 8.691 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.1454, allocations: 0 / 0.4886 GB, free: 8.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002389/0.1456, allocations: 165.4 kB / 0.4888 GB, free: 8.523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.1456, allocations: 4 kB / 0.4888 GB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-06/0.1456, allocations: 3.938 kB / 0.4888 GB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-06/0.1457, allocations: 0 / 0.4888 GB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.1459, allocations: 43.97 kB / 0.4889 GB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-06/0.1459, allocations: 0 / 0.4889 GB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.146, allocations: 23.92 kB / 0.4889 GB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.1461, allocations: 7.984 kB / 0.4889 GB, free: 8.441 MB / 366.1 MB 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 (16): * Single equations (assignments): 16 * 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 9.47e-05/0.1462, allocations: 200.8 kB / 0.4891 GB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.1462, allocations: 19.81 kB / 0.4891 GB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006578/0.1469, allocations: 285.2 kB / 0.4894 GB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1469, allocations: 4 kB / 0.4894 GB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1469, allocations: 0 / 0.4894 GB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1469, allocations: 0 / 0.4894 GB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.1472, allocations: 261.5 kB / 0.4896 GB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1472, allocations: 3.938 kB / 0.4896 GB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.344e-05/0.1473, allocations: 12 kB / 0.4896 GB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003523/0.1477, allocations: 88.78 kB / 0.4897 GB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.1477, allocations: 11.92 kB / 0.4897 GB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/0.1497, allocations: 1.833 MB / 0.4915 GB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1497, allocations: 32 / 0.4915 GB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/0.1505, allocations: 439.8 kB / 0.4919 GB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.1505, allocations: 93.02 kB / 0.492 GB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.1505, allocations: 4.031 kB / 0.492 GB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.1508, allocations: 19.98 kB / 0.4921 GB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.1508, allocations: 15.97 kB / 0.4921 GB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.1508, allocations: 0 / 0.4921 GB, free: 4.934 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002651/0.1511, allocations: 173.1 kB / 0.4922 GB, free: 4.766 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1511, allocations: 0 / 0.4922 GB, free: 4.766 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003568/0.1515, allocations: 63.75 kB / 0.4923 GB, free: 4.703 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (C.FO.y,P.x_scaled[1],P.x_scaled[2]) * 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 (8): * Single equations (assignments): 7 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001309/0.1516, allocations: 99.19 kB / 0.4924 GB, free: 4.598 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004342/0.1521, allocations: 224.6 kB / 0.4926 GB, free: 4.383 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1521, allocations: 0 / 0.4926 GB, free: 4.383 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.1524, allocations: 206.6 kB / 0.4928 GB, free: 4.168 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.1528, allocations: 30.5 kB / 0.4928 GB, free: 4.141 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008999/0.1537, allocations: 397.4 kB / 0.4932 GB, free: 3.727 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.1541, allocations: 0.732 MB / 0.4939 GB, free: 2.969 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.1542, allocations: 33.06 kB / 0.494 GB, free: 2.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.1543, allocations: 15.44 kB / 0.494 GB, free: 2.922 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1543, allocations: 0 / 0.494 GB, free: 2.922 MB / 366.1 MB Notification: Performance of Templates: time 0.006076/0.1604, allocations: 2.574 MB / 0.4965 GB, free: 368 kB / 366.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.Keep_below_limit.makefile (rm -f AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Keep_below_limit.sim & ./AES_AES.Coursework.Typical_control_structures.Keep_below_limit -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe 2>&1)