Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.URST5T,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_URST5T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.URST5T,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_URST5T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.2 MB / 218.5 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008182/0.0008183, allocations: 83.48 kB / 266.6 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07139/0.07139, allocations: 12.2 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2717/0.2717, allocations: 78.03 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.294e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 69.25 MB / 0.5889 GB, free: 2.926 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4183/0.5354, allocations: 112.4 MB / 0.6987 GB, free: 4.012 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.5358, allocations: 91.17 kB / 0.6988 GB, free: 3.961 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.113/0.6488, allocations: 44.5 MB / 0.7423 GB, free: 14.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6488, allocations: 0 / 0.7423 GB, free: 14.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.633e-05/0.6489, allocations: 32 kB / 0.7423 GB, free: 14.53 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.005434/0.6544, allocations: 2.208 MB / 0.7445 GB, free: 12.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.6544, allocations: 15.98 kB / 0.7445 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002284/0.6546, allocations: 175.4 kB / 0.7446 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002886/0.6575, allocations: 0.5773 MB / 0.7452 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.6593, allocations: 1.105 MB / 0.7463 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003989/0.6597, allocations: 448.4 kB / 0.7467 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.66, allocations: 111.8 kB / 0.7468 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.6622, allocations: 1.421 MB / 0.7482 GB, free: 9.371 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.6622, allocations: 0 / 0.7482 GB, free: 9.371 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.6624, allocations: 46.94 kB / 0.7482 GB, free: 9.359 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.6624, allocations: 28 kB / 0.7483 GB, free: 9.332 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.6644, allocations: 1.237 MB / 0.7495 GB, free: 8.559 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008866/0.6733, allocations: 5.716 MB / 0.7551 GB, free: 4.039 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00754/0.6808, allocations: 3.201 MB / 0.7582 GB, free: 1.125 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.6821, allocations: 0.7719 MB / 0.7589 GB, free: 356 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.6823, allocations: 37.38 kB / 0.759 GB, free: 320 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/0.6837, allocations: 0.9346 MB / 0.7599 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=139): time 3.286e-06/0.6837, allocations: 0 / 0.7599 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=139): time 0.01539/0.6991, allocations: 5.098 MB / 0.7649 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.6993, allocations: 193.2 kB / 0.765 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/0.7013, allocations: 1.234 MB / 0.7663 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003508/0.7017, allocations: 49.7 kB / 0.7663 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005331/0.7022, allocations: 0.7068 MB / 0.767 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005066/0.7028, allocations: 0.493 MB / 0.7675 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.66e-05/0.7029, allocations: 28 kB / 0.7675 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.703, allocations: 357.9 kB / 0.7678 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.7041, allocations: 0.625 MB / 0.7685 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.7053, allocations: 0.8477 MB / 0.7693 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.7064, allocations: 0.6999 MB / 0.77 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.7064, allocations: 0 / 0.77 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.004332/0.7108, allocations: 2.38 MB / 0.7723 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005961/0.7114, allocations: 1.721 MB / 0.774 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.7114, allocations: 4 kB / 0.774 GB, free: 0.6133 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009901/0.7213, allocations: 3.231 MB / 0.7771 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007879/0.7222, allocations: 151.8 kB / 0.7773 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006162/0.7283, allocations: 3.02 MB / 0.7802 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.7308, allocations: 278.6 kB / 0.7805 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.7309, allocations: 55.98 kB / 0.7805 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.731, allocations: 4 kB / 0.7805 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00386/0.7348, allocations: 2.17 MB / 0.7827 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.7349, allocations: 4 kB / 0.7827 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009567/0.7444, allocations: 3.183 MB / 0.7858 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007407/0.7452, allocations: 151.8 kB / 0.7859 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005506/0.7507, allocations: 2.845 MB / 0.7887 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/0.753, allocations: 246.7 kB / 0.7889 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/0.7532, allocations: 51.98 kB / 0.789 GB, free: 1.172 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,uRST5T.LL2.integrator.local_reset,uRST5T.LL1.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {36 62} Notification: Performance of prepare postOptimizeDAE: time 0.0004021/0.7536, allocations: 173.5 kB / 0.7891 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/0.754, allocations: 177.8 kB / 0.7893 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01514/0.7692, allocations: 5.185 MB / 0.7944 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/0.7693, allocations: 12 kB / 0.7944 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.7693, allocations: 4 kB / 0.7944 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.355e-05/0.7693, allocations: 7.969 kB / 0.7944 GB, free: 11.58 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01862/0.788, allocations: 7.455 MB / 0.8017 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/0.788, allocations: 3.953 kB / 0.8017 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.7892, allocations: 183.8 kB / 0.8019 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006492/0.7957, allocations: 2.005 MB / 0.8038 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003584/0.7961, allocations: 31.98 kB / 0.8039 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01772/0.8138, allocations: 7.86 MB / 0.8115 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.8139, allocations: 4 kB / 0.8115 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01753/0.8314, allocations: 6.209 MB / 0.8176 GB, free: 3.504 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008949/0.8324, allocations: 286.6 kB / 0.8179 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/0.8327, allocations: 24 kB / 0.8179 GB, free: 3.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/0.8344, allocations: 199.8 kB / 0.8181 GB, free: 2.984 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008454/0.8353, allocations: 265.2 kB / 0.8183 GB, free: 2.723 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.8354, allocations: 39.98 kB / 0.8184 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001465/0.8369, allocations: 0.9492 MB / 0.8193 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8369, allocations: 0 / 0.8193 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002289/0.8392, allocations: 0.8307 MB / 0.8201 GB, free: 0.9062 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,uRST5T.LL1.integrator.y,uRST5T.LL2.integrator.y,uRST5T.simpleLagLimVar.state,uRST5T.TransducerDelay.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01791/0.8571, allocations: 6.99 MB / 0.8269 GB, free: 9.867 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01378/0.8709, allocations: 4.477 MB / 0.8313 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.871, allocations: 3.938 kB / 0.8313 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005903/0.8769, allocations: 1.932 MB / 0.8332 GB, free: 3.434 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.8784, allocations: 145.6 kB / 0.8333 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005999/0.8844, allocations: 2.935 MB / 0.8362 GB, free: 308 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008063/0.8853, allocations: 1.321 MB / 0.8375 GB, free: 14.95 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001145/0.8864, allocations: 246.7 kB / 0.8377 GB, free: 14.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008061/0.8872, allocations: 0.6516 MB / 0.8384 GB, free: 14.05 MB / 0.573 GB Notification: Performance of SimCode: time 1.824e-06/0.8872, allocations: 0 / 0.8384 GB, free: 14.05 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3667/1.254, allocations: 50.93 MB / 0.8881 GB, free: 183.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/1.254, allocations: 176.9 kB / 0.8883 GB, free: 183.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.706/4.96, allocations: 3.719 kB / 0.8883 GB, free: 183.5 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_URST5T_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_URST5T.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.pipe 2>&1)