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.00136/0.00136, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.323/1.323, allocations: 222.9 MB / 238.9 MB, free: 4.727 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.001473/0.001472, allocations: 188.5 kB / 289.2 MB, free: 2.465 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4509/0.4509, allocations: 78.52 MB / 417.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 71.89 kB / 497 MB, free: 6.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1329, allocations: 68.17 MB / 0.552 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.2444/0.3774, allocations: 9.121 MB / 0.5609 GB, free: 34.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005813/0.3832, allocations: 2.882 MB / 0.5637 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.3851, allocations: 21.22 kB / 0.5637 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.3862, allocations: 267.2 kB / 0.564 GB, free: 33.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.3897, allocations: 1.099 MB / 0.565 GB, free: 33.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.3915, allocations: 0.7939 MB / 0.5658 GB, free: 33.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002959/0.3945, allocations: 2.583 MB / 0.5683 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006694/0.3952, allocations: 0.4895 MB / 0.5688 GB, free: 33.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.3963, allocations: 0.9835 MB / 0.5698 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009909/0.3973, allocations: 1.219 MB / 0.571 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.3976, allocations: 207.7 kB / 0.5712 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007161/0.3983, allocations: 480.8 kB / 0.5716 GB, free: 32.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003135/0.3986, allocations: 0.5041 MB / 0.5721 GB, free: 32.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006213/0.3993, allocations: 1.003 MB / 0.5731 GB, free: 31.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00198/0.4012, allocations: 2.566 MB / 0.5756 GB, free: 31.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4013, allocations: 0 / 0.5756 GB, free: 31.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4013, allocations: 0.5625 kB / 0.5756 GB, free: 31.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.295e-05/0.4013, allocations: 0.9688 kB / 0.5756 GB, free: 31.33 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.01328/0.4146, allocations: 4.062 MB / 0.5796 GB, free: 29.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.4146, allocations: 10.56 kB / 0.5796 GB, free: 29.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001908/0.4148, allocations: 169.2 kB / 0.5797 GB, free: 29.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004312/0.4192, allocations: 0.7648 MB / 0.5805 GB, free: 29.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/0.4213, allocations: 1.227 MB / 0.5817 GB, free: 28.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003872/0.4217, allocations: 459.6 kB / 0.5821 GB, free: 28.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/0.4219, allocations: 122.9 kB / 0.5822 GB, free: 28.19 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003252/0.4252, allocations: 1.555 MB / 0.5838 GB, free: 27.56 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.4252, allocations: 0.6875 kB / 0.5838 GB, free: 27.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.4253, allocations: 42.66 kB / 0.5838 GB, free: 27.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/0.4254, allocations: 26.03 kB / 0.5838 GB, free: 27.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/0.4286, allocations: 1.442 MB / 0.5852 GB, free: 27.03 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.01032/0.4389, allocations: 5.459 MB / 0.5906 GB, free: 23.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008679/0.4476, allocations: 3.069 MB / 0.5936 GB, free: 22.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002436/0.4501, allocations: 0.9698 MB / 0.5945 GB, free: 22.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000606/0.4508, allocations: 0.7321 MB / 0.5952 GB, free: 21.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00311/0.4539, allocations: 1.136 MB / 0.5963 GB, free: 20.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 6.502e-06/0.4539, allocations: 2.062 kB / 0.5963 GB, free: 20.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.04372/0.4976, allocations: 10.02 MB / 0.6061 GB, free: 19.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.4977, allocations: 124.6 kB / 0.6062 GB, free: 18.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003054/0.5008, allocations: 1.544 MB / 0.6078 GB, free: 18.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004305/0.5013, allocations: 51.39 kB / 0.6078 GB, free: 18.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000563/0.5018, allocations: 0.6499 MB / 0.6084 GB, free: 17.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007543/0.5026, allocations: 0.4898 MB / 0.6089 GB, free: 17.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/0.504, allocations: 378.1 kB / 0.6093 GB, free: 16.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.705e-05/0.5041, allocations: 301.1 kB / 0.6096 GB, free: 16.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002475/0.5065, allocations: 1.05 MB / 0.6106 GB, free: 15.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002572/0.5091, allocations: 1.275 MB / 0.6118 GB, free: 15.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00466/0.5138, allocations: 2.234 MB / 0.614 GB, free: 14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.5138, allocations: 1.719 kB / 0.614 GB, free: 14 MB / 430.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01042/0.5243, allocations: 3.999 MB / 0.6179 GB, free: 11.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.5243, allocations: 8 kB / 0.6179 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/0.5244, allocations: 4 kB / 0.6179 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008691/0.5331, allocations: 2.688 MB / 0.6206 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.5349, allocations: 363.5 kB / 0.6209 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005542/0.5404, allocations: 2.69 MB / 0.6235 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/0.5431, allocations: 274.2 kB / 0.6238 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003574/0.5435, allocations: 73.05 kB / 0.6239 GB, free: 5.133 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 (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.0009622/0.5445, allocations: 329.4 kB / 0.6242 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000584/0.5451, allocations: 173.8 kB / 0.6243 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/0.5602, allocations: 4.917 MB / 0.6291 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.5602, allocations: 15.94 kB / 0.6292 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.5603, allocations: 4.656 kB / 0.6292 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.889e-05/0.5603, allocations: 7.969 kB / 0.6292 GB, free: 15.67 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.02045/0.5808, allocations: 7.152 MB / 0.6362 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.5808, allocations: 0 / 0.6362 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.582, allocations: 177.4 kB / 0.6363 GB, free: 8.211 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007269/0.5893, allocations: 2.147 MB / 0.6384 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003418/0.5896, allocations: 31.98 kB / 0.6385 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02506/0.6147, allocations: 10.06 MB / 0.6483 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.6148, allocations: 0.5625 kB / 0.6483 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01904/0.6338, allocations: 6.158 MB / 0.6543 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007499/0.6346, allocations: 295 kB / 0.6546 GB, free: 5.316 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000662/0.6353, allocations: 24 kB / 0.6546 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/0.6374, allocations: 143.8 kB / 0.6547 GB, free: 5.152 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001/0.6384, allocations: 276.1 kB / 0.655 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/0.6386, allocations: 43.98 kB / 0.655 GB, free: 4.836 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001915/0.6406, allocations: 1.028 MB / 0.656 GB, free: 3.812 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6406, allocations: 0 / 0.656 GB, free: 3.812 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002151/0.6427, allocations: 0.566 MB / 0.6566 GB, free: 3.246 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 (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.01933/0.6621, allocations: 6.794 MB / 0.6632 GB, free: 12.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01034/0.6725, allocations: 3.087 MB / 0.6662 GB, free: 9.328 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.6725, allocations: 192 / 0.6662 GB, free: 9.328 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006563/0.6791, allocations: 2.011 MB / 0.6682 GB, free: 7.301 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/0.6816, allocations: 160.2 kB / 0.6684 GB, free: 7.148 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05262/0.7342, allocations: 22.3 MB / 0.6901 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.7353, allocations: 1.282 MB / 0.6914 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009491/0.7363, allocations: 160.7 kB / 0.6915 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/0.7374, allocations: 0.675 MB / 0.6922 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of SimCode: time 1.814e-06/0.7374, allocations: 0 / 0.6922 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07722/0.8147, allocations: 44.79 MB / 0.7359 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.8149, allocations: 213.4 kB / 0.7361 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.023/3.838, allocations: 3.938 kB / 0.7361 GB, free: 0.9023 MB / 0.5294 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/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)