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.09474/0.09474, allocations: 12.2 MB / 27.16 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.001022/0.001022, allocations: 111.6 kB / 30.67 MB, free: 6.426 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.449/1.449, allocations: 205.4 MB / 239.5 MB, free: 10.91 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.001063/0.001064, allocations: 173.1 kB / 290.6 MB, free: 8.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.435/0.435, allocations: 78.5 MB / 420.1 MB, free: 6.641 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.0009251/0.0009253, allocations: 24.94 kB / 0.4895 GB, free: 37.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1368, allocations: 69.25 MB / 0.5571 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.007267/0.1441, allocations: 7.727 MB / 0.5647 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00616/0.1503, allocations: 2.78 MB / 0.5674 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.1518, allocations: 16 kB / 0.5674 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009736/0.1527, allocations: 226.2 kB / 0.5676 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003209/0.156, allocations: 1.095 MB / 0.5687 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.1577, allocations: 0.6776 MB / 0.5693 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002782/0.1605, allocations: 1.581 MB / 0.5709 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006033/0.1611, allocations: 402.9 kB / 0.5713 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.1622, allocations: 0.8094 MB / 0.5721 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.1634, allocations: 1.043 MB / 0.5731 GB, free: 8.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002594/0.1637, allocations: 99.94 kB / 0.5732 GB, free: 8.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007329/0.1645, allocations: 327.7 kB / 0.5735 GB, free: 7.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003427/0.1648, allocations: 382.4 kB / 0.5739 GB, free: 7.605 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003437/0.1652, allocations: 312.7 kB / 0.5742 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.1669, allocations: 1.878 MB / 0.576 GB, free: 5.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1669, allocations: 0 / 0.576 GB, free: 5.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.167, allocations: 0 / 0.576 GB, free: 5.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.121e-05/0.167, allocations: 0 / 0.576 GB, free: 5.41 MB / 398.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.0138/0.1808, allocations: 3.833 MB / 0.5797 GB, free: 1.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.1809, allocations: 15.98 kB / 0.5797 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000586/0.1815, allocations: 176.7 kB / 0.5799 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004909/0.1864, allocations: 0.7703 MB / 0.5807 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/0.189, allocations: 1.158 MB / 0.5818 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004976/0.1895, allocations: 474.5 kB / 0.5823 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/0.1898, allocations: 120 kB / 0.5824 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003282/0.193, allocations: 1.614 MB / 0.5839 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.1931, allocations: 0 / 0.5839 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.1932, allocations: 52 kB / 0.584 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.1933, allocations: 24 kB / 0.584 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003243/0.1965, allocations: 1.527 MB / 0.5855 GB, free: 11.41 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.009947/0.2065, allocations: 5.671 MB / 0.591 GB, free: 5.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009287/0.2158, allocations: 3.636 MB / 0.5946 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006062/0.2164, allocations: 0.7336 MB / 0.5953 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002504/0.2189, allocations: 1.211 MB / 0.5965 GB, free: 15.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 3.346e-06/0.2189, allocations: 3.938 kB / 0.5965 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.04401/0.263, allocations: 12.21 MB / 0.6084 GB, free: 3.324 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.2631, allocations: 124.1 kB / 0.6085 GB, free: 3.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/0.2655, allocations: 1.524 MB / 0.61 GB, free: 1.648 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004302/0.266, allocations: 53.7 kB / 0.6101 GB, free: 1.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005332/0.2665, allocations: 0.6592 MB / 0.6107 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005956/0.2671, allocations: 489 kB / 0.6112 GB, free: 452 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.2672, allocations: 44 kB / 0.6112 GB, free: 408 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.2674, allocations: 378 kB / 0.6116 GB, free: 24 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00251/0.27, allocations: 1.14 MB / 0.6127 GB, free: 14.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002621/0.2726, allocations: 1.333 MB / 0.614 GB, free: 13.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002596/0.2752, allocations: 1.216 MB / 0.6152 GB, free: 12.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.2752, allocations: 3.953 kB / 0.6152 GB, free: 12.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.0108/0.286, allocations: 4.378 MB / 0.6195 GB, free: 7.871 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.2861, allocations: 8 kB / 0.6195 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/0.2861, allocations: 4 kB / 0.6195 GB, free: 7.859 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01026/0.2964, allocations: 3.065 MB / 0.6225 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/0.2985, allocations: 363.5 kB / 0.6228 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006904/0.3054, allocations: 3.015 MB / 0.6258 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/0.3083, allocations: 310.2 kB / 0.6261 GB, free: 1.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002716/0.3085, allocations: 71.97 kB / 0.6261 GB, free: 1.004 MB / 446.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.0007867/0.3093, allocations: 325.5 kB / 0.6264 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/0.3097, allocations: 169.8 kB / 0.6266 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01763/0.3273, allocations: 5.97 MB / 0.6324 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.57e-05/0.3274, allocations: 16 kB / 0.6324 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.3274, allocations: 3.984 kB / 0.6325 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-05/0.3275, allocations: 7.969 kB / 0.6325 GB, free: 10.48 MB / 462.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.02127/0.3488, allocations: 8.261 MB / 0.6405 GB, free: 2.086 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/0.3488, allocations: 4 kB / 0.6405 GB, free: 2.082 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.35, allocations: 163.8 kB / 0.6407 GB, free: 1.922 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008055/0.358, allocations: 2.517 MB / 0.6431 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002985/0.3584, allocations: 31.98 kB / 0.6432 GB, free: 15.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02637/0.3847, allocations: 10.87 MB / 0.6538 GB, free: 4.355 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3848, allocations: 4 kB / 0.6538 GB, free: 4.352 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2517/0.6365, allocations: 7.316 MB / 0.6609 GB, free: 92.71 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006892/0.6373, allocations: 293.3 kB / 0.6612 GB, free: 92.62 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/0.6376, allocations: 25.81 kB / 0.6612 GB, free: 92.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/0.6393, allocations: 189 kB / 0.6614 GB, free: 92.62 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000859/0.6401, allocations: 272.9 kB / 0.6617 GB, free: 92.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.6402, allocations: 44.73 kB / 0.6617 GB, free: 92.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001557/0.6418, allocations: 1.016 MB / 0.6627 GB, free: 92.51 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6418, allocations: 0 / 0.6627 GB, free: 92.51 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001524/0.6434, allocations: 0.5679 MB / 0.6633 GB, free: 92.51 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.0214/0.6648, allocations: 8.083 MB / 0.6712 GB, free: 91.53 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01029/0.6751, allocations: 3.375 MB / 0.6745 GB, free: 91.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.6752, allocations: 3.906 kB / 0.6745 GB, free: 91.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006339/0.6815, allocations: 2.232 MB / 0.6766 GB, free: 91.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.683, allocations: 138.9 kB / 0.6768 GB, free: 91.09 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008088/0.6911, allocations: 7.091 MB / 0.6837 GB, free: 85.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.6918, allocations: 1.309 MB / 0.685 GB, free: 85.21 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006114/0.6924, allocations: 169.8 kB / 0.6851 GB, free: 85.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007275/0.6931, allocations: 0.6697 MB / 0.6858 GB, free: 84.64 MB / 478.1 MB Notification: Performance of SimCode: time 1.413e-06/0.6931, allocations: 0 / 0.6858 GB, free: 84.64 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06365/0.7568, allocations: 40.61 MB / 0.7255 GB, free: 48.23 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/0.757, allocations: 201.5 kB / 0.7257 GB, free: 47.99 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.477/4.234, allocations: 0 / 0.7257 GB, free: 47.99 MB / 478.1 MB (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/linux/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) Environment - environmentSimulation: