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.001511/0.001511, allocations: 108 kB / 15.61 MB, free: 148 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.358/1.358, allocations: 222.9 MB / 239.3 MB, free: 4.59 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.001557/0.001557, allocations: 191.6 kB / 289.6 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5157/0.5157, allocations: 91.9 MB / 431.6 MB, free: 9.254 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 79.89 kB / 0.502 GB, free: 7.617 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3386, allocations: 71.26 MB / 0.5716 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.007517/0.3462, allocations: 8.744 MB / 0.5801 GB, free: 31.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00534/0.3516, allocations: 2.778 MB / 0.5828 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.3531, allocations: 13.78 kB / 0.5828 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.3541, allocations: 341 kB / 0.5832 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003122/0.3573, allocations: 1.032 MB / 0.5842 GB, free: 28.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.3593, allocations: 0.8922 MB / 0.5851 GB, free: 28.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002903/0.3622, allocations: 2.353 MB / 0.5873 GB, free: 27.03 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007485/0.363, allocations: 481 kB / 0.5878 GB, free: 26.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.3645, allocations: 0.9316 MB / 0.5887 GB, free: 26.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.3659, allocations: 1.187 MB / 0.5899 GB, free: 25.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003799/0.3663, allocations: 200.9 kB / 0.5901 GB, free: 25.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009412/0.3673, allocations: 481.6 kB / 0.5905 GB, free: 25.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003291/0.3676, allocations: 496.9 kB / 0.591 GB, free: 25.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007804/0.3684, allocations: 0.9743 MB / 0.592 GB, free: 24.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.3711, allocations: 2.507 MB / 0.5944 GB, free: 23.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3711, allocations: 0 / 0.5944 GB, free: 23.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3712, allocations: 0 / 0.5944 GB, free: 23.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.411e-05/0.3712, allocations: 0 / 0.5944 GB, free: 23.57 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.0136/0.3848, allocations: 3.727 MB / 0.598 GB, free: 22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.3849, allocations: 10.25 kB / 0.5981 GB, free: 22 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002401/0.3851, allocations: 164.3 kB / 0.5982 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004949/0.3901, allocations: 0.7693 MB / 0.599 GB, free: 21.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.3923, allocations: 1.203 MB / 0.6001 GB, free: 20.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004058/0.3927, allocations: 461.7 kB / 0.6006 GB, free: 20.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/0.3929, allocations: 117.3 kB / 0.6007 GB, free: 20.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00314/0.3961, allocations: 1.49 MB / 0.6021 GB, free: 19.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.3961, allocations: 4.641 kB / 0.6021 GB, free: 19.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.3962, allocations: 45.47 kB / 0.6022 GB, free: 19.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.3963, allocations: 24.03 kB / 0.6022 GB, free: 19.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003263/0.3995, allocations: 1.395 MB / 0.6036 GB, free: 19.35 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.01032/0.4099, allocations: 5.347 MB / 0.6088 GB, free: 16.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008692/0.4186, allocations: 2.997 MB / 0.6117 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002229/0.4209, allocations: 0.9354 MB / 0.6126 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004977/0.4214, allocations: 0.7314 MB / 0.6133 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002349/0.4238, allocations: 1.093 MB / 0.6144 GB, free: 13.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 3.436e-06/0.4238, allocations: 0 / 0.6144 GB, free: 13.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=132): time 0.0411/0.4649, allocations: 9.928 MB / 0.6241 GB, free: 8.062 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.465, allocations: 120.1 kB / 0.6242 GB, free: 7.922 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/0.4674, allocations: 1.542 MB / 0.6257 GB, free: 6.371 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005501/0.4679, allocations: 49.7 kB / 0.6258 GB, free: 6.316 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004312/0.4684, allocations: 0.6476 MB / 0.6264 GB, free: 5.664 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005555/0.4689, allocations: 493.1 kB / 0.6269 GB, free: 5.176 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006846/0.4696, allocations: 379.4 kB / 0.6272 GB, free: 4.797 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.4697, allocations: 305.1 kB / 0.6275 GB, free: 4.496 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.4717, allocations: 1.031 MB / 0.6285 GB, free: 3.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.4738, allocations: 1.251 MB / 0.6298 GB, free: 2.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004008/0.4778, allocations: 2.204 MB / 0.6319 GB, free: 15.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.4779, allocations: 0 / 0.6319 GB, free: 15.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.009859/0.4877, allocations: 3.82 MB / 0.6356 GB, free: 12.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.4878, allocations: 4 kB / 0.6356 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/0.4878, allocations: 8 kB / 0.6357 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009685/0.4975, allocations: 2.687 MB / 0.6383 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/0.4995, allocations: 363.5 kB / 0.6386 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006646/0.5061, allocations: 2.687 MB / 0.6413 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003252/0.5094, allocations: 270 kB / 0.6415 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004995/0.51, allocations: 75.92 kB / 0.6416 GB, free: 5.934 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.0009153/0.5109, allocations: 321.5 kB / 0.6419 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005524/0.5115, allocations: 169.8 kB / 0.6421 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01637/0.5278, allocations: 4.833 MB / 0.6468 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.39e-05/0.5279, allocations: 12 kB / 0.6468 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/0.5279, allocations: 15.86 kB / 0.6468 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.604e-05/0.528, allocations: 3.984 kB / 0.6468 GB, free: 0.5547 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.02049/0.5485, allocations: 7.043 MB / 0.6537 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.5485, allocations: 0 / 0.6537 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.5497, allocations: 159.7 kB / 0.6538 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007678/0.5574, allocations: 2.15 MB / 0.6559 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003351/0.5578, allocations: 27.98 kB / 0.656 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02695/0.5847, allocations: 10.08 MB / 0.6658 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.5848, allocations: 0 / 0.6658 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02081/0.6056, allocations: 6.068 MB / 0.6717 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009202/0.6066, allocations: 290.5 kB / 0.672 GB, free: 6.402 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008536/0.6074, allocations: 27.98 kB / 0.672 GB, free: 6.375 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/0.6098, allocations: 139.8 kB / 0.6722 GB, free: 6.238 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00116/0.611, allocations: 257.4 kB / 0.6724 GB, free: 5.988 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002881/0.6113, allocations: 43.98 kB / 0.6724 GB, free: 5.945 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002386/0.6137, allocations: 1.024 MB / 0.6734 GB, free: 4.926 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6137, allocations: 0 / 0.6734 GB, free: 4.926 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002803/0.6166, allocations: 0.5659 MB / 0.674 GB, free: 4.359 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.02163/0.6382, allocations: 6.686 MB / 0.6805 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0111/0.6494, allocations: 3.045 MB / 0.6835 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.6494, allocations: 192 / 0.6835 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006947/0.6564, allocations: 1.973 MB / 0.6854 GB, free: 8.602 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/0.6588, allocations: 159.8 kB / 0.6856 GB, free: 8.445 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05808/0.7169, allocations: 23.21 MB / 0.7083 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.7181, allocations: 1.266 MB / 0.7095 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009099/0.719, allocations: 162.8 kB / 0.7096 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009115/0.7199, allocations: 0.6633 MB / 0.7103 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of SimCode: time 1.192e-06/0.7199, allocations: 0 / 0.7103 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08686/0.8068, allocations: 45.67 MB / 0.7549 GB, free: 456 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.04, allocations: 10.73 kB / 0.7549 GB, free: 448 kB / 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1)