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/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/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/package.mo): time 0.08696/0.08696, allocations: 12.2 MB / 27.43 MB, free: 1.391 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.00107/0.00107, allocations: 123.4 kB / 30.95 MB, free: 4.66 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.432/1.432, allocations: 205.1 MB / 239.4 MB, free: 10.92 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.001491/0.001491, allocations: 192.5 kB / 289.6 MB, free: 15.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4406/0.4406, allocations: 78.51 MB / 418.1 MB, free: 31.75 MB / 318.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.002747/0.002747, allocations: 143.8 kB / 498.5 MB, free: 448 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4294, allocations: 68.03 MB / 0.5533 GB, free: 37.93 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.008806/0.4383, allocations: 9.179 MB / 0.5622 GB, free: 31.21 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006357/0.4446, allocations: 2.851 MB / 0.565 GB, free: 29.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.447, allocations: 21.03 kB / 0.565 GB, free: 29.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.4482, allocations: 263.8 kB / 0.5653 GB, free: 29.05 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003549/0.4517, allocations: 1.102 MB / 0.5664 GB, free: 28.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.4538, allocations: 0.7931 MB / 0.5671 GB, free: 27.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003126/0.4569, allocations: 2.578 MB / 0.5697 GB, free: 26.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000911/0.4578, allocations: 0.4958 MB / 0.5701 GB, free: 26.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001814/0.4597, allocations: 0.9849 MB / 0.5711 GB, free: 25.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.4613, allocations: 1.215 MB / 0.5723 GB, free: 25.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003282/0.4616, allocations: 204.8 kB / 0.5725 GB, free: 25.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009188/0.4625, allocations: 486.6 kB / 0.5729 GB, free: 25.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003984/0.463, allocations: 0.4967 MB / 0.5734 GB, free: 24.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008412/0.4638, allocations: 1.005 MB / 0.5744 GB, free: 24.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.4663, allocations: 2.566 MB / 0.5769 GB, free: 23.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4663, allocations: 0 / 0.5769 GB, free: 23.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4663, allocations: 4 kB / 0.5769 GB, free: 23.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.442e-05/0.4664, allocations: 0 / 0.5769 GB, free: 23.1 MB / 414.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.01517/0.4815, allocations: 4.059 MB / 0.5809 GB, free: 21.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.4816, allocations: 16.64 kB / 0.5809 GB, free: 21.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002609/0.4819, allocations: 172 kB / 0.5811 GB, free: 21.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004945/0.4868, allocations: 0.7683 MB / 0.5818 GB, free: 21.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/0.4894, allocations: 1.214 MB / 0.583 GB, free: 20.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004933/0.4899, allocations: 467.8 kB / 0.5835 GB, free: 19.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002572/0.4901, allocations: 127 kB / 0.5836 GB, free: 19.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003601/0.4937, allocations: 1.545 MB / 0.5851 GB, free: 19.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.4938, allocations: 0 / 0.5851 GB, free: 19.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.4939, allocations: 44.25 kB / 0.5851 GB, free: 19.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.4939, allocations: 31.12 kB / 0.5852 GB, free: 19.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0034/0.4974, allocations: 1.435 MB / 0.5866 GB, free: 18.77 MB / 414.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.01079/0.5081, allocations: 5.468 MB / 0.5919 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00875/0.5169, allocations: 3.07 MB / 0.5949 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002116/0.5191, allocations: 0.9748 MB / 0.5958 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004975/0.5196, allocations: 0.731 MB / 0.5966 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002367/0.5219, allocations: 1.133 MB / 0.5977 GB, free: 11.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.677e-06/0.522, allocations: 0 / 0.5977 GB, free: 11.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=134): time 0.03967/0.5616, allocations: 10.03 MB / 0.6075 GB, free: 2.594 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.5617, allocations: 120.1 kB / 0.6076 GB, free: 2.449 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/0.5642, allocations: 1.536 MB / 0.6091 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002901/0.5645, allocations: 57.7 kB / 0.6091 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.5649, allocations: 0.6554 MB / 0.6098 GB, free: 188 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000571/0.5655, allocations: 493.1 kB / 0.6102 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007841/0.5663, allocations: 379.5 kB / 0.6106 GB, free: 15.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.5664, allocations: 301.1 kB / 0.6109 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002524/0.5689, allocations: 1.054 MB / 0.6119 GB, free: 13.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002611/0.5716, allocations: 1.266 MB / 0.6132 GB, free: 12.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004679/0.5763, allocations: 2.236 MB / 0.6153 GB, free: 10.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.517e-06/0.5763, allocations: 4 kB / 0.6153 GB, free: 10.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.0107/0.587, allocations: 3.999 MB / 0.6193 GB, free: 6.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.587, allocations: 10.19 kB / 0.6193 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/0.5871, allocations: 7.984 kB / 0.6193 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009506/0.5966, allocations: 2.683 MB / 0.6219 GB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/0.5986, allocations: 359.5 kB / 0.6222 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006457/0.605, allocations: 2.707 MB / 0.6249 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002927/0.608, allocations: 262.2 kB / 0.6251 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002154/0.6082, allocations: 75.97 kB / 0.6252 GB, free: 204 kB / 430.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.0008599/0.6091, allocations: 325.5 kB / 0.6255 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003725/0.6094, allocations: 177.7 kB / 0.6257 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01619/0.6256, allocations: 4.911 MB / 0.6305 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.91e-05/0.6257, allocations: 19.94 kB / 0.6305 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.6257, allocations: 0 / 0.6305 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.555e-05/0.6258, allocations: 3.984 kB / 0.6305 GB, free: 10.74 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.02019/0.646, allocations: 7.168 MB / 0.6375 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.646, allocations: 11.97 kB / 0.6375 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.6472, allocations: 163.7 kB / 0.6377 GB, free: 3.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007624/0.6548, allocations: 2.146 MB / 0.6398 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002774/0.6551, allocations: 35.97 kB / 0.6398 GB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02572/0.6809, allocations: 10.07 MB / 0.6496 GB, free: 6.863 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6809, allocations: 0 / 0.6496 GB, free: 6.863 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0197/0.7006, allocations: 6.165 MB / 0.6556 GB, free: 0.668 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.7017, allocations: 286.6 kB / 0.6559 GB, free: 376 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/0.7019, allocations: 31.94 kB / 0.6559 GB, free: 344 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/0.7038, allocations: 143.8 kB / 0.6561 GB, free: 200 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/0.7048, allocations: 273.4 kB / 0.6563 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.7049, allocations: 39.98 kB / 0.6564 GB, free: 15.89 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001713/0.7066, allocations: 1.032 MB / 0.6574 GB, free: 14.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7066, allocations: 0 / 0.6574 GB, free: 14.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001718/0.7084, allocations: 0.5659 MB / 0.6579 GB, free: 14.29 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.01936/0.7277, allocations: 6.782 MB / 0.6646 GB, free: 7.469 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01026/0.738, allocations: 3.095 MB / 0.6676 GB, free: 4.379 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.738, allocations: 4.25 kB / 0.6676 GB, free: 4.375 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006466/0.7445, allocations: 2.004 MB / 0.6696 GB, free: 2.352 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.7462, allocations: 159.5 kB / 0.6697 GB, free: 2.199 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05142/0.7976, allocations: 22.3 MB / 0.6915 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009941/0.7987, allocations: 1.282 MB / 0.6927 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008138/0.7995, allocations: 162.9 kB / 0.6929 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009951/0.8005, allocations: 0.675 MB / 0.6935 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of SimCode: time 1.493e-06/0.8005, allocations: 0 / 0.6935 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.385/1.186, allocations: 44.78 MB / 0.7373 GB, free: 154.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/1.186, allocations: 217.8 kB / 0.7375 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.47/4.656, allocations: 0 / 0.7375 GB, free: 154.1 MB / 0.5294 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)