Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07945/0.07945, allocations: 12.6 MB / 28.1 MB, free: 184 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001047, allocations: 107.5 kB / 31.7 MB, free: 3.492 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.1 MB / 240.3 MB, free: 12.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 196.4 kB / 290.6 MB, free: 11.01 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4095/0.4095, allocations: 78.5 MB / 419.2 MB, free: 10.84 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002838/0.002838, allocations: 143.7 kB / 499.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.258, allocations: 68.11 MB / 0.5547 GB, free: 21.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.006861/0.265, allocations: 8.779 MB / 0.5633 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004189/0.2692, allocations: 2.751 MB / 0.5659 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008322/0.27, allocations: 16 kB / 0.566 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007501/0.2708, allocations: 333.1 kB / 0.5663 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002683/0.2735, allocations: 1.235 MB / 0.5675 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.2749, allocations: 0.7913 MB / 0.5683 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001774/0.2767, allocations: 2.505 MB / 0.5707 GB, free: 4.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005397/0.2772, allocations: 478 kB / 0.5712 GB, free: 4.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.2783, allocations: 0.9533 MB / 0.5721 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009913/0.2793, allocations: 1.198 MB / 0.5733 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002981/0.2796, allocations: 200 kB / 0.5735 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007569/0.2803, allocations: 479.6 kB / 0.5739 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002923/0.2806, allocations: 498.1 kB / 0.5744 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005978/0.2812, allocations: 0.979 MB / 0.5753 GB, free: 56 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.2835, allocations: 2.523 MB / 0.5778 GB, free: 13.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2835, allocations: 0 / 0.5778 GB, free: 13.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2835, allocations: 0 / 0.5778 GB, free: 13.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.509e-05/0.2835, allocations: 4 kB / 0.5778 GB, free: 13.52 MB / 398.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.01407/0.2976, allocations: 4.015 MB / 0.5817 GB, free: 9.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2977, allocations: 11.98 kB / 0.5817 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001992/0.2979, allocations: 164.5 kB / 0.5819 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004512/0.3024, allocations: 0.7625 MB / 0.5826 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.3044, allocations: 1.211 MB / 0.5838 GB, free: 7.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004485/0.3049, allocations: 458.2 kB / 0.5843 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.3051, allocations: 116 kB / 0.5844 GB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/0.308, allocations: 1.499 MB / 0.5858 GB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.3081, allocations: 0 / 0.5858 GB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.3082, allocations: 47.97 kB / 0.5859 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.3082, allocations: 24 kB / 0.5859 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003029/0.3113, allocations: 1.394 MB / 0.5873 GB, free: 3.574 MB / 398.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.009159/0.3204, allocations: 5.351 MB / 0.5925 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008478/0.3289, allocations: 2.992 MB / 0.5954 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/0.3309, allocations: 0.944 MB / 0.5963 GB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005903/0.3315, allocations: 0.7297 MB / 0.597 GB, free: 9.012 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002141/0.3337, allocations: 1.094 MB / 0.5981 GB, free: 7.895 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 2.806e-06/0.3337, allocations: 0 / 0.5981 GB, free: 7.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=132): time 0.04195/0.3756, allocations: 9.923 MB / 0.6078 GB, free: 13.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.949e-05/0.3758, allocations: 124.1 kB / 0.6079 GB, free: 13.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/0.3784, allocations: 1.539 MB / 0.6094 GB, free: 12.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003034/0.3787, allocations: 57.7 kB / 0.6095 GB, free: 12.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000556/0.3793, allocations: 0.6397 MB / 0.6101 GB, free: 11.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006468/0.38, allocations: 489 kB / 0.6106 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008558/0.3808, allocations: 371.5 kB / 0.6109 GB, free: 10.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.381, allocations: 309.1 kB / 0.6112 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002445/0.3834, allocations: 1.035 MB / 0.6122 GB, free: 9.332 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/0.3859, allocations: 1.255 MB / 0.6135 GB, free: 8.016 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00462/0.3906, allocations: 2.2 MB / 0.6156 GB, free: 5.758 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.3906, allocations: 4 kB / 0.6156 GB, free: 5.754 MB / 430.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.009778/0.4004, allocations: 3.816 MB / 0.6193 GB, free: 1.922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.4004, allocations: 8 kB / 0.6193 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.4004, allocations: 4 kB / 0.6194 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009965/0.4104, allocations: 2.683 MB / 0.622 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.4122, allocations: 359.5 kB / 0.6223 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006552/0.4188, allocations: 2.692 MB / 0.6249 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/0.4213, allocations: 270.1 kB / 0.6252 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/0.4216, allocations: 71.98 kB / 0.6253 GB, free: 11.81 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.0007385/0.4223, allocations: 322.4 kB / 0.6256 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004447/0.4228, allocations: 169.8 kB / 0.6257 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01667/0.4394, allocations: 4.837 MB / 0.6305 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.4395, allocations: 16 kB / 0.6305 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/0.4395, allocations: 3.938 kB / 0.6305 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.594e-05/0.4396, allocations: 7.969 kB / 0.6305 GB, free: 6.438 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.01992/0.4595, allocations: 7.062 MB / 0.6374 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.4595, allocations: 0 / 0.6374 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009179/0.4605, allocations: 151.8 kB / 0.6375 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007663/0.4681, allocations: 2.149 MB / 0.6396 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/0.4684, allocations: 35.98 kB / 0.6397 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02656/0.4949, allocations: 10.07 MB / 0.6495 GB, free: 2.684 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.495, allocations: 0 / 0.6495 GB, free: 2.684 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0194/0.5144, allocations: 6.066 MB / 0.6554 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006405/0.5151, allocations: 286.5 kB / 0.6557 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004599/0.5156, allocations: 28 kB / 0.6557 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/0.5174, allocations: 135.8 kB / 0.6559 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008227/0.5183, allocations: 261.4 kB / 0.6561 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.5184, allocations: 35.98 kB / 0.6561 GB, free: 11.84 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001761/0.5202, allocations: 1.028 MB / 0.6571 GB, free: 10.81 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5202, allocations: 0 / 0.6571 GB, free: 10.81 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001777/0.522, allocations: 0.5737 MB / 0.6577 GB, free: 10.24 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.01983/0.5418, allocations: 6.68 MB / 0.6642 GB, free: 3.512 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0101/0.5519, allocations: 3.045 MB / 0.6672 GB, free: 476 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.552, allocations: 3.938 kB / 0.6672 GB, free: 472 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006415/0.5584, allocations: 1.974 MB / 0.6691 GB, free: 14.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.5599, allocations: 151.3 kB / 0.6693 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2507/0.8105, allocations: 23.21 MB / 0.6919 GB, free: 116.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000872/0.8115, allocations: 1.264 MB / 0.6932 GB, free: 115.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007347/0.8122, allocations: 160.7 kB / 0.6933 GB, free: 115.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007664/0.813, allocations: 0.6626 MB / 0.694 GB, free: 115.3 MB / 494.1 MB Notification: Performance of SimCode: time 7.31e-07/0.813, allocations: 3.281 kB / 0.694 GB, free: 115.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06341/0.8764, allocations: 45.66 MB / 0.7386 GB, free: 74.76 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.57, allocations: 16.05 kB / 0.7386 GB, free: 74.75 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1)