Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.282/1.282, allocations: 222.9 MB / 240 MB, free: 4.574 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.001305/0.001305, allocations: 188.5 kB / 290.3 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4761/0.4761, allocations: 91.9 MB / 432.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 79.81 kB / 0.5033 GB, free: 6.996 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3023, allocations: 71.27 MB / 0.5729 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1): time 0.008116/0.3105, allocations: 8.971 MB / 0.5817 GB, free: 31.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004683/0.3152, allocations: 2.873 MB / 0.5845 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008237/0.316, allocations: 18.12 kB / 0.5845 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007264/0.3168, allocations: 347.3 kB / 0.5848 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.3187, allocations: 1.038 MB / 0.5858 GB, free: 28.42 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.3203, allocations: 0.9723 MB / 0.5868 GB, free: 27.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002111/0.3224, allocations: 2.488 MB / 0.5892 GB, free: 26.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006213/0.3231, allocations: 0.5223 MB / 0.5897 GB, free: 26.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.3242, allocations: 0.9814 MB / 0.5907 GB, free: 25.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.3253, allocations: 1.227 MB / 0.5919 GB, free: 25.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003057/0.3256, allocations: 214.1 kB / 0.5921 GB, free: 25.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007702/0.3264, allocations: 490.2 kB / 0.5925 GB, free: 25.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003185/0.3267, allocations: 0.5186 MB / 0.593 GB, free: 24.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006754/0.3274, allocations: 1.013 MB / 0.594 GB, free: 24.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.3295, allocations: 2.681 MB / 0.5967 GB, free: 23.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3295, allocations: 0 / 0.5967 GB, free: 23.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3295, allocations: 1.25 kB / 0.5967 GB, free: 23.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.941e-05/0.3296, allocations: 0 / 0.5967 GB, free: 23.06 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.01281/0.3424, allocations: 3.807 MB / 0.6004 GB, free: 21.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3424, allocations: 13.25 kB / 0.6004 GB, free: 21.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004835/0.3473, allocations: 0.771 MB / 0.6011 GB, free: 21.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.3498, allocations: 1.252 MB / 0.6024 GB, free: 20.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004464/0.3503, allocations: 498.7 kB / 0.6028 GB, free: 20.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002865/0.3506, allocations: 129.1 kB / 0.603 GB, free: 19.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003242/0.3538, allocations: 1.581 MB / 0.6045 GB, free: 19.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.3539, allocations: 5.188 kB / 0.6045 GB, free: 19.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.354, allocations: 45.41 kB / 0.6046 GB, free: 19.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.354, allocations: 25.59 kB / 0.6046 GB, free: 19.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003304/0.3574, allocations: 1.483 MB / 0.606 GB, free: 18.79 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.01078/0.3682, allocations: 5.507 MB / 0.6114 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008232/0.3764, allocations: 3.127 MB / 0.6145 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002248/0.3787, allocations: 0.9931 MB / 0.6154 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004435/0.3792, allocations: 0.736 MB / 0.6161 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00239/0.3816, allocations: 1.147 MB / 0.6173 GB, free: 12.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=136): time 3.086e-06/0.3816, allocations: 0 / 0.6173 GB, free: 12.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.0369/0.4185, allocations: 10.04 MB / 0.6271 GB, free: 6.258 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.4186, allocations: 116.1 kB / 0.6272 GB, free: 6.121 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/0.4207, allocations: 1.552 MB / 0.6287 GB, free: 4.562 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004107/0.4211, allocations: 61.77 kB / 0.6288 GB, free: 4.496 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.4214, allocations: 0.675 MB / 0.6294 GB, free: 3.812 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004186/0.4219, allocations: 496.9 kB / 0.6299 GB, free: 3.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005812/0.4225, allocations: 367.5 kB / 0.6302 GB, free: 2.953 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.296e-05/0.4225, allocations: 305.1 kB / 0.6305 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001923/0.4244, allocations: 1.074 MB / 0.6316 GB, free: 1.574 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/0.4264, allocations: 1.29 MB / 0.6328 GB, free: 224 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00434/0.4308, allocations: 2.259 MB / 0.635 GB, free: 13.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.4308, allocations: 0 / 0.635 GB, free: 13.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01017/0.441, allocations: 4.148 MB / 0.6391 GB, free: 9.738 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.441, allocations: 13.78 kB / 0.6391 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.4411, allocations: 4 kB / 0.6391 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009171/0.4502, allocations: 2.801 MB / 0.6418 GB, free: 6.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.452, allocations: 343.5 kB / 0.6422 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006597/0.4586, allocations: 3.364 MB / 0.6455 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/0.4613, allocations: 282.1 kB / 0.6457 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/0.4615, allocations: 67.98 kB / 0.6458 GB, free: 2.812 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: 3 ($whenCondition2,$whenCondition1,eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(30,26), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0006818/0.4622, allocations: 325.5 kB / 0.6461 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/0.4626, allocations: 181.7 kB / 0.6463 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/0.4778, allocations: 5.005 MB / 0.6512 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.541e-05/0.4779, allocations: 16 kB / 0.6512 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/0.4779, allocations: 7.938 kB / 0.6512 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.481e-05/0.478, allocations: 7.969 kB / 0.6512 GB, free: 13.25 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.01854/0.4965, allocations: 7.19 MB / 0.6582 GB, free: 5.922 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.4966, allocations: 0 / 0.6582 GB, free: 5.922 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.4977, allocations: 175.7 kB / 0.6584 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006852/0.5045, allocations: 2.142 MB / 0.6605 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000271/0.5048, allocations: 27.98 kB / 0.6605 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02315/0.528, allocations: 10.06 MB / 0.6703 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.528, allocations: 8 kB / 0.6703 GB, free: 9.348 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01771/0.5457, allocations: 6.187 MB / 0.6764 GB, free: 3.125 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007407/0.5465, allocations: 294.5 kB / 0.6767 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/0.5468, allocations: 27.98 kB / 0.6767 GB, free: 2.789 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/0.5484, allocations: 147.8 kB / 0.6768 GB, free: 2.645 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008597/0.5493, allocations: 277.4 kB / 0.6771 GB, free: 2.375 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.5494, allocations: 39.98 kB / 0.6771 GB, free: 2.336 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001494/0.5509, allocations: 1.044 MB / 0.6782 GB, free: 1.297 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5509, allocations: 0 / 0.6782 GB, free: 1.297 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001477/0.5524, allocations: 0.5775 MB / 0.6787 GB, free: 0.7188 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,eXAC1.imLimitedSimpleLag.state,eXAC1.imDerivativeLag.x,eXAC1.leadLag.TF.x_scaled[1],eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC1.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 92 * 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.0003915/0.5528, allocations: 166.9 kB / 0.6789 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008406/0.5612, allocations: 3.082 MB / 0.6819 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5612, allocations: 0 / 0.6819 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005849/0.5671, allocations: 2.021 MB / 0.6839 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.5683, allocations: 163.9 kB / 0.684 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005843/0.5742, allocations: 3.397 MB / 0.6873 GB, free: 7.844 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007525/0.5749, allocations: 1.286 MB / 0.6886 GB, free: 6.531 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006227/0.5756, allocations: 167.2 kB / 0.6887 GB, free: 6.363 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003763/0.576, allocations: 111.4 kB / 0.6889 GB, free: 6.254 MB / 494.1 MB Notification: Performance of SimCode: time 6.31e-07/0.576, allocations: 0 / 0.6889 GB, free: 6.254 MB / 494.1 MB Notification: Performance of Templates: time 0.04685/0.6228, allocations: 32.74 MB / 0.7208 GB, free: 5.539 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe 2>&1)