Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_dev_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.0008773/0.0008776, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.398/1.398, allocations: 223.2 MB / 239 MB, free: 5.605 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.001277/0.001277, allocations: 191.6 kB / 290.3 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5269/0.5269, allocations: 79.47 MB / 420.8 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.0004088, allocations: 12 kB / 0.4892 GB, free: 5.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4203, allocations: 69.51 MB / 0.5571 GB, free: 37.88 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.007394/0.4278, allocations: 8.052 MB / 0.565 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006044/0.4339, allocations: 2.751 MB / 0.5676 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.4354, allocations: 19.75 kB / 0.5677 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008778/0.4363, allocations: 241 kB / 0.5679 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.4385, allocations: 0.8314 MB / 0.5687 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.4403, allocations: 0.7681 MB / 0.5695 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002431/0.4428, allocations: 2.158 MB / 0.5716 GB, free: 34.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006576/0.4435, allocations: 398.4 kB / 0.5719 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.4448, allocations: 0.7973 MB / 0.5727 GB, free: 33.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.4461, allocations: 1.039 MB / 0.5737 GB, free: 33.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001961/0.4463, allocations: 98.88 kB / 0.5738 GB, free: 33.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008788/0.4472, allocations: 353.4 kB / 0.5742 GB, free: 33.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003537/0.4475, allocations: 378.2 kB / 0.5745 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003441/0.4479, allocations: 316.4 kB / 0.5748 GB, free: 32.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.4496, allocations: 1.914 MB / 0.5767 GB, free: 32.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4496, allocations: 0 / 0.5767 GB, free: 32.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4496, allocations: 0 / 0.5767 GB, free: 32.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.4496, allocations: 0 / 0.5767 GB, free: 32.18 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.01042/0.46, allocations: 3.53 MB / 0.5801 GB, free: 30.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.4601, allocations: 8.75 kB / 0.5802 GB, free: 30.85 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002808/0.4604, allocations: 171.5 kB / 0.5803 GB, free: 30.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004093/0.4645, allocations: 0.7807 MB / 0.5811 GB, free: 30.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.4665, allocations: 1.161 MB / 0.5822 GB, free: 29.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003837/0.4669, allocations: 475.8 kB / 0.5827 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.4671, allocations: 126.3 kB / 0.5828 GB, free: 29.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/0.4699, allocations: 1.628 MB / 0.5844 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.47, allocations: 0 / 0.5844 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.4701, allocations: 40.25 kB / 0.5844 GB, free: 28.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.4701, allocations: 26.84 kB / 0.5844 GB, free: 28.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003058/0.4732, allocations: 1.528 MB / 0.5859 GB, free: 28.19 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.009087/0.4823, allocations: 5.544 MB / 0.5914 GB, free: 25.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00857/0.4909, allocations: 3.638 MB / 0.5949 GB, free: 23.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.493, allocations: 1.049 MB / 0.5959 GB, free: 23.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005048/0.4935, allocations: 0.7343 MB / 0.5966 GB, free: 22.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002737/0.4963, allocations: 1.213 MB / 0.5978 GB, free: 22.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 9.578e-06/0.4963, allocations: 1.688 kB / 0.5978 GB, free: 22.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.04343/0.5398, allocations: 12.2 MB / 0.6097 GB, free: 20.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.5399, allocations: 122.7 kB / 0.6099 GB, free: 19.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003546/0.5434, allocations: 1.537 MB / 0.6114 GB, free: 19.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000398/0.5439, allocations: 55.86 kB / 0.6114 GB, free: 19.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006373/0.5445, allocations: 0.6495 MB / 0.6121 GB, free: 18.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007176/0.5452, allocations: 499.7 kB / 0.6125 GB, free: 18.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003398/0.5456, allocations: 40.03 kB / 0.6126 GB, free: 18.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.5458, allocations: 383.6 kB / 0.6129 GB, free: 17.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002625/0.5484, allocations: 1.125 MB / 0.614 GB, free: 17.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002765/0.5512, allocations: 1.35 MB / 0.6153 GB, free: 16.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002644/0.5538, allocations: 1.214 MB / 0.6165 GB, free: 15.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.5539, allocations: 4 kB / 0.6165 GB, free: 15.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009183/0.563, allocations: 4.382 MB / 0.6208 GB, free: 11.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.5631, allocations: 8.062 kB / 0.6208 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.5631, allocations: 4 kB / 0.6208 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008245/0.5714, allocations: 3.058 MB / 0.6238 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.5729, allocations: 373.4 kB / 0.6242 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005492/0.5784, allocations: 2.999 MB / 0.6271 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00242/0.5809, allocations: 322.1 kB / 0.6274 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002542/0.5811, allocations: 67.98 kB / 0.6275 GB, free: 4.219 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.0008644/0.582, allocations: 327.8 kB / 0.6278 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005554/0.5826, allocations: 177.8 kB / 0.628 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01496/0.5975, allocations: 5.959 MB / 0.6338 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/0.5976, allocations: 15.95 kB / 0.6338 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/0.5976, allocations: 8.875 kB / 0.6338 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.805e-05/0.5977, allocations: 7.969 kB / 0.6338 GB, free: 13.71 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.02042/0.6181, allocations: 8.196 MB / 0.6418 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/0.6182, allocations: 4.547 kB / 0.6418 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.6193, allocations: 171.8 kB / 0.642 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007729/0.6271, allocations: 2.506 MB / 0.6444 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003784/0.6275, allocations: 37.42 kB / 0.6445 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02447/0.652, allocations: 10.31 MB / 0.6545 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.6521, allocations: 0 / 0.6545 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01965/0.6717, allocations: 7.295 MB / 0.6617 GB, free: 0.875 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009074/0.6727, allocations: 295.4 kB / 0.6619 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007561/0.6735, allocations: 24 kB / 0.662 GB, free: 0.543 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/0.6756, allocations: 188.6 kB / 0.6621 GB, free: 368 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001057/0.6767, allocations: 273.2 kB / 0.6624 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002518/0.677, allocations: 39.98 kB / 0.6624 GB, free: 56 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002234/0.6792, allocations: 1.017 MB / 0.6634 GB, free: 15.04 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6793, allocations: 0 / 0.6634 GB, free: 15.04 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002663/0.6819, allocations: 0.566 MB / 0.664 GB, free: 14.47 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 (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.02008/0.702, allocations: 7.916 MB / 0.6717 GB, free: 6.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009615/0.7117, allocations: 3.378 MB / 0.675 GB, free: 3.141 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.7118, allocations: 0 / 0.675 GB, free: 3.141 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006326/0.7181, allocations: 2.248 MB / 0.6772 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/0.7205, allocations: 151 kB / 0.6774 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03378/0.7543, allocations: 15.18 MB / 0.6922 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.7555, allocations: 1.278 MB / 0.6934 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009986/0.7565, allocations: 165.5 kB / 0.6936 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/0.7578, allocations: 0.6711 MB / 0.6942 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of SimCode: time 1.402e-06/0.7578, allocations: 1.406 kB / 0.6942 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07901/0.8368, allocations: 42.4 MB / 0.7357 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.8371, allocations: 207.4 kB / 0.7358 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.122/3.959, allocations: 0 / 0.7358 GB, free: 4.348 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1) Environment - environmentSimulation: