Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.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.IEEET1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1",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.07855/0.07855, 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.001008/0.001008, 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.26/1.26, 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.001262/0.001262, 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.4154/0.4154, allocations: 78.5 MB / 419.2 MB, free: 10.83 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.002701/0.002701, allocations: 132.8 kB / 499.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2367, allocations: 68.12 MB / 0.5547 GB, free: 21.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET1): time 0.0063/0.243, allocations: 8.578 MB / 0.5631 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004066/0.2471, allocations: 2.638 MB / 0.5656 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006462/0.2478, allocations: 16 kB / 0.5657 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005602/0.2484, allocations: 313.2 kB / 0.566 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.2506, allocations: 1.208 MB / 0.5671 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.2518, allocations: 0.7407 MB / 0.5679 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001745/0.2535, allocations: 2.334 MB / 0.5701 GB, free: 5.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004793/0.254, allocations: 473.5 kB / 0.5706 GB, free: 5.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006082/0.2547, allocations: 0.8949 MB / 0.5715 GB, free: 4.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007851/0.2555, allocations: 1.155 MB / 0.5726 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002178/0.2557, allocations: 188 kB / 0.5728 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005944/0.2563, allocations: 451.7 kB / 0.5732 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.2565, allocations: 478.2 kB / 0.5737 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005029/0.257, allocations: 0.9401 MB / 0.5746 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.2589, allocations: 2.398 MB / 0.5769 GB, free: 14.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.259, allocations: 0 / 0.5769 GB, free: 14.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.259, allocations: 0 / 0.5769 GB, free: 14.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.2e-05/0.259, allocations: 0 / 0.5769 GB, free: 14.54 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.01382/0.2728, allocations: 3.902 MB / 0.5807 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2729, allocations: 11.98 kB / 0.5807 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/0.2731, allocations: 164.3 kB / 0.5809 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004648/0.2777, allocations: 0.7548 MB / 0.5816 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.2795, allocations: 1.113 MB / 0.5827 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004276/0.2799, allocations: 425 kB / 0.5831 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.2802, allocations: 119.9 kB / 0.5832 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/0.283, allocations: 1.456 MB / 0.5847 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.283, allocations: 4 kB / 0.5847 GB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.2832, allocations: 40 kB / 0.5847 GB, free: 6.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.2832, allocations: 24 kB / 0.5847 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002905/0.2861, allocations: 1.343 MB / 0.586 GB, free: 4.988 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.00855/0.2947, allocations: 5.185 MB / 0.5911 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008419/0.3031, allocations: 2.916 MB / 0.594 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.3052, allocations: 0.9197 MB / 0.5949 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005929/0.3058, allocations: 0.7294 MB / 0.5956 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002236/0.3081, allocations: 1.066 MB / 0.5966 GB, free: 9.609 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 2.976e-06/0.3081, allocations: 0 / 0.5966 GB, free: 9.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.04496/0.353, allocations: 10.54 MB / 0.6069 GB, free: 15.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.3531, allocations: 120.1 kB / 0.607 GB, free: 14.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/0.3551, allocations: 1.406 MB / 0.6084 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002764/0.3554, allocations: 53.7 kB / 0.6084 GB, free: 13.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004722/0.3559, allocations: 0.6276 MB / 0.609 GB, free: 12.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004904/0.3564, allocations: 473.3 kB / 0.6095 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000649/0.357, allocations: 359.3 kB / 0.6098 GB, free: 11.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.3571, allocations: 309.1 kB / 0.6101 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.3594, allocations: 0.9878 MB / 0.6111 GB, free: 10.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002369/0.3617, allocations: 1.215 MB / 0.6123 GB, free: 9.391 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004389/0.3661, allocations: 2.126 MB / 0.6144 GB, free: 7.215 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.3662, allocations: 4 kB / 0.6144 GB, free: 7.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=252) (initialization): time 0.009631/0.3758, allocations: 3.718 MB / 0.618 GB, free: 3.477 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.3759, allocations: 8 kB / 0.618 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/0.3759, allocations: 11.81 kB / 0.618 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009993/0.3859, allocations: 2.683 MB / 0.6206 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.3875, allocations: 335.5 kB / 0.621 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006618/0.3942, allocations: 2.7 MB / 0.6236 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/0.3965, allocations: 250.2 kB / 0.6238 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.3967, allocations: 67.98 kB / 0.6239 GB, free: 13.4 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,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 193 * 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.0006047/0.3973, allocations: 302.5 kB / 0.6242 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.3976, allocations: 161.9 kB / 0.6243 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/0.4143, allocations: 4.863 MB / 0.6291 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.4143, allocations: 12 kB / 0.6291 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.4143, allocations: 4 kB / 0.6291 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.697e-05/0.4144, allocations: 7.969 kB / 0.6291 GB, free: 8.035 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.01929/0.4337, allocations: 6.9 MB / 0.6359 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.4337, allocations: 7.938 kB / 0.6359 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009918/0.4347, allocations: 147.8 kB / 0.636 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007874/0.4426, allocations: 2.142 MB / 0.6381 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002142/0.4429, allocations: 24 kB / 0.6381 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02654/0.4694, allocations: 10.08 MB / 0.648 GB, free: 4.453 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.4694, allocations: 4 kB / 0.648 GB, free: 4.449 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01907/0.4885, allocations: 5.951 MB / 0.6538 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005218/0.4891, allocations: 274.7 kB / 0.654 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/0.4895, allocations: 20 kB / 0.6541 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.4911, allocations: 131.9 kB / 0.6542 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008145/0.4919, allocations: 257.4 kB / 0.6544 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.4921, allocations: 35.98 kB / 0.6545 GB, free: 13.74 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001419/0.4935, allocations: 0.9399 MB / 0.6554 GB, free: 12.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4935, allocations: 0 / 0.6554 GB, free: 12.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001529/0.495, allocations: 0.5464 MB / 0.6559 GB, free: 12.26 MB / 478.1 MB 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,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.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 (86): * Single equations (assignments): 85 * 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.01956/0.5146, allocations: 6.575 MB / 0.6623 GB, free: 5.637 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01003/0.5247, allocations: 2.955 MB / 0.6652 GB, free: 2.676 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.5247, allocations: 0 / 0.6652 GB, free: 2.676 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006578/0.5313, allocations: 1.942 MB / 0.6671 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.5328, allocations: 143.2 kB / 0.6673 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2461/0.7789, allocations: 20.84 MB / 0.6876 GB, free: 118.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009174/0.7799, allocations: 1.239 MB / 0.6888 GB, free: 118.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000793/0.7807, allocations: 147.2 kB / 0.689 GB, free: 118 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007664/0.7814, allocations: 0.6228 MB / 0.6896 GB, free: 117.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7815, allocations: 0 / 0.6896 GB, free: 117.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06729/0.8487, allocations: 43.97 MB / 0.7325 GB, free: 81.17 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.61, allocations: 17.69 kB / 0.7325 GB, free: 81.16 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1_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_IEEET1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe 2>&1)