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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008528/0.0008531, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.467/1.467, allocations: 223.3 MB / 239.4 MB, free: 5.5 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.001197/0.001197, allocations: 171.5 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5225/0.5225, allocations: 78.55 MB / 420.3 MB, free: 4.191 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003963, allocations: 8.375 kB / 0.4887 GB, free: 6.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1582, allocations: 69.37 MB / 0.5564 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.2627/0.4209, allocations: 8.588 MB / 0.5648 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005842/0.4268, allocations: 2.874 MB / 0.5676 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/0.4289, allocations: 17.06 kB / 0.5676 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.43, allocations: 262.4 kB / 0.5679 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003485/0.4335, allocations: 1.105 MB / 0.5689 GB, free: 33.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.4354, allocations: 0.7851 MB / 0.5697 GB, free: 33.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002969/0.4384, allocations: 2.446 MB / 0.5721 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006596/0.4391, allocations: 453.9 kB / 0.5725 GB, free: 32.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.4403, allocations: 0.8301 MB / 0.5733 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.4415, allocations: 1.096 MB / 0.5744 GB, free: 32.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.4417, allocations: 95.66 kB / 0.5745 GB, free: 32.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007357/0.4424, allocations: 356 kB / 0.5748 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.4427, allocations: 397 kB / 0.5752 GB, free: 32.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007829/0.4435, allocations: 0.8892 MB / 0.5761 GB, free: 31.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.4457, allocations: 2.427 MB / 0.5785 GB, free: 31.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4457, allocations: 0.875 kB / 0.5785 GB, free: 31.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4457, allocations: 0.5312 kB / 0.5785 GB, free: 31.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.872e-05/0.4457, allocations: 2.688 kB / 0.5785 GB, free: 31.28 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.01341/0.4592, allocations: 3.814 MB / 0.5822 GB, free: 29.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.4592, allocations: 8.375 kB / 0.5822 GB, free: 29.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/0.4642, allocations: 0.7769 MB / 0.583 GB, free: 29.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.4666, allocations: 1.218 MB / 0.5841 GB, free: 29.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004468/0.4671, allocations: 480.3 kB / 0.5846 GB, free: 28.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/0.4673, allocations: 122.9 kB / 0.5847 GB, free: 28.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003285/0.4706, allocations: 1.637 MB / 0.5863 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.4707, allocations: 0 / 0.5863 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.4708, allocations: 41.88 kB / 0.5864 GB, free: 27.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/0.4709, allocations: 27.7 kB / 0.5864 GB, free: 27.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003457/0.4743, allocations: 1.534 MB / 0.5879 GB, free: 27.39 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.01034/0.4847, allocations: 5.545 MB / 0.5933 GB, free: 24.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009862/0.4946, allocations: 3.644 MB / 0.5969 GB, free: 22.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002728/0.4973, allocations: 1.053 MB / 0.5979 GB, free: 22.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004581/0.4978, allocations: 0.7288 MB / 0.5986 GB, free: 21.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002657/0.5005, allocations: 1.221 MB / 0.5998 GB, free: 21.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 3.507e-06/0.5005, allocations: 0 / 0.5998 GB, free: 21.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.04506/0.5456, allocations: 12.27 MB / 0.6118 GB, free: 18.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.5457, allocations: 125.3 kB / 0.6119 GB, free: 18.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002968/0.5486, allocations: 1.541 MB / 0.6134 GB, free: 17.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000661/0.5493, allocations: 52.58 kB / 0.6135 GB, free: 17.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004993/0.5498, allocations: 0.653 MB / 0.6141 GB, free: 17.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006475/0.5505, allocations: 499.3 kB / 0.6146 GB, free: 16.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002903/0.5508, allocations: 192.1 kB / 0.6148 GB, free: 16.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.791e-05/0.5508, allocations: 306.2 kB / 0.615 GB, free: 16.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002481/0.5533, allocations: 1.137 MB / 0.6162 GB, free: 15.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002489/0.5558, allocations: 1.356 MB / 0.6175 GB, free: 14.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00415/0.56, allocations: 2.409 MB / 0.6198 GB, free: 12.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.56, allocations: 0 / 0.6198 GB, free: 12.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009831/0.5699, allocations: 4.444 MB / 0.6242 GB, free: 7.938 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.5699, allocations: 8.688 kB / 0.6242 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/0.57, allocations: 4 kB / 0.6242 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009168/0.5791, allocations: 3.056 MB / 0.6272 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.581, allocations: 371.5 kB / 0.6275 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005985/0.587, allocations: 3.018 MB / 0.6305 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002643/0.5897, allocations: 310.2 kB / 0.6308 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.5899, allocations: 77.92 kB / 0.6308 GB, free: 1.086 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.0006952/0.5906, allocations: 325.4 kB / 0.6311 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.5908, allocations: 177.8 kB / 0.6313 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0181/0.609, allocations: 5.966 MB / 0.6371 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-05/0.609, allocations: 19.94 kB / 0.6372 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.6091, allocations: 0 / 0.6372 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.935e-05/0.6091, allocations: 11.97 kB / 0.6372 GB, free: 10.57 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.02265/0.6318, allocations: 8.213 MB / 0.6452 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/0.6318, allocations: 2.109 kB / 0.6452 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.6331, allocations: 175.8 kB / 0.6454 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008085/0.6412, allocations: 2.514 MB / 0.6478 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003087/0.6415, allocations: 35.98 kB / 0.6479 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02642/0.6679, allocations: 10.31 MB / 0.6579 GB, free: 5.039 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.668, allocations: 3.938 kB / 0.6579 GB, free: 5.035 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02108/0.6891, allocations: 7.298 MB / 0.6651 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007596/0.6899, allocations: 298.5 kB / 0.6653 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/0.6902, allocations: 32.81 kB / 0.6654 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/0.6919, allocations: 188.5 kB / 0.6656 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008476/0.6927, allocations: 265.3 kB / 0.6658 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.6929, allocations: 35.98 kB / 0.6658 GB, free: 12.88 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001624/0.6945, allocations: 1.036 MB / 0.6669 GB, free: 11.85 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6945, allocations: 0 / 0.6669 GB, free: 11.85 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001591/0.6961, allocations: 0.566 MB / 0.6674 GB, free: 11.29 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 (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.0003842/0.6965, allocations: 171.8 kB / 0.6676 GB, free: 11.11 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009818/0.7063, allocations: 3.384 MB / 0.6709 GB, free: 7.727 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.7064, allocations: 0 / 0.6709 GB, free: 7.727 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007086/0.7135, allocations: 2.252 MB / 0.6731 GB, free: 5.457 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.7153, allocations: 155.9 kB / 0.6732 GB, free: 5.305 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007321/0.7227, allocations: 4.119 MB / 0.6772 GB, free: 1.238 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009687/0.7237, allocations: 1.278 MB / 0.6785 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008687/0.7245, allocations: 169.8 kB / 0.6787 GB, free: 15.76 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/0.7249, allocations: 99.34 kB / 0.6787 GB, free: 15.67 MB / 494.1 MB Notification: Performance of SimCode: time 9.72e-07/0.7249, allocations: 0 / 0.6787 GB, free: 15.67 MB / 494.1 MB Notification: Performance of Templates: time 0.04587/0.7708, allocations: 27.79 MB / 0.7059 GB, free: 3.996 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.makefile Environment - environmentSimulation: (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 & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1) Environment - environmentSimulation: