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.1114/0.1114, allocations: 12.6 MB / 28.1 MB, free: 236 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.001131/0.001131, allocations: 111.5 kB / 31.7 MB, free: 3.496 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.449/1.449, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.001591/0.001591, allocations: 191.2 kB / 290.6 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4463/0.4463, allocations: 78.5 MB / 419.2 MB, free: 11.36 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.00311/0.00311, allocations: 151.8 kB / 499.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3272, allocations: 68.11 MB / 0.5547 GB, free: 32.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.008929/0.3362, allocations: 8.851 MB / 0.5633 GB, free: 25.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00658/0.3428, allocations: 2.834 MB / 0.5661 GB, free: 23.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.3448, allocations: 15.06 kB / 0.5661 GB, free: 23.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009852/0.3458, allocations: 338.2 kB / 0.5664 GB, free: 23.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003261/0.3491, allocations: 1.246 MB / 0.5677 GB, free: 22.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.351, allocations: 0.8683 MB / 0.5685 GB, free: 21.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003091/0.3541, allocations: 2.568 MB / 0.571 GB, free: 20.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006755/0.3548, allocations: 499.1 kB / 0.5715 GB, free: 19.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.356, allocations: 0.9731 MB / 0.5724 GB, free: 19.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.3572, allocations: 1.229 MB / 0.5736 GB, free: 18.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005644/0.3578, allocations: 211.3 kB / 0.5738 GB, free: 18.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.3589, allocations: 475.8 kB / 0.5743 GB, free: 18.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003631/0.3592, allocations: 0.5027 MB / 0.5748 GB, free: 17.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007736/0.36, allocations: 0.9951 MB / 0.5758 GB, free: 17.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.3624, allocations: 2.567 MB / 0.5783 GB, free: 15.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3624, allocations: 0 / 0.5783 GB, free: 15.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3624, allocations: 0 / 0.5783 GB, free: 15.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.128e-05/0.3625, allocations: 0 / 0.5783 GB, free: 15.1 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.01388/0.3763, allocations: 4.061 MB / 0.5822 GB, free: 11.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.3764, allocations: 15.98 kB / 0.5822 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001916/0.3766, allocations: 172.7 kB / 0.5824 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004313/0.3809, allocations: 0.7664 MB / 0.5832 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.3828, allocations: 1.223 MB / 0.5843 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003587/0.3831, allocations: 474.4 kB / 0.5848 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.3833, allocations: 120 kB / 0.5849 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/0.3861, allocations: 1.544 MB / 0.5864 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.3861, allocations: 3.938 kB / 0.5864 GB, free: 6.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.3862, allocations: 44 kB / 0.5865 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.3863, allocations: 28 kB / 0.5865 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002707/0.389, allocations: 1.441 MB / 0.5879 GB, free: 5.188 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.008207/0.3972, allocations: 5.457 MB / 0.5932 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008724/0.4059, allocations: 3.07 MB / 0.5962 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.4081, allocations: 0.979 MB / 0.5972 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006425/0.4088, allocations: 0.7296 MB / 0.5979 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002355/0.4112, allocations: 1.133 MB / 0.599 GB, free: 9.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.737e-06/0.4112, allocations: 0 / 0.599 GB, free: 9.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=134): time 0.04208/0.4533, allocations: 10.03 MB / 0.6088 GB, free: 15.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.4534, allocations: 128.1 kB / 0.6089 GB, free: 15.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003098/0.4565, allocations: 1.536 MB / 0.6104 GB, free: 13.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003974/0.4569, allocations: 53.7 kB / 0.6105 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000663/0.4576, allocations: 0.6593 MB / 0.6111 GB, free: 12.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008055/0.4584, allocations: 493 kB / 0.6116 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/0.4597, allocations: 379.5 kB / 0.6119 GB, free: 11.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.4598, allocations: 301.1 kB / 0.6122 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002639/0.4625, allocations: 1.046 MB / 0.6133 GB, free: 10.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002739/0.4652, allocations: 1.274 MB / 0.6145 GB, free: 9.215 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005063/0.4703, allocations: 2.243 MB / 0.6167 GB, free: 6.918 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.4704, allocations: 0 / 0.6167 GB, free: 6.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01106/0.4814, allocations: 3.995 MB / 0.6206 GB, free: 2.906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.4815, allocations: 4 kB / 0.6206 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/0.4815, allocations: 7.984 kB / 0.6206 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009797/0.4913, allocations: 2.687 MB / 0.6232 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/0.4934, allocations: 367.5 kB / 0.6236 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006555/0.4999, allocations: 2.692 MB / 0.6262 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00283/0.5028, allocations: 266.2 kB / 0.6265 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00036/0.5032, allocations: 71.97 kB / 0.6265 GB, free: 12.79 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: 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.0009807/0.5042, allocations: 325.4 kB / 0.6268 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006015/0.5048, allocations: 177.8 kB / 0.627 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01687/0.5217, allocations: 4.915 MB / 0.6318 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-05/0.5217, allocations: 19.94 kB / 0.6318 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.5218, allocations: 0 / 0.6318 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.728e-05/0.5218, allocations: 7.969 kB / 0.6318 GB, free: 7.332 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.02142/0.5432, allocations: 7.164 MB / 0.6388 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/0.5433, allocations: 0 / 0.6388 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/0.5447, allocations: 171.7 kB / 0.639 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007895/0.5526, allocations: 2.149 MB / 0.6411 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003189/0.5529, allocations: 31.98 kB / 0.6411 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02674/0.5797, allocations: 10.06 MB / 0.6509 GB, free: 3.461 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5798, allocations: 0 / 0.6509 GB, free: 3.461 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02053/0.6003, allocations: 6.162 MB / 0.657 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000947/0.6013, allocations: 298.4 kB / 0.6573 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007703/0.6021, allocations: 24 kB / 0.6573 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/0.6043, allocations: 143.8 kB / 0.6574 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001075/0.6054, allocations: 273.4 kB / 0.6577 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002304/0.6057, allocations: 35.98 kB / 0.6577 GB, free: 12.49 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002417/0.6081, allocations: 1.032 MB / 0.6587 GB, free: 11.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6081, allocations: 0 / 0.6587 GB, free: 11.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002615/0.6108, allocations: 0.5737 MB / 0.6593 GB, free: 10.89 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,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.02003/0.6308, allocations: 6.792 MB / 0.6659 GB, free: 4.051 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01068/0.6415, allocations: 3.084 MB / 0.6689 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.6416, allocations: 0 / 0.6689 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006715/0.6483, allocations: 2.012 MB / 0.6709 GB, free: 14.94 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.6504, allocations: 155.9 kB / 0.671 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05262/0.703, allocations: 21.75 MB / 0.6923 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.7042, allocations: 1.282 MB / 0.6935 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008715/0.7051, allocations: 158.9 kB / 0.6937 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/0.7062, allocations: 0.6788 MB / 0.6943 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of SimCode: time 7.52e-07/0.7063, allocations: 0 / 0.6943 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3346/1.041, allocations: 46.26 MB / 0.7395 GB, free: 140 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/13.3, allocations: 11.45 kB / 0.7395 GB, free: 140 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)