Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.31/1.31, allocations: 222.9 MB / 238.9 MB, free: 4.773 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 192.5 kB / 289.1 MB, free: 2.508 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5731/0.5731, allocations: 91.9 MB / 431.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002403/0.002403, allocations: 75.89 kB / 0.5013 GB, free: 8.078 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.359, allocations: 71.26 MB / 0.5709 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.006914/0.366, allocations: 9.077 MB / 0.5798 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004158/0.3702, allocations: 2.826 MB / 0.5825 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005996/0.3708, allocations: 14.28 kB / 0.5826 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007268/0.3715, allocations: 266.2 kB / 0.5828 GB, free: 28.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.3732, allocations: 0.915 MB / 0.5837 GB, free: 28.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.3746, allocations: 0.8005 MB / 0.5845 GB, free: 27.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.3761, allocations: 2.238 MB / 0.5867 GB, free: 26.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004901/0.3766, allocations: 445.1 kB / 0.5871 GB, free: 26.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007476/0.3773, allocations: 0.8294 MB / 0.5879 GB, free: 26.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009462/0.3783, allocations: 1.111 MB / 0.589 GB, free: 25.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002439/0.3786, allocations: 111.2 kB / 0.5891 GB, free: 25.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006708/0.3792, allocations: 388.5 kB / 0.5895 GB, free: 25.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003148/0.3796, allocations: 413.1 kB / 0.5899 GB, free: 25.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006459/0.3802, allocations: 0.8945 MB / 0.5907 GB, free: 24.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.3819, allocations: 2.423 MB / 0.5931 GB, free: 23.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3819, allocations: 0 / 0.5931 GB, free: 23.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.382, allocations: 0 / 0.5931 GB, free: 23.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.382, allocations: 0 / 0.5931 GB, free: 23.7 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.01243/0.3944, allocations: 3.727 MB / 0.5967 GB, free: 22.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3945, allocations: 11.7 kB / 0.5967 GB, free: 22.13 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001924/0.3947, allocations: 163.3 kB / 0.5969 GB, free: 22.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004546/0.3992, allocations: 0.768 MB / 0.5977 GB, free: 21.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.4011, allocations: 1.205 MB / 0.5988 GB, free: 21.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003852/0.4015, allocations: 461.6 kB / 0.5993 GB, free: 20.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/0.4017, allocations: 117.1 kB / 0.5994 GB, free: 20.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/0.4046, allocations: 1.498 MB / 0.6008 GB, free: 19.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.4046, allocations: 0 / 0.6008 GB, free: 19.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.4048, allocations: 41.31 kB / 0.6009 GB, free: 19.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.4048, allocations: 25.7 kB / 0.6009 GB, free: 19.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003066/0.4079, allocations: 1.395 MB / 0.6023 GB, free: 19.48 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.008826/0.4167, allocations: 5.349 MB / 0.6075 GB, free: 16.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008058/0.4248, allocations: 2.991 MB / 0.6104 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.4265, allocations: 0.9458 MB / 0.6113 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004111/0.4269, allocations: 0.728 MB / 0.6121 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00213/0.4291, allocations: 1.093 MB / 0.6131 GB, free: 13.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 3.126e-06/0.4291, allocations: 0 / 0.6131 GB, free: 13.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=132): time 0.04066/0.4697, allocations: 9.925 MB / 0.6228 GB, free: 8.934 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.4698, allocations: 124.1 kB / 0.6229 GB, free: 8.789 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.472, allocations: 1.542 MB / 0.6244 GB, free: 7.238 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001964/0.4722, allocations: 53.7 kB / 0.6245 GB, free: 7.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/0.4726, allocations: 0.6436 MB / 0.6251 GB, free: 6.531 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003794/0.473, allocations: 485.1 kB / 0.6256 GB, free: 6.051 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005896/0.4736, allocations: 379.4 kB / 0.6259 GB, free: 5.672 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.833e-05/0.4736, allocations: 309.1 kB / 0.6262 GB, free: 5.367 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/0.4756, allocations: 1.031 MB / 0.6272 GB, free: 4.332 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.4776, allocations: 1.255 MB / 0.6285 GB, free: 3.012 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003699/0.4813, allocations: 2.204 MB / 0.6306 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.4813, allocations: 4 kB / 0.6306 GB, free: 0.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.009042/0.4904, allocations: 3.816 MB / 0.6343 GB, free: 12.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.4904, allocations: 8 kB / 0.6344 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.4904, allocations: 11.94 kB / 0.6344 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009463/0.4999, allocations: 2.683 MB / 0.637 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.5015, allocations: 351.5 kB / 0.6373 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00607/0.5075, allocations: 2.695 MB / 0.64 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/0.5099, allocations: 274 kB / 0.6402 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.5101, allocations: 67.98 kB / 0.6403 GB, free: 6.812 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,iEEEX1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006975/0.5108, allocations: 317.5 kB / 0.6406 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000418/0.5112, allocations: 173.8 kB / 0.6407 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01596/0.5272, allocations: 4.837 MB / 0.6455 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.5272, allocations: 19.98 kB / 0.6455 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.5272, allocations: 3.938 kB / 0.6455 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.5272, allocations: 3.984 kB / 0.6455 GB, free: 1.43 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01871/0.5459, allocations: 7.051 MB / 0.6524 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.546, allocations: 0 / 0.6524 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009033/0.5469, allocations: 151.8 kB / 0.6525 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007332/0.5542, allocations: 2.146 MB / 0.6546 GB, free: 7.949 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/0.5544, allocations: 35.98 kB / 0.6547 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02385/0.5783, allocations: 9.175 MB / 0.6636 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5783, allocations: 3.938 kB / 0.6636 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/0.5967, allocations: 6.068 MB / 0.6695 GB, free: 8.492 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006957/0.5974, allocations: 286.6 kB / 0.6698 GB, free: 8.191 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004977/0.5979, allocations: 31.94 kB / 0.6699 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001929/0.5998, allocations: 139.8 kB / 0.67 GB, free: 8.023 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008071/0.6006, allocations: 253.3 kB / 0.6702 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.6008, allocations: 35.98 kB / 0.6703 GB, free: 7.742 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001958/0.6028, allocations: 1.032 MB / 0.6713 GB, free: 6.715 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6028, allocations: 0 / 0.6713 GB, free: 6.715 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001988/0.6048, allocations: 0.562 MB / 0.6718 GB, free: 6.152 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEEX1.LL.TF.x_scaled[1],iEEEX1.imDerivativeLag.x,iEEEX1.SL.state,iEEEX1.rotatingExciter.sISO.y,iEEEX1.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01893/0.6237, allocations: 6.689 MB / 0.6784 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009012/0.6327, allocations: 2.964 MB / 0.6812 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.6328, allocations: 0 / 0.6812 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006063/0.6388, allocations: 1.925 MB / 0.6831 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.6406, allocations: 155.7 kB / 0.6833 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05867/0.6993, allocations: 23.74 MB / 0.7065 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009258/0.7003, allocations: 1.27 MB / 0.7077 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007346/0.701, allocations: 166.8 kB / 0.7079 GB, free: 20 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/0.7021, allocations: 0.6555 MB / 0.7085 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of SimCode: time 6.21e-07/0.7021, allocations: 0 / 0.7085 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0733/0.7754, allocations: 42.45 MB / 0.75 GB, free: 5.07 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/0.7756, allocations: 210.1 kB / 0.7502 GB, free: 4.816 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.026/3.801, allocations: 0 / 0.7502 GB, free: 4.816 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1)