Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.ESDC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",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.1001/0.1001, allocations: 12.59 MB / 28.22 MB, free: 0.7656 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 107.4 kB / 31.84 MB, free: 3.898 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.353/1.353, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001496/0.001496, allocations: 180.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4325/0.4325, allocations: 78.52 MB / 419.3 MB, free: 11.24 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.002562/0.002562, allocations: 134.4 kB / 0.5554 GB, free: 28.71 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1299, allocations: 68.13 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.009653/0.1396, allocations: 8.857 MB / 0.6306 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005927/0.1456, allocations: 2.826 MB / 0.6333 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.147, allocations: 16 kB / 0.6334 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.148, allocations: 349 kB / 0.6337 GB, free: 3.816 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00347/0.1515, allocations: 1.298 MB / 0.635 GB, free: 2.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.1537, allocations: 0.8661 MB / 0.6358 GB, free: 1.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003211/0.1569, allocations: 2.596 MB / 0.6383 GB, free: 15.06 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007435/0.1577, allocations: 0.4982 MB / 0.6388 GB, free: 14.53 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.1591, allocations: 0.9845 MB / 0.6398 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.1609, allocations: 1.221 MB / 0.641 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006258/0.1615, allocations: 204 kB / 0.6412 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.1626, allocations: 475.7 kB / 0.6416 GB, free: 11.65 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004397/0.1631, allocations: 0.502 MB / 0.6421 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009322/0.164, allocations: 1.002 MB / 0.6431 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.1668, allocations: 2.611 MB / 0.6456 GB, free: 7.516 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1668, allocations: 0 / 0.6456 GB, free: 7.516 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1668, allocations: 0 / 0.6456 GB, free: 7.516 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.006e-05/0.1669, allocations: 0 / 0.6456 GB, free: 7.516 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.01479/0.1816, allocations: 4.126 MB / 0.6497 GB, free: 3.328 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.1817, allocations: 11.98 kB / 0.6497 GB, free: 3.316 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002121/0.1819, allocations: 168.7 kB / 0.6498 GB, free: 3.141 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004757/0.1867, allocations: 0.7832 MB / 0.6506 GB, free: 2.355 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/0.1889, allocations: 1.229 MB / 0.6518 GB, free: 1.078 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004664/0.1894, allocations: 470.4 kB / 0.6523 GB, free: 0.543 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002407/0.1897, allocations: 124 kB / 0.6524 GB, free: 432 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003051/0.1927, allocations: 1.548 MB / 0.6539 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.1928, allocations: 0 / 0.6539 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.1929, allocations: 40 kB / 0.6539 GB, free: 14.78 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.1929, allocations: 32 kB / 0.654 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00321/0.1961, allocations: 1.437 MB / 0.6554 GB, free: 13.3 MB / 478.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.009281/0.2054, allocations: 5.447 MB / 0.6607 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008668/0.2141, allocations: 3.058 MB / 0.6637 GB, free: 4.426 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.2163, allocations: 0.9751 MB / 0.6646 GB, free: 3.441 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005434/0.2168, allocations: 0.7258 MB / 0.6653 GB, free: 2.551 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002315/0.2192, allocations: 1.137 MB / 0.6664 GB, free: 1.391 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 3.126e-06/0.2192, allocations: 0 / 0.6664 GB, free: 1.391 MB / 478.1 MB Notification: Performance of matching and sorting (n=134): time 0.04032/0.2595, allocations: 10.04 MB / 0.6762 GB, free: 7.316 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.2596, allocations: 124.1 kB / 0.6764 GB, free: 7.168 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/0.2621, allocations: 1.551 MB / 0.6779 GB, free: 5.609 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003574/0.2625, allocations: 49.7 kB / 0.6779 GB, free: 5.555 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005167/0.263, allocations: 0.6642 MB / 0.6786 GB, free: 4.887 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005783/0.2636, allocations: 0.5074 MB / 0.6791 GB, free: 4.375 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006889/0.2643, allocations: 375.5 kB / 0.6794 GB, free: 4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2644, allocations: 305.1 kB / 0.6797 GB, free: 3.699 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002284/0.2667, allocations: 1.046 MB / 0.6807 GB, free: 2.648 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002444/0.2692, allocations: 1.282 MB / 0.682 GB, free: 1.301 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004662/0.2739, allocations: 2.232 MB / 0.6842 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.2739, allocations: 0 / 0.6842 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01046/0.2844, allocations: 4.008 MB / 0.6881 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.2844, allocations: 6.969 kB / 0.6881 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/0.2845, allocations: 8 kB / 0.6881 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009526/0.294, allocations: 2.687 MB / 0.6907 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.2959, allocations: 367.5 kB / 0.6911 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006347/0.3023, allocations: 2.684 MB / 0.6937 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002592/0.3049, allocations: 282.5 kB / 0.694 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/0.3051, allocations: 71.98 kB / 0.694 GB, free: 4.867 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 203 * 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.0006782/0.3058, allocations: 329.5 kB / 0.6943 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003499/0.3062, allocations: 178.8 kB / 0.6945 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01605/0.3222, allocations: 4.915 MB / 0.6993 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.29e-05/0.3223, allocations: 19.94 kB / 0.6993 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.3223, allocations: 0 / 0.6993 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.158e-05/0.3224, allocations: 11.97 kB / 0.6993 GB, free: 15.39 MB / 0.5137 GB 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.01961/0.342, allocations: 7.155 MB / 0.7063 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.342, allocations: 0 / 0.7063 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.3431, allocations: 175.7 kB / 0.7065 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007484/0.3506, allocations: 2.138 MB / 0.7086 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002442/0.3509, allocations: 28 kB / 0.7086 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3103/0.6612, allocations: 10.05 MB / 0.7184 GB, free: 82.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.6612, allocations: 4.25 kB / 0.7184 GB, free: 82.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02081/0.6821, allocations: 6.179 MB / 0.7245 GB, free: 81.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006911/0.6828, allocations: 299.9 kB / 0.7248 GB, free: 80.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003497/0.6832, allocations: 23.52 kB / 0.7248 GB, free: 80.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/0.6848, allocations: 143.6 kB / 0.7249 GB, free: 80.83 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008959/0.6857, allocations: 273.8 kB / 0.7252 GB, free: 80.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.6859, allocations: 40.98 kB / 0.7252 GB, free: 80.76 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001712/0.6876, allocations: 1.034 MB / 0.7262 GB, free: 80.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6876, allocations: 0 / 0.7262 GB, free: 80.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001989/0.6896, allocations: 0.5673 MB / 0.7268 GB, free: 80.29 MB / 0.5137 GB 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,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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.01971/0.7093, allocations: 6.797 MB / 0.7334 GB, free: 78.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009228/0.7186, allocations: 3.055 MB / 0.7364 GB, free: 77.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.7186, allocations: 2.438 kB / 0.7364 GB, free: 77.11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005936/0.7246, allocations: 2.006 MB / 0.7384 GB, free: 76.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.726, allocations: 157.3 kB / 0.7385 GB, free: 76.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04132/0.7674, allocations: 20.29 MB / 0.7583 GB, free: 59.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.768, allocations: 1.278 MB / 0.7596 GB, free: 58.33 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007666/0.7688, allocations: 162.9 kB / 0.7597 GB, free: 58.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007929/0.7696, allocations: 0.6711 MB / 0.7604 GB, free: 57.49 MB / 0.5137 GB Notification: Performance of SimCode: time 1.423e-06/0.7696, allocations: 0 / 0.7604 GB, free: 57.49 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07214/0.8417, allocations: 46.85 MB / 0.8061 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.35, allocations: 18.91 kB / 0.8061 GB, free: 10.71 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A_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_ESDC2A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)