Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AES with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.07788/0.07788, allocations: 19.39 MB / 34.65 MB, free: 276 kB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008733/0.0008733, allocations: 175.1 kB / 40.28 MB, free: 6.543 MB / 33.03 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.7 MB / 271.5 MB, free: 3.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000764/0.000764, allocations: 91.77 kB / 327.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004528/0.0004529, allocations: 8 kB / 395.4 MB, free: 47.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1319, allocations: 55.18 MB / 450.6 MB, free: 8.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks): time 0.002859/0.1349, allocations: 1.512 MB / 452.1 MB, free: 7.156 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006355/0.1355, allocations: 195.3 kB / 452.3 MB, free: 6.965 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1357, allocations: 7.938 kB / 452.3 MB, free: 6.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.1358, allocations: 23.73 kB / 452.3 MB, free: 6.934 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.919e-05/0.1359, allocations: 19.8 kB / 452.3 MB, free: 6.914 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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.0002899/0.1362, allocations: 71.92 kB / 452.4 MB, free: 6.844 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003727/0.1366, allocations: 232.8 kB / 452.6 MB, free: 6.617 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.1368, allocations: 60.28 kB / 452.7 MB, free: 6.555 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.672e-05/0.1369, allocations: 67.7 kB / 452.7 MB, free: 6.488 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.1371, allocations: 83.47 kB / 452.8 MB, free: 6.406 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.1372, allocations: 12 kB / 452.8 MB, free: 6.395 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.209e-05/0.1372, allocations: 8 kB / 452.8 MB, free: 6.387 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.1373, allocations: 35.84 kB / 452.9 MB, free: 6.352 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.1374, allocations: 109.2 kB / 453 MB, free: 6.238 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.1377, allocations: 175.2 kB / 453.1 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1377, allocations: 3.938 kB / 453.2 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1377, allocations: 0 / 453.2 MB, free: 6.062 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1377, allocations: 0 / 453.2 MB, free: 6.062 MB / 314.7 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.001026/0.1388, allocations: 483.3 kB / 453.6 MB, free: 5.539 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.1388, allocations: 9.156 kB / 453.6 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.806e-05/0.1389, allocations: 24.66 kB / 453.7 MB, free: 5.508 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.1393, allocations: 240.5 kB / 453.9 MB, free: 5.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.1393, allocations: 16.81 kB / 453.9 MB, free: 5.215 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.1394, allocations: 24.38 kB / 453.9 MB, free: 5.191 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006186/0.14, allocations: 244.8 kB / 454.2 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1401, allocations: 192 / 454.2 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.1401, allocations: 7.938 kB / 454.2 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.1401, allocations: 8 kB / 454.2 MB, free: 4.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005331/0.1407, allocations: 157 kB / 454.3 MB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.143, allocations: 1.041 MB / 455.4 MB, free: 3.652 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/0.1435, allocations: 146.6 kB / 455.5 MB, free: 3.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.1437, allocations: 68.83 kB / 455.6 MB, free: 3.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.1438, allocations: 4 kB / 455.6 MB, free: 3.426 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.1438, allocations: 38.5 kB / 455.6 MB, free: 3.379 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.763e-06/0.1439, allocations: 0 / 455.6 MB, free: 3.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008365/0.1447, allocations: 239.9 kB / 455.9 MB, free: 3.141 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.1448, allocations: 51.41 kB / 455.9 MB, free: 3.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.1451, allocations: 223 kB / 456.1 MB, free: 2.852 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.1451, allocations: 33.7 kB / 456.2 MB, free: 2.812 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.1452, allocations: 152.1 kB / 456.3 MB, free: 2.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.1453, allocations: 82.84 kB / 456.4 MB, free: 2.578 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.1454, allocations: 7.938 kB / 456.4 MB, free: 2.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1455, allocations: 330.8 kB / 456.7 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.1458, allocations: 71.97 kB / 456.8 MB, free: 2.168 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.1462, allocations: 171 kB / 457 MB, free: 1.961 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/0.1483, allocations: 0.4898 MB / 457.5 MB, free: 1.434 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1483, allocations: 0 / 457.5 MB, free: 1.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008217/0.1491, allocations: 304.2 kB / 457.8 MB, free: 1.133 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.1492, allocations: 8.375 kB / 457.8 MB, free: 1.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.1492, allocations: 8 kB / 457.8 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.1492, allocations: 8 kB / 457.8 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.1497, allocations: 83.83 kB / 457.9 MB, free: 1.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.1498, allocations: 4 kB / 457.9 MB, free: 1.023 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.1501, allocations: 43.58 kB / 457.9 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.1501, allocations: 12 kB / 457.9 MB, free: 0.9688 MB / 314.7 MB Warning: Assuming fixed start value for the following 2 variables: P_E.y:VARIABLE(flow=false start = P_E.y_start fixed = true ) "Connector of Real output signal" type: Real P_I.y:VARIABLE(flow=false start = P_I.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_E.HIsat,PI_E.LOsat,PI_I.HIsat,PI_I.LOsat,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.0002817/0.1504, allocations: 148.8 kB / 458.1 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.1505, allocations: 19.75 kB / 458.1 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006626/0.1511, allocations: 231.1 kB / 458.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.1512, allocations: 4 kB / 458.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1512, allocations: 0 / 458.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.1512, allocations: 3.984 kB / 458.3 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006752/0.1519, allocations: 313.3 kB / 458.6 MB, free: 204 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.1519, allocations: 3.938 kB / 458.6 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.1524, allocations: 67.89 kB / 458.7 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1525, allocations: 0 / 458.7 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.1525, allocations: 11.98 kB / 458.7 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1525, allocations: 0 / 458.7 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1525, allocations: 0 / 458.7 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008656/0.1534, allocations: 373.7 kB / 459.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.1535, allocations: 100.7 kB / 459.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/0.1536, allocations: 8 kB / 459.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.1538, allocations: 15.98 kB / 459.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.1539, allocations: 19.95 kB / 459.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.154, allocations: 8 kB / 459.2 MB, free: 15.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001642/0.1541, allocations: 145 kB / 459.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1542, allocations: 0 / 459.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004973/0.1547, allocations: 48.03 kB / 459.4 MB, free: 15.38 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (P_I.y,P_E.y,PI_E.xfb,PI_E.xBias,PI_E.u,PI_E.csfil,PI_I.xfb,PI_I.xBias,PI_I.u,PI_I.csfil) * Number of discrete variables: 4 (PI_E.HIsat,PI_E.LOsat,PI_I.HIsat,PI_I.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.0001437/0.1548, allocations: 111.2 kB / 459.5 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006238/0.1555, allocations: 209.6 kB / 459.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1555, allocations: 4.75 kB / 459.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.1558, allocations: 87.91 kB / 459.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.1563, allocations: 33.47 kB / 459.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.1576, allocations: 0.6417 MB / 460.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1579, allocations: 0.7446 MB / 461.2 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002057/0.1581, allocations: 34.28 kB / 461.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.365e-05/0.1583, allocations: 23.42 kB / 461.3 MB, free: 13.44 MB / 330.7 MB Notification: Performance of SimCode: time 2.104e-06/0.1583, allocations: 0 / 461.3 MB, free: 13.44 MB / 330.7 MB Notification: Performance of Templates: time 0.00658/0.1649, allocations: 1.812 MB / 463.1 MB, free: 11.63 MB / 330.7 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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe 2>&1)