Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.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.SlidingPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.SlidingPressure") translateModel(AES.Coursework.ElecSys_generator_models.SlidingPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.SlidingPressure") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.07872/0.07872, allocations: 19.39 MB / 34.65 MB, free: 56 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.001101/0.001101, allocations: 176.6 kB / 40.28 MB, free: 6.52 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.378/1.378, allocations: 225.7 MB / 271.5 MB, free: 3.285 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.0007655/0.0007657, allocations: 79.83 kB / 327.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003084, allocations: 8 kB / 395.4 MB, free: 47.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09722/0.09755, allocations: 55.18 MB / 450.6 MB, free: 8.672 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.002916/0.1005, allocations: 1.966 MB / 452.5 MB, free: 6.691 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1017, allocations: 0.7406 MB / 453.3 MB, free: 5.945 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.1019, allocations: 11.94 kB / 453.3 MB, free: 5.934 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.1021, allocations: 35.66 kB / 453.3 MB, free: 5.898 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.1022, allocations: 39.64 kB / 453.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.1026, allocations: 159.8 kB / 453.5 MB, free: 5.703 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.1029, allocations: 299.7 kB / 453.8 MB, free: 5.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.1031, allocations: 124.2 kB / 453.9 MB, free: 5.293 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.688e-05/0.1032, allocations: 83.47 kB / 454 MB, free: 5.211 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1034, allocations: 91.31 kB / 454.1 MB, free: 5.121 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.1034, allocations: 7.938 kB / 454.1 MB, free: 5.113 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.399e-05/0.1034, allocations: 8 kB / 454.1 MB, free: 5.105 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.1035, allocations: 39.77 kB / 454.1 MB, free: 5.066 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1036, allocations: 132.9 kB / 454.3 MB, free: 4.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.1038, allocations: 262.9 kB / 454.5 MB, free: 4.672 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1038, allocations: 0 / 454.5 MB, free: 4.672 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1039, allocations: 0 / 454.5 MB, free: 4.672 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1039, allocations: 0 / 454.5 MB, free: 4.672 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000782/0.1046, allocations: 0.5533 MB / 455.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1047, allocations: 13.16 kB / 455.1 MB, free: 4.059 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.59e-05/0.1048, allocations: 32.56 kB / 455.1 MB, free: 4.027 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.1052, allocations: 311.3 kB / 455.4 MB, free: 3.684 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.1052, allocations: 16.81 kB / 455.5 MB, free: 3.668 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.1053, allocations: 24.38 kB / 455.5 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.1057, allocations: 265.3 kB / 455.7 MB, free: 3.359 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1057, allocations: 4 kB / 455.7 MB, free: 3.355 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.1058, allocations: 12 kB / 455.7 MB, free: 3.344 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1058, allocations: 11.88 kB / 455.8 MB, free: 3.332 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.1061, allocations: 161.6 kB / 455.9 MB, free: 3.172 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.1075, allocations: 1.045 MB / 457 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.1079, allocations: 206.8 kB / 457.2 MB, free: 1.852 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.1081, allocations: 84.83 kB / 457.2 MB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.1081, allocations: 4 kB / 457.3 MB, free: 1.762 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.1082, allocations: 34.56 kB / 457.3 MB, free: 1.719 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.1082, allocations: 0 / 457.3 MB, free: 1.719 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005646/0.1087, allocations: 269.1 kB / 457.5 MB, free: 1.449 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.1088, allocations: 85.11 kB / 457.6 MB, free: 1.348 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.1091, allocations: 268.6 kB / 457.9 MB, free: 1.066 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1091, allocations: 25.7 kB / 457.9 MB, free: 1.035 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.1092, allocations: 188 kB / 458.1 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.1093, allocations: 63.09 kB / 458.2 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.1093, allocations: 4 kB / 458.2 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1095, allocations: 342.8 kB / 458.5 MB, free: 448 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.1096, allocations: 67.97 kB / 458.6 MB, free: 380 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.1098, allocations: 126.1 kB / 458.7 MB, free: 236 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008858/0.1107, allocations: 344.7 kB / 459 MB, free: 15.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1107, allocations: 0 / 459 MB, free: 15.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004185/0.1112, allocations: 250.7 kB / 459.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.362e-05/0.1112, allocations: 133.4 kB / 459.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1112, allocations: 4 kB / 459.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1113, allocations: 0 / 459.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.1115, allocations: 43.92 kB / 459.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.1115, allocations: 7.984 kB / 459.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.1116, allocations: 35.67 kB / 459.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.1117, allocations: 8 kB / 459.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/0.1117, allocations: 4 kB / 459.5 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003054/0.112, allocations: 173.6 kB / 459.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-06/0.112, allocations: 0 / 459.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.112, allocations: 4 kB / 459.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1122, allocations: 43.86 kB / 459.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.1122, allocations: 0 / 459.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.1123, allocations: 24 kB / 459.7 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1123, allocations: 4 kB / 459.7 MB, free: 15.13 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: 6 * Number of states: 0 () * Number of discrete variables: 2 (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 (26): * Single equations (assignments): 26 * 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.0002608/0.1126, allocations: 225 kB / 460 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.1126, allocations: 31.56 kB / 460 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.716e-05/0.1127, allocations: 34.31 kB / 460 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1127, allocations: 4 kB / 460 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1127, allocations: 0 / 460 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.1127, allocations: 4 kB / 460 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.1132, allocations: 341.2 kB / 460.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1132, allocations: 0 / 460.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.1134, allocations: 43.86 kB / 460.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1134, allocations: 0 / 460.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.1134, allocations: 4 kB / 460.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1134, allocations: 0 / 460.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1135, allocations: 0 / 460.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005736/0.114, allocations: 395.5 kB / 460.8 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.1141, allocations: 120.8 kB / 460.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.1142, allocations: 4 kB / 460.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.1143, allocations: 16 kB / 460.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.1144, allocations: 11.98 kB / 461 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.1144, allocations: 7.984 kB / 461 MB, free: 13.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.1146, allocations: 191.1 kB / 461.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1146, allocations: 0 / 461.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000341/0.1149, allocations: 87.69 kB / 461.2 MB, free: 13.55 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (F.y,S.y,T.y,PIp.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 (17): * Single equations (assignments): 17 * 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.000104/0.115, allocations: 99.25 kB / 461.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005141/0.1156, allocations: 273.4 kB / 461.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1156, allocations: 4 kB / 461.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.1157, allocations: 84.53 kB / 461.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.1162, allocations: 64.59 kB / 461.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008945/0.1171, allocations: 0.6382 MB / 462.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.1174, allocations: 0.7677 MB / 463.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.1175, allocations: 30.36 kB / 463.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.708e-05/0.1176, allocations: 23.44 kB / 463.2 MB, free: 11.52 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1176, allocations: 0 / 463.2 MB, free: 11.52 MB / 330.7 MB Notification: Performance of Templates: time 0.005242/0.1229, allocations: 2.466 MB / 465.7 MB, free: 9.066 MB / 330.7 MB make -j1 -f AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.makefile (rm -f AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe ; mkfifo AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe >> ../files/AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.sim & ./AES_AES.Coursework.ElecSys_generator_models.SlidingPressure -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe 2>&1)