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.08765/0.08765, allocations: 12.6 MB / 28.23 MB, free: 116 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.001254/0.001254, allocations: 115.4 kB / 31.83 MB, free: 3.422 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.269/1.269, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001496/0.001496, allocations: 180.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4183/0.4183, allocations: 78.51 MB / 419.3 MB, free: 11.25 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.002559/0.002559, allocations: 143.7 kB / 0.5554 GB, free: 28.71 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1131, allocations: 68.13 MB / 0.6219 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.008908/0.1221, allocations: 8.86 MB / 0.6306 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0053/0.1274, allocations: 2.825 MB / 0.6333 GB, free: 4.188 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.1286, allocations: 19.94 kB / 0.6334 GB, free: 4.168 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000904/0.1295, allocations: 337.1 kB / 0.6337 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003075/0.1326, allocations: 1.305 MB / 0.635 GB, free: 2.531 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.1344, allocations: 0.854 MB / 0.6358 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002442/0.1368, allocations: 2.592 MB / 0.6383 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006218/0.1374, allocations: 0.506 MB / 0.6388 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009289/0.1384, allocations: 0.9805 MB / 0.6398 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.1395, allocations: 1.221 MB / 0.641 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.1398, allocations: 204 kB / 0.6412 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007109/0.1405, allocations: 475.7 kB / 0.6416 GB, free: 11.67 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003711/0.1409, allocations: 0.5059 MB / 0.6421 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007142/0.1416, allocations: 1.002 MB / 0.6431 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00214/0.1438, allocations: 2.609 MB / 0.6456 GB, free: 7.539 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1438, allocations: 0 / 0.6456 GB, free: 7.539 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1438, allocations: 0 / 0.6456 GB, free: 7.539 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.1438, allocations: 0 / 0.6456 GB, free: 7.539 MB / 462.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.01347/0.1573, allocations: 4.054 MB / 0.6496 GB, free: 3.426 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1573, allocations: 11.98 kB / 0.6496 GB, free: 3.414 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/0.1575, allocations: 168.7 kB / 0.6498 GB, free: 3.238 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004322/0.1619, allocations: 0.7703 MB / 0.6505 GB, free: 2.465 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.1637, allocations: 1.231 MB / 0.6517 GB, free: 1.184 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004089/0.1642, allocations: 462.5 kB / 0.6522 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/0.1644, allocations: 124 kB / 0.6523 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.1672, allocations: 1.547 MB / 0.6538 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.1672, allocations: 0 / 0.6538 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.1674, allocations: 44 kB / 0.6538 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.1674, allocations: 24 kB / 0.6539 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002944/0.1703, allocations: 1.445 MB / 0.6553 GB, free: 13.42 MB / 478.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.00844/0.1788, allocations: 5.43 MB / 0.6606 GB, free: 7.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008144/0.1869, allocations: 3.062 MB / 0.6636 GB, free: 4.547 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/0.1889, allocations: 0.9673 MB / 0.6645 GB, free: 3.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006145/0.1896, allocations: 0.7375 MB / 0.6652 GB, free: 2.668 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002182/0.1918, allocations: 1.133 MB / 0.6663 GB, free: 1.512 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 2.755e-06/0.1918, allocations: 0 / 0.6663 GB, free: 1.512 MB / 478.1 MB Notification: Performance of matching and sorting (n=134): time 0.03885/0.2306, allocations: 10.04 MB / 0.6761 GB, free: 7.438 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.2307, allocations: 116.1 kB / 0.6762 GB, free: 7.297 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/0.2329, allocations: 1.54 MB / 0.6777 GB, free: 5.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002363/0.2332, allocations: 53.7 kB / 0.6778 GB, free: 5.691 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/0.2336, allocations: 0.6515 MB / 0.6784 GB, free: 5.035 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004715/0.2341, allocations: 0.4892 MB / 0.6789 GB, free: 4.539 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006395/0.2347, allocations: 371.5 kB / 0.6793 GB, free: 4.168 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.976e-05/0.2348, allocations: 305.1 kB / 0.6796 GB, free: 3.867 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002129/0.237, allocations: 1.058 MB / 0.6806 GB, free: 2.805 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/0.2393, allocations: 1.274 MB / 0.6818 GB, free: 1.465 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/0.2436, allocations: 2.228 MB / 0.684 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.2436, allocations: 4 kB / 0.684 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009488/0.2531, allocations: 3.999 MB / 0.6879 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.2531, allocations: 8 kB / 0.6879 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.2531, allocations: 4 kB / 0.6879 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008889/0.262, allocations: 2.69 MB / 0.6906 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.2636, allocations: 363.5 kB / 0.6909 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00567/0.2693, allocations: 2.691 MB / 0.6935 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.2715, allocations: 270.2 kB / 0.6938 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.2716, allocations: 75.92 kB / 0.6939 GB, free: 5.039 MB / 0.4981 GB 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.0005659/0.2722, allocations: 317.5 kB / 0.6942 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/0.2725, allocations: 173.8 kB / 0.6943 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/0.2878, allocations: 4.919 MB / 0.6991 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.2878, allocations: 15.94 kB / 0.6991 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.2878, allocations: 8 kB / 0.6992 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.2879, allocations: 7.969 kB / 0.6992 GB, free: 15.57 MB / 0.5137 GB 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.01751/0.3054, allocations: 7.143 MB / 0.7061 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.3054, allocations: 0 / 0.7061 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009838/0.3064, allocations: 175.8 kB / 0.7063 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006983/0.3134, allocations: 2.134 MB / 0.7084 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/0.3136, allocations: 31.98 kB / 0.7084 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2443/0.5579, allocations: 10.05 MB / 0.7182 GB, free: 82.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.558, allocations: 3.688 kB / 0.7182 GB, free: 82.63 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/0.5763, allocations: 6.166 MB / 0.7243 GB, free: 81.28 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005692/0.5769, allocations: 289.7 kB / 0.7245 GB, free: 81.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.5771, allocations: 25.17 kB / 0.7246 GB, free: 81.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/0.5787, allocations: 144.6 kB / 0.7247 GB, free: 81.06 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008427/0.5796, allocations: 270.2 kB / 0.725 GB, free: 81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.5797, allocations: 38.98 kB / 0.725 GB, free: 80.99 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001482/0.5812, allocations: 1.035 MB / 0.726 GB, free: 80.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5812, allocations: 0 / 0.726 GB, free: 80.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00153/0.5827, allocations: 0.564 MB / 0.7266 GB, free: 80.52 MB / 0.5137 GB 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.01726/0.6, allocations: 6.795 MB / 0.7332 GB, free: 78.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007836/0.6078, allocations: 3.044 MB / 0.7362 GB, free: 77.35 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.6079, allocations: 0 / 0.7362 GB, free: 77.35 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005286/0.6132, allocations: 2 MB / 0.7381 GB, free: 76.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.6144, allocations: 162.8 kB / 0.7383 GB, free: 76.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03738/0.6518, allocations: 20.22 MB / 0.758 GB, free: 60.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.6524, allocations: 1.274 MB / 0.7593 GB, free: 58.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005352/0.653, allocations: 166.8 kB / 0.7594 GB, free: 58.56 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006965/0.6537, allocations: 0.6809 MB / 0.7601 GB, free: 57.88 MB / 0.5137 GB Notification: Performance of SimCode: time 7.42e-07/0.6537, allocations: 0 / 0.7601 GB, free: 57.88 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05952/0.7132, allocations: 46.83 MB / 0.8058 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/15.04, allocations: 21.5 kB / 0.8058 GB, free: 11.11 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)