Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001166, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.2 MB / 238.9 MB, free: 5.664 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 184 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4394/0.4394, allocations: 78.53 MB / 419.8 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003615, allocations: 12 kB / 499.8 MB, free: 6.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1386, allocations: 69.35 MB / 0.5558 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.2664/0.405, allocations: 7.681 MB / 0.5633 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005505/0.4106, allocations: 2.785 MB / 0.566 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.4121, allocations: 18.53 kB / 0.566 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000886/0.413, allocations: 237.2 kB / 0.5662 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003017/0.416, allocations: 1.1 MB / 0.5673 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.4178, allocations: 0.6765 MB / 0.568 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0027/0.4205, allocations: 1.595 MB / 0.5695 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006047/0.4212, allocations: 393.6 kB / 0.5699 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.4223, allocations: 0.8113 MB / 0.5707 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.4233, allocations: 1.042 MB / 0.5717 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.4235, allocations: 97.44 kB / 0.5718 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006929/0.4242, allocations: 327.8 kB / 0.5721 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002681/0.4245, allocations: 382.5 kB / 0.5725 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.4248, allocations: 314.2 kB / 0.5728 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.4263, allocations: 1.88 MB / 0.5746 GB, free: 33.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.4263, allocations: 3.594 kB / 0.5746 GB, free: 33.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4263, allocations: 0 / 0.5746 GB, free: 33.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.381e-05/0.4263, allocations: 0 / 0.5746 GB, free: 33.51 MB / 430.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.01363/0.44, allocations: 3.82 MB / 0.5784 GB, free: 32.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.44, allocations: 7.656 kB / 0.5784 GB, free: 32.15 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006236/0.4406, allocations: 178.5 kB / 0.5785 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00481/0.4455, allocations: 0.7749 MB / 0.5793 GB, free: 31.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00238/0.4479, allocations: 1.164 MB / 0.5804 GB, free: 31.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004593/0.4483, allocations: 482.9 kB / 0.5809 GB, free: 30.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/0.4486, allocations: 124.3 kB / 0.581 GB, free: 30.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003111/0.4517, allocations: 1.602 MB / 0.5826 GB, free: 30.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.4518, allocations: 11.22 kB / 0.5826 GB, free: 30.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.4519, allocations: 42.66 kB / 0.5826 GB, free: 29.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.4519, allocations: 26.91 kB / 0.5826 GB, free: 29.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002997/0.4549, allocations: 1.527 MB / 0.5841 GB, free: 29.48 MB / 430.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.009764/0.4647, allocations: 5.67 MB / 0.5897 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009325/0.4741, allocations: 3.632 MB / 0.5932 GB, free: 24.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/0.4746, allocations: 0.7371 MB / 0.5939 GB, free: 24.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002763/0.4774, allocations: 1.205 MB / 0.5951 GB, free: 23.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 4.648e-06/0.4774, allocations: 5.781 kB / 0.5951 GB, free: 23.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.04603/0.5235, allocations: 12.21 MB / 0.607 GB, free: 21.65 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.5236, allocations: 122.1 kB / 0.6072 GB, free: 21.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/0.5261, allocations: 1.529 MB / 0.6087 GB, free: 20.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003855/0.5265, allocations: 55.55 kB / 0.6087 GB, free: 20.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/0.5269, allocations: 0.6569 MB / 0.6093 GB, free: 20.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004739/0.5274, allocations: 496.8 kB / 0.6098 GB, free: 19.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.5275, allocations: 38.97 kB / 0.6099 GB, free: 19.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.5276, allocations: 383.6 kB / 0.6102 GB, free: 19.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002373/0.53, allocations: 1.125 MB / 0.6113 GB, free: 18.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002432/0.5325, allocations: 1.347 MB / 0.6126 GB, free: 18.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002447/0.5349, allocations: 1.206 MB / 0.6138 GB, free: 17.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.535, allocations: 5.469 kB / 0.6138 GB, free: 17.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009566/0.5445, allocations: 4.381 MB / 0.6181 GB, free: 13.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.5446, allocations: 4 kB / 0.6181 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/0.5446, allocations: 4.703 kB / 0.6181 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008889/0.5535, allocations: 3.067 MB / 0.6211 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.5552, allocations: 363.5 kB / 0.6215 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005783/0.561, allocations: 3.01 MB / 0.6244 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/0.5637, allocations: 319.9 kB / 0.6247 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/0.5639, allocations: 68.88 kB / 0.6248 GB, free: 6.965 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006585/0.5646, allocations: 330.5 kB / 0.6251 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/0.5649, allocations: 173.8 kB / 0.6252 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01605/0.5809, allocations: 5.958 MB / 0.6311 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/0.581, allocations: 16.88 kB / 0.6311 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.581, allocations: 7.953 kB / 0.6311 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.81e-05/0.581, allocations: 7.969 kB / 0.6311 GB, free: 468 kB / 430.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.02172/0.6028, allocations: 8.25 MB / 0.6391 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/0.6028, allocations: 3.938 kB / 0.6392 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.604, allocations: 168.3 kB / 0.6393 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008214/0.6122, allocations: 2.515 MB / 0.6418 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000281/0.6125, allocations: 28 kB / 0.6418 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02655/0.6391, allocations: 10.89 MB / 0.6524 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.6391, allocations: 7.891 kB / 0.6524 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02089/0.66, allocations: 7.317 MB / 0.6596 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007009/0.6608, allocations: 292.4 kB / 0.6599 GB, free: 2.641 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003223/0.6611, allocations: 33.05 kB / 0.6599 GB, free: 2.609 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/0.6628, allocations: 183.8 kB / 0.6601 GB, free: 2.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008133/0.6636, allocations: 277.9 kB / 0.6603 GB, free: 2.156 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.6637, allocations: 36 kB / 0.6604 GB, free: 2.121 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001605/0.6653, allocations: 1.024 MB / 0.6614 GB, free: 1.102 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6654, allocations: 0 / 0.6614 GB, free: 1.102 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001678/0.667, allocations: 0.5621 MB / 0.6619 GB, free: 0.5391 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02081/0.6879, allocations: 8.078 MB / 0.6698 GB, free: 8.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009675/0.6976, allocations: 3.371 MB / 0.6731 GB, free: 5.043 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.6976, allocations: 0 / 0.6731 GB, free: 5.043 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006991/0.7046, allocations: 2.249 MB / 0.6753 GB, free: 2.781 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.7061, allocations: 134.6 kB / 0.6754 GB, free: 2.648 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.7163, allocations: 7.081 MB / 0.6823 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008476/0.7172, allocations: 1.317 MB / 0.6836 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007919/0.718, allocations: 161.3 kB / 0.6838 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008829/0.7189, allocations: 0.6633 MB / 0.6844 GB, free: 9.32 MB / 494.1 MB Notification: Performance of SimCode: time 9.11e-07/0.7189, allocations: 0 / 0.6844 GB, free: 9.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06839/0.7873, allocations: 40.63 MB / 0.7241 GB, free: 1 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.7875, allocations: 190 kB / 0.7243 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.736/3.523, allocations: 7.875 kB / 0.7243 GB, free: 0.7539 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1) Environment - environmentSimulation: