Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 117 kB / 16.42 MB, free: 6.027 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.001213/0.001213, allocations: 187.5 kB / 17.35 MB, free: 5.625 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08999/0.08999, allocations: 22.33 MB / 313.5 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.91 kB / 437.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09195/0.09335, allocations: 54.95 MB / 492.7 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.003531/0.09691, allocations: 2.382 MB / 495.1 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.09837, allocations: 0.7831 MB / 495.8 MB, free: 1.609 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.09857, allocations: 11.94 kB / 495.8 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.09877, allocations: 47.47 kB / 495.9 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.09893, allocations: 51.47 kB / 495.9 MB, free: 1.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.09941, allocations: 183.6 kB / 496.1 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.09977, allocations: 319.8 kB / 496.4 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.1, allocations: 132.2 kB / 496.6 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1001, allocations: 111.5 kB / 496.7 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.1003, allocations: 123.2 kB / 496.8 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.1003, allocations: 24 kB / 496.8 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.024e-05/0.1004, allocations: 28 kB / 496.8 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.1004, allocations: 59.77 kB / 496.9 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.1006, allocations: 135.1 kB / 497 MB, free: 416 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.1009, allocations: 318.5 kB / 497.3 MB, free: 96 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1009, allocations: 0 / 497.3 MB, free: 96 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1009, allocations: 0 / 497.3 MB, free: 96 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1009, allocations: 0 / 497.3 MB, free: 96 kB / 366.1 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.0008772/0.1018, allocations: 0.6036 MB / 497.9 MB, free: 15.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1019, allocations: 8.031 kB / 498 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.276e-05/0.1019, allocations: 40.69 kB / 498 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.1024, allocations: 323.6 kB / 498.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.1024, allocations: 16.81 kB / 498.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.1025, allocations: 24.38 kB / 498.4 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.1029, allocations: 261.3 kB / 498.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1029, allocations: 0 / 498.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.103, allocations: 15.98 kB / 498.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.103, allocations: 4 kB / 498.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.1034, allocations: 157.6 kB / 498.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.1048, allocations: 1.034 MB / 499.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.1052, allocations: 186.9 kB / 500 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.1054, allocations: 84.83 kB / 0.4884 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.1054, allocations: 3.938 kB / 0.4884 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1054, allocations: 34.56 kB / 0.4884 GB, free: 13.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 2.895e-06/0.1054, allocations: 0 / 0.4884 GB, free: 13.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005617/0.106, allocations: 249.2 kB / 0.4886 GB, free: 12.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.1061, allocations: 97.03 kB / 0.4887 GB, free: 12.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.1064, allocations: 272.6 kB / 0.489 GB, free: 12.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1064, allocations: 25.7 kB / 0.489 GB, free: 12.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.1065, allocations: 188.2 kB / 0.4892 GB, free: 12.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.1066, allocations: 63.48 kB / 0.4893 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.018e-05/0.1066, allocations: 41.7 kB / 0.4893 GB, free: 12.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1068, allocations: 338.8 kB / 0.4896 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.1069, allocations: 76.77 kB / 0.4897 GB, free: 11.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.1071, allocations: 110 kB / 0.4898 GB, free: 11.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008883/0.108, allocations: 343.6 kB / 0.4901 GB, free: 11.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1081, allocations: 0 / 0.4901 GB, free: 11.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004357/0.1085, allocations: 241.3 kB / 0.4903 GB, free: 11.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1085, allocations: 4 kB / 0.4904 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1085, allocations: 4 kB / 0.4904 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1086, allocations: 4.156 kB / 0.4904 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.1088, allocations: 51.91 kB / 0.4904 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.1088, allocations: 0 / 0.4904 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.1089, allocations: 31.88 kB / 0.4904 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.109, allocations: 4 kB / 0.4904 GB, free: 10.91 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: F.y:VARIABLE(flow=false start = F.y_start fixed = true ) "Connector of Real output signal" type: Real T.y:VARIABLE(flow=false start = T.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002328/0.1092, allocations: 158.8 kB / 0.4906 GB, free: 10.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00015/0.1094, allocations: 105.9 kB / 0.4907 GB, free: 10.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007078/0.1101, allocations: 308 kB / 0.491 GB, free: 10.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.312e-06/0.1101, allocations: 0 / 0.491 GB, free: 10.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0003463/0.1104, allocations: 228.3 kB / 0.4912 GB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.1105, allocations: 10.34 kB / 0.4912 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/0.1105, allocations: 0 / 0.4912 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-06/0.1105, allocations: 4 kB / 0.4912 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.1107, allocations: 39.92 kB / 0.4913 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1107, allocations: 7.984 kB / 0.4913 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.1108, allocations: 15.89 kB / 0.4913 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.1108, allocations: 8 kB / 0.4913 GB, free: 10 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: F.y:VARIABLE(flow=false start = F.y_start fixed = true ) "Connector of Real output signal" type: Real T.y:VARIABLE(flow=false start = T.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.0001258/0.1109, allocations: 209.6 kB / 0.4915 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.111, allocations: 27.81 kB / 0.4915 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.186e-05/0.1111, allocations: 34.31 kB / 0.4915 GB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1111, allocations: 3.984 kB / 0.4916 GB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1111, allocations: 0 / 0.4916 GB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.1112, allocations: 116.8 kB / 0.4917 GB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.1112, allocations: 8 kB / 0.4917 GB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.1114, allocations: 11.92 kB / 0.4917 GB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.1114, allocations: 15.97 kB / 0.4917 GB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005916/0.112, allocations: 284.8 kB / 0.492 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006063/0.1127, allocations: 464.3 kB / 0.4924 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001502/0.1128, allocations: 79.88 kB / 0.4925 GB, free: 8.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.113, allocations: 195.1 kB / 0.4927 GB, free: 8.543 MB / 382.1 MB Notification: Performance of Backend: time 5.41e-07/0.113, allocations: 0 / 0.4927 GB, free: 8.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000665/0.1137, allocations: 289.9 kB / 0.493 GB, free: 8.254 MB / 382.1 MB Notification: Performance of SimCode: time 0.001074/0.1148, allocations: 0.9905 MB / 0.4939 GB, free: 7.219 MB / 382.1 MB Notification: Performance of Templates: time 0.006985/0.1218, allocations: 3.706 MB / 0.4975 GB, free: 3.535 MB / 382.1 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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe 2>&1)