Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.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.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") translateModel(AES.Coursework.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 108.9 kB / 16.36 MB, free: 5.824 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.001046/0.001046, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.325/1.325, allocations: 222.9 MB / 241 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.08846/0.08846, allocations: 22.34 MB / 313.5 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001468, allocations: 61.72 kB / 382.2 MB, free: 41.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1114, allocations: 54.96 MB / 437.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.003574/0.115, allocations: 1.796 MB / 439 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1161, allocations: 0.5689 MB / 439.6 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.1163, allocations: 7.938 kB / 439.6 MB, free: 9.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004289/0.1168, allocations: 47.7 kB / 439.6 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.117, allocations: 51.69 kB / 439.7 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.1173, allocations: 95.86 kB / 439.8 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000454/0.1178, allocations: 263.4 kB / 440 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.118, allocations: 45.67 kB / 440.1 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.1182, allocations: 99.66 kB / 440.2 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.1184, allocations: 131.5 kB / 440.3 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.161e-05/0.1185, allocations: 12 kB / 440.3 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.336e-05/0.1185, allocations: 16 kB / 440.3 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.1187, allocations: 71.8 kB / 440.4 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.955e-05/0.1188, allocations: 79.47 kB / 440.5 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.119, allocations: 187.2 kB / 440.6 MB, free: 8.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.119, allocations: 0 / 440.6 MB, free: 8.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1191, allocations: 0 / 440.6 MB, free: 8.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1191, allocations: 0 / 440.6 MB, free: 8.797 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001548/0.1206, allocations: 0.5767 MB / 441.2 MB, free: 8.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.1207, allocations: 8.031 kB / 441.2 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.886e-05/0.1208, allocations: 28.66 kB / 441.3 MB, free: 8.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007131/0.1215, allocations: 311.5 kB / 441.6 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.1215, allocations: 8.609 kB / 441.6 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.1216, allocations: 12.38 kB / 441.6 MB, free: 7.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.1219, allocations: 151.8 kB / 441.7 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1219, allocations: 4 kB / 441.7 MB, free: 7.613 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1219, allocations: 0 / 441.7 MB, free: 7.613 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.122, allocations: 4 kB / 441.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.1223, allocations: 132.5 kB / 441.9 MB, free: 7.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.1233, allocations: 0.544 MB / 442.4 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.1238, allocations: 194.5 kB / 442.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.1239, allocations: 89.09 kB / 442.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.124, allocations: 0 / 442.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.124, allocations: 34.5 kB / 442.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.525e-06/0.124, allocations: 7.938 kB / 442.7 MB, free: 6.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005227/0.1246, allocations: 263.7 kB / 443 MB, free: 6.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1246, allocations: 55.41 kB / 443 MB, free: 6.219 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004916/0.1251, allocations: 262.9 kB / 443.3 MB, free: 5.953 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.1251, allocations: 25.7 kB / 443.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.681e-05/0.1252, allocations: 136 kB / 443.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/0.1253, allocations: 59.11 kB / 443.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/0.1254, allocations: 33.7 kB / 443.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1255, allocations: 334.8 kB / 443.9 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.1256, allocations: 59.97 kB / 443.9 MB, free: 5.293 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1257, allocations: 63.95 kB / 444 MB, free: 5.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.1275, allocations: 470.5 kB / 444.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1275, allocations: 0 / 444.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003853/0.1279, allocations: 237.2 kB / 444.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1279, allocations: 8 kB / 444.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1279, allocations: 0 / 444.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1279, allocations: 0 / 444.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.1282, allocations: 43.91 kB / 444.7 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.1282, allocations: 8 kB / 444.7 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.1284, allocations: 35.8 kB / 444.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.1285, allocations: 8 kB / 444.8 MB, free: 4.43 MB / 318.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 (21): * Single equations (assignments): 21 * 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.0002207/0.1287, allocations: 162.5 kB / 444.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.1287, allocations: 15.81 kB / 445 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005215/0.1293, allocations: 237.6 kB / 445.2 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1293, allocations: 4 kB / 445.2 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1293, allocations: 4 kB / 445.2 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1293, allocations: 0 / 445.2 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.1296, allocations: 297.3 kB / 445.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1296, allocations: 0 / 445.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.1299, allocations: 27.98 kB / 445.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.1299, allocations: 7.984 kB / 445.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.1299, allocations: 4 kB / 445.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1299, allocations: 7.938 kB / 445.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1299, allocations: 0 / 445.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/0.1305, allocations: 399.1 kB / 445.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.852e-05/0.1306, allocations: 104.9 kB / 446 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.1307, allocations: 7.938 kB / 446 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.1309, allocations: 27.95 kB / 446.1 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.131, allocations: 7.984 kB / 446.1 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.131, allocations: 8 kB / 446.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004474/0.1315, allocations: 214.9 kB / 446.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1315, allocations: 0 / 446.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1317, allocations: 35.94 kB / 446.3 MB, free: 2.797 MB / 318.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 (18): * Single equations (assignments): 18 * 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.000118/0.1319, allocations: 103.2 kB / 446.4 MB, free: 2.688 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003651/0.1322, allocations: 184.6 kB / 446.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1322, allocations: 0 / 446.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.1324, allocations: 95.88 kB / 446.7 MB, free: 2.418 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.1328, allocations: 39.8 kB / 446.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009459/0.1337, allocations: 493.7 kB / 447.2 MB, free: 1.871 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.1341, allocations: 0.7514 MB / 448 MB, free: 1.094 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.1343, allocations: 49.62 kB / 448 MB, free: 1.047 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.1344, allocations: 23.42 kB / 448 MB, free: 1.023 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1344, allocations: 0 / 448 MB, free: 1.023 MB / 318.1 MB Notification: Performance of Templates: time 0.005329/0.1397, allocations: 1.885 MB / 449.9 MB, free: 15.15 MB / 334.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.sim & ./AES_AES.Coursework.Typical_actuation_schemes.DaisyChain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1)