Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.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.Cascade_with_locks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_with_locks") translateModel(AES.Coursework.Typical_control_structures.Cascade_with_locks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_with_locks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 114.6 kB / 16.42 MB, free: 6.523 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.001161/0.001161, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09481/0.09481, allocations: 22.32 MB / 313.5 MB, free: 8.844 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 64.12 kB / 437.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08445/0.0857, allocations: 54.96 MB / 492.7 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks): time 0.002665/0.08839, allocations: 1.866 MB / 494.5 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004005/0.08881, allocations: 195.3 kB / 494.7 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.973e-05/0.0889, allocations: 4 kB / 494.7 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.08903, allocations: 35.55 kB / 494.8 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.38e-05/0.08911, allocations: 27.78 kB / 494.8 MB, free: 2.582 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.08932, allocations: 83.89 kB / 494.9 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.08958, allocations: 236.8 kB / 495.1 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.08973, allocations: 64.39 kB / 495.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.025e-05/0.08983, allocations: 87.67 kB / 495.3 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.08995, allocations: 95.42 kB / 495.4 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.08999, allocations: 20 kB / 495.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.529e-05/0.09002, allocations: 16 kB / 495.4 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.09008, allocations: 51.83 kB / 495.4 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.09016, allocations: 99.39 kB / 495.5 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.09036, allocations: 195 kB / 495.7 MB, free: 1.656 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.09037, allocations: 0 / 495.7 MB, free: 1.656 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.09038, allocations: 0 / 495.7 MB, free: 1.656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.09039, allocations: 0 / 495.7 MB, free: 1.656 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007889/0.09119, allocations: 0.5184 MB / 496.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.09123, allocations: 12.03 kB / 496.3 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.09129, allocations: 24.8 kB / 496.3 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.09154, allocations: 240.6 kB / 496.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.09158, allocations: 20.81 kB / 496.5 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.09163, allocations: 28.38 kB / 496.6 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.09203, allocations: 232.8 kB / 496.8 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.09206, allocations: 4.172 kB / 496.8 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.09208, allocations: 11.94 kB / 496.8 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.0921, allocations: 4 kB / 496.8 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.09245, allocations: 161 kB / 497 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.09405, allocations: 1.022 MB / 498 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.09437, allocations: 150.6 kB / 498.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.09452, allocations: 72.83 kB / 498.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.09457, allocations: 15.91 kB / 498.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.0946, allocations: 38.5 kB / 498.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.09461, allocations: 0 / 498.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005482/0.09516, allocations: 233.7 kB / 498.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.0952, allocations: 59.41 kB / 498.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.09539, allocations: 211.8 kB / 498.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.09541, allocations: 25.7 kB / 498.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.289e-05/0.09551, allocations: 160.4 kB / 498.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.09557, allocations: 79.33 kB / 499 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.844e-05/0.09567, allocations: 73.64 kB / 499.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.09579, allocations: 338.8 kB / 499.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.09596, allocations: 71.92 kB / 499.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.09619, allocations: 170.8 kB / 499.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.09763, allocations: 488.8 kB / 0.4884 GB, free: 12.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.09765, allocations: 0 / 0.4884 GB, free: 12.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005484/0.0982, allocations: 305.5 kB / 0.4887 GB, free: 12.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.09823, allocations: 8 kB / 0.4887 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.09824, allocations: 4 kB / 0.4887 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.09826, allocations: 4 kB / 0.4887 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.09859, allocations: 83.83 kB / 0.4888 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.09861, allocations: 7.938 kB / 0.4888 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.09879, allocations: 43.72 kB / 0.4888 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.09882, allocations: 12 kB / 0.4889 GB, free: 12.45 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: P_I.y:VARIABLE(flow=false start = P_I.y_start fixed = true ) "Connector of Real output signal" type: Real P_E.y:VARIABLE(flow=false start = P_E.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 (PI_I.LOsat,PI_I.HIsat,PI_E.LOsat,PI_E.HIsat,PI_I.iNoDec,PI_I.iNoInc,PI_I.iTS,PI_E.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.00017/0.099, allocations: 153.7 kB / 0.489 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.09905, allocations: 27.78 kB / 0.489 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004657/0.09952, allocations: 223.3 kB / 0.4892 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.09954, allocations: 3.984 kB / 0.4892 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.09955, allocations: 0 / 0.4892 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.0996, allocations: 100.9 kB / 0.4893 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.09964, allocations: 8 kB / 0.4893 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.09982, allocations: 15.98 kB / 0.4894 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/0.09989, allocations: 23.97 kB / 0.4894 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008095/0.1007, allocations: 330.2 kB / 0.4897 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006178/0.1013, allocations: 473.7 kB / 0.4902 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001744/0.1015, allocations: 83.94 kB / 0.4902 GB, free: 10.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1016, allocations: 145 kB / 0.4904 GB, free: 10.83 MB / 382.1 MB Notification: Performance of Backend: time 4.1e-07/0.1016, allocations: 3.938 kB / 0.4904 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005537/0.1022, allocations: 244.5 kB / 0.4906 GB, free: 10.58 MB / 382.1 MB Notification: Performance of SimCode: time 0.000817/0.103, allocations: 0.9535 MB / 0.4915 GB, free: 9.582 MB / 382.1 MB Notification: Performance of Templates: time 0.005516/0.1086, allocations: 2.642 MB / 0.4941 GB, free: 6.941 MB / 382.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.makefile (rm -f AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.sim & ./AES_AES.Coursework.Typical_control_structures.Cascade_with_locks -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe 2>&1)