Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09151/0.09151, allocations: 21.61 MB / 36.56 MB, free: 1.059 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009174/0.0009176, allocations: 183.4 kB / 42.82 MB, free: 3.785 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 223.2 MB / 272.1 MB, free: 1.406 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000881/0.000881, allocations: 107.3 kB / 328.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002833/0.0002833, allocations: 8 kB / 397 MB, free: 46.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07838/0.07868, allocations: 55.82 MB / 452.9 MB, free: 6.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.261/0.3397, allocations: 79.53 MB / 0.5199 GB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.34, allocations: 71.88 kB / 0.52 GB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01494/0.3549, allocations: 5.159 MB / 0.525 GB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3549, allocations: 3.812 kB / 0.525 GB, free: 12.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.089e-05/0.355, allocations: 7.719 kB / 0.525 GB, free: 12.38 MB / 362.7 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.001282/0.3562, allocations: 0.7313 MB / 0.5257 GB, free: 11.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.3563, allocations: 10.84 kB / 0.5258 GB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.3563, allocations: 30.5 kB / 0.5258 GB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009302/0.3573, allocations: 469.3 kB / 0.5262 GB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3573, allocations: 9.812 kB / 0.5262 GB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.3573, allocations: 14.16 kB / 0.5263 GB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.3576, allocations: 193.5 kB / 0.5264 GB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3577, allocations: 0 / 0.5264 GB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.3577, allocations: 3.375 kB / 0.5264 GB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3577, allocations: 7.797 kB / 0.5264 GB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.358, allocations: 218.1 kB / 0.5267 GB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008397/0.3589, allocations: 0.6685 MB / 0.5273 GB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/0.3594, allocations: 298.7 kB / 0.5276 GB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.3594, allocations: 0 / 0.5276 GB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.385e-05/0.3594, allocations: 39.81 kB / 0.5276 GB, free: 10.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.011e-06/0.3594, allocations: 0 / 0.5276 GB, free: 10.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001155/0.3606, allocations: 0.5952 MB / 0.5282 GB, free: 10.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.3606, allocations: 55.25 kB / 0.5283 GB, free: 10.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008126/0.3615, allocations: 440.5 kB / 0.5287 GB, free: 10.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.3615, allocations: 33.17 kB / 0.5287 GB, free: 10.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.3616, allocations: 169.2 kB / 0.5289 GB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.3616, allocations: 81.75 kB / 0.529 GB, free: 10.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/0.3616, allocations: 7.312 kB / 0.529 GB, free: 10.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.055e-05/0.3617, allocations: 343.2 kB / 0.5293 GB, free: 9.777 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.3618, allocations: 100.8 kB / 0.5294 GB, free: 9.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.362, allocations: 147 kB / 0.5295 GB, free: 9.711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.3622, allocations: 132.2 kB / 0.5297 GB, free: 9.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3622, allocations: 0 / 0.5297 GB, free: 9.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005783/0.3628, allocations: 419.3 kB / 0.5301 GB, free: 9.551 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3628, allocations: 10.16 kB / 0.5301 GB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3628, allocations: 0 / 0.5301 GB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002095/0.363, allocations: 60.36 kB / 0.5301 GB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.3632, allocations: 46.67 kB / 0.5302 GB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.3642, allocations: 1.558 MB / 0.5317 GB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.3647, allocations: 78.66 kB / 0.5318 GB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3647, allocations: 10.16 kB / 0.5318 GB, free: 8.137 MB / 362.7 MB Warning: Assuming fixed start value for the following 7 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[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] H.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] P.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] P.x_scaled[2]: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: 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001651/0.3649, allocations: 178.6 kB / 0.5319 GB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.3649, allocations: 34.59 kB / 0.532 GB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.128e-05/0.365, allocations: 53.11 kB / 0.532 GB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.365, allocations: 3.984 kB / 0.532 GB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.365, allocations: 7.844 kB / 0.532 GB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.365, allocations: 0 / 0.532 GB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.3653, allocations: 369.9 kB / 0.5324 GB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3653, allocations: 8.203 kB / 0.5324 GB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.3656, allocations: 27.2 kB / 0.5324 GB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001581/0.3657, allocations: 68.02 kB / 0.5325 GB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.3657, allocations: 6.75 kB / 0.5325 GB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009039/0.3667, allocations: 1.56 MB / 0.534 GB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3667, allocations: 0 / 0.534 GB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006994/0.3674, allocations: 0.5836 MB / 0.5346 GB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.816e-05/0.3675, allocations: 115.3 kB / 0.5347 GB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.3675, allocations: 14.64 kB / 0.5347 GB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004385/0.368, allocations: 66.38 kB / 0.5348 GB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.368, allocations: 19 kB / 0.5348 GB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.368, allocations: 7.781 kB / 0.5348 GB, free: 5.898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007328/0.3688, allocations: 377.3 kB / 0.5352 GB, free: 5.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3688, allocations: 0 / 0.5352 GB, free: 5.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002823/0.3691, allocations: 67.61 kB / 0.5352 GB, free: 5.727 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (P.x_scaled[1],P.x_scaled[2],H.x_scaled[1],H.x_scaled[2],M.x_scaled[1],K.x_scaled[1],C.x_scaled[1]) * 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001002/0.3692, allocations: 121.1 kB / 0.5353 GB, free: 5.625 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005151/0.3697, allocations: 404.9 kB / 0.5357 GB, free: 5.453 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3697, allocations: 0 / 0.5357 GB, free: 5.453 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.37, allocations: 264.8 kB / 0.536 GB, free: 5.312 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.3702, allocations: 49.75 kB / 0.536 GB, free: 5.297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009426/0.3712, allocations: 0.7821 MB / 0.5368 GB, free: 4.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.3714, allocations: 0.8098 MB / 0.5376 GB, free: 4.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.3715, allocations: 64.36 kB / 0.5376 GB, free: 4.066 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.3716, allocations: 26.86 kB / 0.5377 GB, free: 4.055 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3716, allocations: 0 / 0.5377 GB, free: 4.055 MB / 362.7 MB Notification: Performance of Templates: time 0.004701/0.3763, allocations: 3.087 MB / 0.5407 GB, free: 2.562 MB / 362.7 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.makefile (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.pipe 2>&1)