Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.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.EXAC1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",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.106/0.106, allocations: 12.6 MB / 28.1 MB, free: 164 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.001052/0.001052, allocations: 107.5 kB / 31.7 MB, free: 3.488 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.264/1.264, allocations: 205.1 MB / 240.3 MB, free: 12.45 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.001218/0.001218, allocations: 196.5 kB / 290.6 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4247/0.4247, allocations: 78.51 MB / 419.2 MB, free: 11.35 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.002713/0.002713, allocations: 131.8 kB / 499.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.259, allocations: 68.11 MB / 0.5547 GB, free: 32.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1): time 0.007854/0.2669, allocations: 8.99 MB / 0.5635 GB, free: 25.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005207/0.2721, allocations: 2.846 MB / 0.5662 GB, free: 23.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.2733, allocations: 15.22 kB / 0.5663 GB, free: 23.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008667/0.2742, allocations: 353.6 kB / 0.5666 GB, free: 23.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.2773, allocations: 1.241 MB / 0.5678 GB, free: 22.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.2791, allocations: 0.871 MB / 0.5687 GB, free: 21.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002957/0.2821, allocations: 2.626 MB / 0.5712 GB, free: 20 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007311/0.2828, allocations: 0.521 MB / 0.5717 GB, free: 19.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.2842, allocations: 1.003 MB / 0.5727 GB, free: 19.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.2856, allocations: 1.243 MB / 0.5739 GB, free: 18.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004564/0.2861, allocations: 213.9 kB / 0.5741 GB, free: 18.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.2871, allocations: 492.8 kB / 0.5746 GB, free: 18.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003682/0.2875, allocations: 0.5203 MB / 0.5751 GB, free: 17.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009742/0.2885, allocations: 1.016 MB / 0.5761 GB, free: 16.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002428/0.2909, allocations: 2.658 MB / 0.5787 GB, free: 14.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2909, allocations: 0 / 0.5787 GB, free: 14.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2909, allocations: 0 / 0.5787 GB, free: 14.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.734e-05/0.291, allocations: 1.125 kB / 0.5787 GB, free: 14.74 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.01346/0.3044, allocations: 4.115 MB / 0.5827 GB, free: 10.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3045, allocations: 11.98 kB / 0.5827 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/0.3047, allocations: 176.9 kB / 0.5829 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004568/0.3093, allocations: 0.7703 MB / 0.5836 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.3114, allocations: 1.243 MB / 0.5849 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004133/0.3118, allocations: 496.2 kB / 0.5853 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.3121, allocations: 128 kB / 0.5855 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002913/0.315, allocations: 1.587 MB / 0.587 GB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.3151, allocations: 4 kB / 0.587 GB, free: 6.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.3152, allocations: 44 kB / 0.5871 GB, free: 6.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.3152, allocations: 28 kB / 0.5871 GB, free: 6.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00287/0.3181, allocations: 1.48 MB / 0.5885 GB, free: 4.539 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.008294/0.3264, allocations: 5.533 MB / 0.5939 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008958/0.3354, allocations: 3.134 MB / 0.597 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002207/0.3376, allocations: 0.983 MB / 0.5979 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005635/0.3382, allocations: 0.7297 MB / 0.5987 GB, free: 9.629 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002478/0.3407, allocations: 1.145 MB / 0.5998 GB, free: 8.461 MB / 414.1 MB Notification: Performance of pre-optimization done (n=136): time 2.845e-06/0.3407, allocations: 0 / 0.5998 GB, free: 8.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.04206/0.3827, allocations: 10.04 MB / 0.6096 GB, free: 14.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/0.3829, allocations: 124.2 kB / 0.6097 GB, free: 14.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002689/0.3856, allocations: 1.552 MB / 0.6112 GB, free: 12.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004067/0.386, allocations: 53.7 kB / 0.6113 GB, free: 12.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005396/0.3865, allocations: 0.6711 MB / 0.6119 GB, free: 11.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006422/0.3872, allocations: 0.4892 MB / 0.6124 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007496/0.388, allocations: 375.5 kB / 0.6128 GB, free: 11.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3881, allocations: 313.1 kB / 0.6131 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002514/0.3906, allocations: 1.066 MB / 0.6141 GB, free: 9.688 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/0.3933, allocations: 1.29 MB / 0.6154 GB, free: 8.332 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005169/0.3985, allocations: 2.267 MB / 0.6176 GB, free: 6.016 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.3986, allocations: 0 / 0.6176 GB, free: 6.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01182/0.4104, allocations: 4.144 MB / 0.6216 GB, free: 1.852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.4105, allocations: 8 kB / 0.6216 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.4105, allocations: 4 kB / 0.6216 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/0.4207, allocations: 2.812 MB / 0.6244 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.4226, allocations: 343.5 kB / 0.6247 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007499/0.4301, allocations: 3.361 MB / 0.628 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/0.4333, allocations: 282.1 kB / 0.6283 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002345/0.4335, allocations: 71.98 kB / 0.6283 GB, free: 10.92 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,eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(30,26), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007256/0.4343, allocations: 325.5 kB / 0.6286 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000378/0.4346, allocations: 177.8 kB / 0.6288 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01705/0.4517, allocations: 5.009 MB / 0.6337 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/0.4518, allocations: 16 kB / 0.6337 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.4518, allocations: 0 / 0.6337 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.305e-05/0.4518, allocations: 7.969 kB / 0.6337 GB, free: 5.367 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.02033/0.4722, allocations: 7.215 MB / 0.6408 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/0.4722, allocations: 4 kB / 0.6408 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.4734, allocations: 175.8 kB / 0.6409 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007679/0.4811, allocations: 2.149 MB / 0.643 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00027/0.4814, allocations: 35.94 kB / 0.6431 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02569/0.5071, allocations: 10.06 MB / 0.6529 GB, free: 1.438 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5072, allocations: 0 / 0.6529 GB, free: 1.438 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02/0.5272, allocations: 6.181 MB / 0.6589 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.5283, allocations: 294.5 kB / 0.6592 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000714/0.5291, allocations: 28 kB / 0.6592 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002261/0.5313, allocations: 147.8 kB / 0.6594 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001198/0.5326, allocations: 285.3 kB / 0.6597 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002403/0.5328, allocations: 39.98 kB / 0.6597 GB, free: 10.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002101/0.5349, allocations: 1.04 MB / 0.6607 GB, free: 9.391 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5349, allocations: 0 / 0.6607 GB, free: 9.391 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001988/0.5369, allocations: 0.5737 MB / 0.6613 GB, free: 8.816 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,eXAC1.imLimitedSimpleLag.state,eXAC1.imDerivativeLag.x,eXAC1.leadLag.TF.x_scaled[1],eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC1.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 (93): * Single equations (assignments): 92 * 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.02023/0.5572, allocations: 6.812 MB / 0.6679 GB, free: 1.961 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01108/0.5683, allocations: 3.125 MB / 0.671 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.5683, allocations: 0 / 0.671 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006999/0.5754, allocations: 2.034 MB / 0.673 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.5772, allocations: 162 kB / 0.6731 GB, free: 12.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05599/0.6332, allocations: 22.99 MB / 0.6956 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.6343, allocations: 1.29 MB / 0.6968 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008168/0.6351, allocations: 163.2 kB / 0.697 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/0.6361, allocations: 0.6789 MB / 0.6976 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.6362, allocations: 3.938 kB / 0.6976 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2861/0.9223, allocations: 47.68 MB / 0.7442 GB, free: 134.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.79, allocations: 3.781 kB / 0.7442 GB, free: 134.6 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1_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_EXAC1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe 2>&1)