Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_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.001688/0.001688, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 239.2 MB, free: 4.594 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.001624/0.001624, allocations: 196.5 kB / 289.6 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5011/0.5011, allocations: 78.53 MB / 418.2 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 83.89 kB / 497.6 MB, free: 6.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1554, allocations: 68.18 MB / 0.5525 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.3097/0.4652, allocations: 8.713 MB / 0.561 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006885/0.4721, allocations: 2.775 MB / 0.5637 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.4744, allocations: 14.12 kB / 0.5637 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.4757, allocations: 335.3 kB / 0.564 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004027/0.4798, allocations: 1.239 MB / 0.5652 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.4819, allocations: 0.7932 MB / 0.566 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003655/0.4856, allocations: 2.509 MB / 0.5685 GB, free: 33.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000804/0.4864, allocations: 480.2 kB / 0.5689 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.4879, allocations: 0.9422 MB / 0.5698 GB, free: 32.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.4893, allocations: 1.205 MB / 0.571 GB, free: 32.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003017/0.4896, allocations: 202.1 kB / 0.5712 GB, free: 32.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009801/0.4906, allocations: 474.5 kB / 0.5717 GB, free: 32.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003931/0.491, allocations: 0.4929 MB / 0.5721 GB, free: 32.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008293/0.4918, allocations: 0.9826 MB / 0.5731 GB, free: 32.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002733/0.4945, allocations: 2.511 MB / 0.5756 GB, free: 31.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4946, allocations: 0 / 0.5756 GB, free: 31.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4946, allocations: 0 / 0.5756 GB, free: 31.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.353e-05/0.4946, allocations: 0 / 0.5756 GB, free: 31.53 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.01477/0.5094, allocations: 4.031 MB / 0.5795 GB, free: 29.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.5095, allocations: 8.219 kB / 0.5795 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002248/0.5097, allocations: 170.5 kB / 0.5797 GB, free: 29.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004588/0.5143, allocations: 0.7601 MB / 0.5804 GB, free: 29.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002161/0.5165, allocations: 1.205 MB / 0.5816 GB, free: 28.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003924/0.5169, allocations: 456.4 kB / 0.582 GB, free: 28.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/0.5171, allocations: 128.1 kB / 0.5821 GB, free: 28.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/0.5201, allocations: 1.493 MB / 0.5836 GB, free: 27.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.5201, allocations: 0 / 0.5836 GB, free: 27.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.5202, allocations: 40.75 kB / 0.5836 GB, free: 27.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.5203, allocations: 26.06 kB / 0.5837 GB, free: 27.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003203/0.5235, allocations: 1.397 MB / 0.585 GB, free: 27.33 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.009724/0.5332, allocations: 5.349 MB / 0.5903 GB, free: 24.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008939/0.5422, allocations: 2.994 MB / 0.5932 GB, free: 23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002601/0.5448, allocations: 0.9402 MB / 0.5941 GB, free: 22.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000585/0.5455, allocations: 0.7309 MB / 0.5948 GB, free: 21.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002651/0.5481, allocations: 1.093 MB / 0.5959 GB, free: 21.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 4.348e-06/0.5481, allocations: 0.5625 kB / 0.5959 GB, free: 21.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=132): time 0.04584/0.594, allocations: 9.917 MB / 0.6056 GB, free: 19.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/0.5941, allocations: 121.2 kB / 0.6057 GB, free: 19.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003065/0.5972, allocations: 1.535 MB / 0.6072 GB, free: 18.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004739/0.5977, allocations: 56.39 kB / 0.6072 GB, free: 18.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.5981, allocations: 0.6508 MB / 0.6079 GB, free: 17.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005009/0.5986, allocations: 485.6 kB / 0.6083 GB, free: 17.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006613/0.5993, allocations: 378.9 kB / 0.6087 GB, free: 17.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.724e-05/0.5993, allocations: 305.1 kB / 0.609 GB, free: 16.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/0.6016, allocations: 1.033 MB / 0.61 GB, free: 16.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002344/0.6039, allocations: 1.255 MB / 0.6112 GB, free: 15.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004588/0.6085, allocations: 2.203 MB / 0.6134 GB, free: 14.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.6086, allocations: 1.562 kB / 0.6134 GB, free: 14.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.009398/0.618, allocations: 3.822 MB / 0.6171 GB, free: 12.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.618, allocations: 8 kB / 0.6171 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/0.6181, allocations: 4 kB / 0.6171 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008723/0.6268, allocations: 2.685 MB / 0.6197 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.6286, allocations: 359.5 kB / 0.6201 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006008/0.6346, allocations: 2.691 MB / 0.6227 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/0.6377, allocations: 278 kB / 0.623 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.6379, allocations: 68.55 kB / 0.623 GB, free: 6.152 MB / 430.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.0007616/0.6387, allocations: 319.2 kB / 0.6233 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003528/0.639, allocations: 169.8 kB / 0.6235 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0147/0.6538, allocations: 4.838 MB / 0.6282 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/0.6538, allocations: 16.98 kB / 0.6282 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.6538, allocations: 3.938 kB / 0.6282 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.424e-05/0.6539, allocations: 7.969 kB / 0.6283 GB, free: 0.7773 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 postOpt removeSimpleEquations (simulation): time 0.01941/0.6733, allocations: 7.055 MB / 0.6351 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/0.6734, allocations: 0 / 0.6351 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.6744, allocations: 156.7 kB / 0.6353 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007584/0.682, allocations: 2.143 MB / 0.6374 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003543/0.6824, allocations: 36.88 kB / 0.6374 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02731/0.7097, allocations: 10.06 MB / 0.6472 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.7098, allocations: 0 / 0.6472 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02068/0.7305, allocations: 6.064 MB / 0.6532 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008716/0.7314, allocations: 291.6 kB / 0.6534 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007854/0.7322, allocations: 28.98 kB / 0.6535 GB, free: 6.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002243/0.7345, allocations: 135.8 kB / 0.6536 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/0.7356, allocations: 257.4 kB / 0.6538 GB, free: 6.223 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000256/0.7358, allocations: 41.95 kB / 0.6539 GB, free: 6.184 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002205/0.7381, allocations: 1.02 MB / 0.6549 GB, free: 5.168 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.7381, allocations: 4 kB / 0.6549 GB, free: 5.164 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002672/0.7408, allocations: 0.5776 MB / 0.6555 GB, free: 4.586 MB / 462.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.02123/0.762, allocations: 6.68 MB / 0.662 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01079/0.7728, allocations: 3.046 MB / 0.665 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.7729, allocations: 0 / 0.665 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006825/0.7797, allocations: 1.968 MB / 0.6669 GB, free: 8.836 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.7822, allocations: 156.7 kB / 0.667 GB, free: 8.688 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0607/0.8429, allocations: 23.22 MB / 0.6897 GB, free: 416 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.8441, allocations: 1.263 MB / 0.6909 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001096/0.8452, allocations: 160 kB / 0.6911 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/0.8465, allocations: 0.6633 MB / 0.6917 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.8465, allocations: 0 / 0.6917 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/0.9486, allocations: 45.65 MB / 0.7363 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.36, allocations: 8.594 kB / 0.7363 GB, free: 0.9141 MB / 0.5294 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1)