Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.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.ElecSys_generator_models.TurbineFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.TurbineFollows") translateModel(AES.Coursework.ElecSys_generator_models.TurbineFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.TurbineFollows") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.08017/0.08017, allocations: 19.39 MB / 34.65 MB, free: 204 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.001186/0.001186, allocations: 172.7 kB / 40.28 MB, free: 6.539 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.392/1.392, allocations: 225.7 MB / 271.5 MB, free: 3.273 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.0008256/0.0008258, allocations: 99.45 kB / 327.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003313, allocations: 12 kB / 395.4 MB, free: 47.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.1001, allocations: 55.17 MB / 450.6 MB, free: 8.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.003257/0.1034, allocations: 2.519 MB / 453.1 MB, free: 6.125 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.1049, allocations: 0.9665 MB / 454 MB, free: 5.152 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.1052, allocations: 11.94 kB / 454.1 MB, free: 5.141 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.1054, allocations: 67.38 kB / 454.1 MB, free: 5.074 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.1056, allocations: 71.38 kB / 454.2 MB, free: 5.004 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.1062, allocations: 291.6 kB / 454.5 MB, free: 4.719 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004705/0.1067, allocations: 0.5115 MB / 455 MB, free: 4.207 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.107, allocations: 231 kB / 455.2 MB, free: 3.977 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.1072, allocations: 135.1 kB / 455.3 MB, free: 3.844 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.1074, allocations: 162.8 kB / 455.5 MB, free: 3.684 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.1074, allocations: 12 kB / 455.5 MB, free: 3.672 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.478e-05/0.1075, allocations: 12 kB / 455.5 MB, free: 3.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.1075, allocations: 55.64 kB / 455.6 MB, free: 3.605 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.1077, allocations: 208.3 kB / 455.8 MB, free: 3.395 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003754/0.1081, allocations: 486 kB / 456.3 MB, free: 2.918 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1081, allocations: 3.938 kB / 456.3 MB, free: 2.914 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1081, allocations: 0 / 456.3 MB, free: 2.914 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1082, allocations: 0 / 456.3 MB, free: 2.914 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001001/0.1092, allocations: 0.7285 MB / 457 MB, free: 2.137 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1092, allocations: 9.156 kB / 457 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.995e-05/0.1093, allocations: 68.19 kB / 457.1 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.1098, allocations: 409.8 kB / 457.5 MB, free: 1.621 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.1098, allocations: 33.38 kB / 457.5 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/0.1099, allocations: 40.28 kB / 457.5 MB, free: 1.551 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006775/0.1105, allocations: 439.7 kB / 458 MB, free: 1.082 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1106, allocations: 0 / 458 MB, free: 1.082 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.1106, allocations: 16 kB / 458 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.1106, allocations: 8 kB / 458 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005503/0.1112, allocations: 298.4 kB / 458.3 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.113, allocations: 1.539 MB / 459.8 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000716/0.1137, allocations: 367.7 kB / 460.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.114, allocations: 141.5 kB / 460.3 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.114, allocations: 12.2 kB / 460.3 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1141, allocations: 38.8 kB / 460.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.213e-06/0.1141, allocations: 0 / 460.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008377/0.1149, allocations: 429.6 kB / 460.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.115, allocations: 106.8 kB / 460.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.1154, allocations: 405.9 kB / 461.3 MB, free: 13.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.1154, allocations: 29.7 kB / 461.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.1156, allocations: 264.2 kB / 461.6 MB, free: 13.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.856e-05/0.1157, allocations: 102.4 kB / 461.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.1157, allocations: 12 kB / 461.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1159, allocations: 354.8 kB / 462 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.1161, allocations: 116.3 kB / 462.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.1164, allocations: 197.1 kB / 462.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.1178, allocations: 0.5348 MB / 462.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1178, allocations: 0 / 462.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006617/0.1185, allocations: 408.6 kB / 463.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.543e-05/0.1186, allocations: 143.1 kB / 463.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1186, allocations: 0 / 463.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1186, allocations: 4 kB / 463.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.1189, allocations: 75.84 kB / 463.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.1189, allocations: 4 kB / 463.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.1191, allocations: 51.66 kB / 463.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.1192, allocations: 12 kB / 463.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.072e-06/0.1192, allocations: 4 kB / 463.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003907/0.1196, allocations: 264.8 kB / 463.8 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1196, allocations: 3.938 kB / 463.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.947e-06/0.1196, allocations: 4 kB / 463.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.1198, allocations: 60.12 kB / 463.9 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1199, allocations: 8 kB / 463.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.12, allocations: 27.75 kB / 463.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.12, allocations: 12 kB / 463.9 MB, free: 10.88 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: T.y:VARIABLE(flow=false start = T.y_start fixed = true ) "Connector of Real output signal" type: Real F.y:VARIABLE(flow=false start = F.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: 8 * Number of states: 0 () * Number of discrete variables: 3 (PIe.I.local_reset,PIp.I.local_reset,S.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.000284/0.1203, allocations: 253.7 kB / 464.2 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/0.1204, allocations: 47.38 kB / 464.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.313e-05/0.1205, allocations: 52.69 kB / 464.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1205, allocations: 8 kB / 464.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1205, allocations: 0 / 464.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1205, allocations: 0 / 464.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00048/0.121, allocations: 461.2 kB / 464.7 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.121, allocations: 3.938 kB / 464.7 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/0.1213, allocations: 55.97 kB / 464.8 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.1214, allocations: 7.938 kB / 464.8 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.1214, allocations: 8 kB / 464.8 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1214, allocations: 4 kB / 464.8 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1214, allocations: 4 kB / 464.8 MB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000855/0.1223, allocations: 0.5644 MB / 465.4 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.1224, allocations: 152.4 kB / 465.5 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.1225, allocations: 4 kB / 465.5 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.1227, allocations: 27.98 kB / 465.6 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.1227, allocations: 19.97 kB / 465.6 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1227, allocations: 4 kB / 465.6 MB, free: 9.129 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002767/0.123, allocations: 279.1 kB / 465.9 MB, free: 8.859 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.123, allocations: 3.938 kB / 465.9 MB, free: 8.855 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004209/0.1235, allocations: 139.5 kB / 466 MB, free: 8.719 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (F.y,S.y,T.y,PIp.I.y,PIe.I.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 (28): * Single equations (assignments): 28 * 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.0001161/0.1236, allocations: 107.2 kB / 466.1 MB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007684/0.1244, allocations: 436 kB / 466.5 MB, free: 8.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1244, allocations: 0 / 466.5 MB, free: 8.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.1246, allocations: 139.9 kB / 466.7 MB, free: 8.043 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005997/0.1252, allocations: 120.7 kB / 466.8 MB, free: 7.926 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.1266, allocations: 1.021 MB / 467.8 MB, free: 6.879 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.127, allocations: 0.8312 MB / 468.6 MB, free: 6.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002208/0.1272, allocations: 51.38 kB / 468.7 MB, free: 5.969 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.385e-05/0.1273, allocations: 31.44 kB / 468.7 MB, free: 5.938 MB / 330.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1273, allocations: 0 / 468.7 MB, free: 5.938 MB / 330.7 MB Notification: Performance of Templates: time 0.008218/0.1356, allocations: 4.184 MB / 472.9 MB, free: 1.789 MB / 330.7 MB make -j1 -f AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.makefile (rm -f AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe ; mkfifo AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe >> ../files/AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.sim & ./AES_AES.Coursework.ElecSys_generator_models.TurbineFollows -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe 2>&1)