Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.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.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001052, allocations: 104.8 kB / 16.36 MB, free: 5.875 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.308/1.308, allocations: 222.9 MB / 240 MB, free: 4.523 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.001417/0.001417, allocations: 196.3 kB / 290.3 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4933/0.4933, allocations: 91.9 MB / 432.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 79.88 kB / 0.5033 GB, free: 6.941 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3018, allocations: 71.25 MB / 0.5729 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXNI): time 0.006318/0.3082, allocations: 8.327 MB / 0.581 GB, free: 31.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003995/0.3122, allocations: 2.588 MB / 0.5835 GB, free: 29.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005989/0.3128, allocations: 12.81 kB / 0.5835 GB, free: 29.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000511/0.3133, allocations: 311.7 kB / 0.5838 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.3151, allocations: 0.9906 MB / 0.5848 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.3165, allocations: 0.8239 MB / 0.5856 GB, free: 28.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001583/0.3181, allocations: 2.153 MB / 0.5877 GB, free: 27.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005168/0.3186, allocations: 461.5 kB / 0.5882 GB, free: 27.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000865/0.3195, allocations: 0.8591 MB / 0.589 GB, free: 26.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009254/0.3204, allocations: 1.114 MB / 0.5901 GB, free: 26.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.3207, allocations: 181.2 kB / 0.5903 GB, free: 26.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005877/0.3213, allocations: 363.5 kB / 0.5906 GB, free: 26.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.3215, allocations: 452.2 kB / 0.591 GB, free: 26.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006805/0.3222, allocations: 0.9167 MB / 0.5919 GB, free: 25.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.3248, allocations: 2.26 MB / 0.5941 GB, free: 24.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3248, allocations: 1.062 kB / 0.5941 GB, free: 24.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3248, allocations: 7.938 kB / 0.5941 GB, free: 24.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.146e-05/0.3249, allocations: 0 / 0.5941 GB, free: 24.44 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.01101/0.3359, allocations: 3.536 MB / 0.5976 GB, free: 22.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3359, allocations: 14.09 kB / 0.5976 GB, free: 22.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004491/0.3404, allocations: 0.7502 MB / 0.5983 GB, free: 22.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.3422, allocations: 1.088 MB / 0.5994 GB, free: 22.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003675/0.3425, allocations: 456.2 kB / 0.5998 GB, free: 21.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.3428, allocations: 114.7 kB / 0.6 GB, free: 21.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002682/0.3454, allocations: 1.461 MB / 0.6014 GB, free: 21.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.3455, allocations: 0 / 0.6014 GB, free: 21.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.3456, allocations: 40.88 kB / 0.6014 GB, free: 21.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.3456, allocations: 23.69 kB / 0.6014 GB, free: 21.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/0.3486, allocations: 1.364 MB / 0.6028 GB, free: 20.56 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.008544/0.3572, allocations: 4.907 MB / 0.6076 GB, free: 17.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008074/0.3653, allocations: 3.001 MB / 0.6105 GB, free: 16.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.3671, allocations: 0.9271 MB / 0.6114 GB, free: 16.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.3672, allocations: 28.66 kB / 0.6114 GB, free: 16.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.3673, allocations: 46.16 kB / 0.6115 GB, free: 16.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=128): time 4.057e-06/0.3673, allocations: 0 / 0.6115 GB, free: 16.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=128): time 0.03857/0.4058, allocations: 9.812 MB / 0.6211 GB, free: 12.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.4059, allocations: 142.8 kB / 0.6212 GB, free: 12.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/0.4077, allocations: 1.359 MB / 0.6225 GB, free: 11.03 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003705/0.4081, allocations: 53.7 kB / 0.6226 GB, free: 10.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/0.4084, allocations: 0.6041 MB / 0.6232 GB, free: 10.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004075/0.4089, allocations: 477.2 kB / 0.6236 GB, free: 9.891 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005505/0.4094, allocations: 339.5 kB / 0.6239 GB, free: 9.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.897e-05/0.4095, allocations: 305.1 kB / 0.6242 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.4113, allocations: 0.9925 MB / 0.6252 GB, free: 8.258 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/0.4131, allocations: 1.194 MB / 0.6264 GB, free: 7.016 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003647/0.4168, allocations: 2.101 MB / 0.6284 GB, free: 4.871 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.4168, allocations: 0 / 0.6284 GB, free: 4.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.00841/0.4252, allocations: 3.793 MB / 0.6321 GB, free: 1.062 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.4253, allocations: 8 kB / 0.6321 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.4253, allocations: 4 kB / 0.6321 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009663/0.435, allocations: 3.028 MB / 0.6351 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.4364, allocations: 279.6 kB / 0.6354 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006998/0.4434, allocations: 3.056 MB / 0.6383 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/0.4457, allocations: 230.3 kB / 0.6386 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.4459, allocations: 71.98 kB / 0.6386 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00248/0.4484, allocations: 1.191 MB / 0.6398 GB, free: 9.172 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002171/0.4506, allocations: 1.183 MB / 0.6409 GB, free: 7.941 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004019/0.4546, allocations: 2.085 MB / 0.643 GB, free: 5.809 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.749e-06/0.4546, allocations: 3.938 kB / 0.643 GB, free: 5.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=242) (initialization_lambda0): time 0.009219/0.4638, allocations: 3.762 MB / 0.6467 GB, free: 2.027 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4639, allocations: 8 kB / 0.6467 GB, free: 2.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.4639, allocations: 4 kB / 0.6467 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009756/0.4737, allocations: 3.009 MB / 0.6496 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.4751, allocations: 283.6 kB / 0.6499 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006799/0.4819, allocations: 3.024 MB / 0.6528 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/0.4844, allocations: 210.7 kB / 0.653 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/0.4846, allocations: 63.97 kB / 0.6531 GB, free: 11.41 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 162 * 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 {(34,46)} Notification: Performance of prepare postOptimizeDAE: time 0.0004206/0.4851, allocations: 269.8 kB / 0.6534 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004275/0.4855, allocations: 161.9 kB / 0.6535 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0157/0.5012, allocations: 4.902 MB / 0.6583 GB, free: 6.047 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.5013, allocations: 12 kB / 0.6583 GB, free: 6.035 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.5013, allocations: 4 kB / 0.6583 GB, free: 6.031 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.021e-05/0.5013, allocations: 3.984 kB / 0.6583 GB, free: 6.027 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.0192/0.5205, allocations: 7.081 MB / 0.6652 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.5206, allocations: 4 kB / 0.6652 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009222/0.5215, allocations: 139.8 kB / 0.6654 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007426/0.5289, allocations: 2.221 MB / 0.6675 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002319/0.5292, allocations: 31.98 kB / 0.6676 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02611/0.5553, allocations: 11.86 MB / 0.6791 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5553, allocations: 0 / 0.6791 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01746/0.5728, allocations: 6.12 MB / 0.6851 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006693/0.5735, allocations: 274.6 kB / 0.6854 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.5737, allocations: 31.94 kB / 0.6854 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/0.5752, allocations: 119.9 kB / 0.6855 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007618/0.576, allocations: 261.4 kB / 0.6858 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.5761, allocations: 31.94 kB / 0.6858 GB, free: 9.379 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001157/0.5772, allocations: 0.9111 MB / 0.6867 GB, free: 8.469 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5773, allocations: 7.938 kB / 0.6867 GB, free: 8.461 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001922/0.5792, allocations: 0.8623 MB / 0.6875 GB, free: 7.598 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXNI.derivativeLag.x,eXNI.simpleLag1.state,eXNI.TransducerDelay.state,eXNI.VR.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 79 * 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 {(1,4), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002906/0.5795, allocations: 150.5 kB / 0.6877 GB, free: 7.449 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01419/0.5937, allocations: 4.982 MB / 0.6926 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.5937, allocations: 0.875 kB / 0.6926 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005736/0.5995, allocations: 2.058 MB / 0.6946 GB, free: 392 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.6007, allocations: 139.2 kB / 0.6947 GB, free: 256 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/0.6064, allocations: 3.164 MB / 0.6978 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/0.6071, allocations: 1.226 MB / 0.699 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007256/0.6079, allocations: 158 kB / 0.6991 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.6082, allocations: 91.42 kB / 0.6992 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of SimCode: time 2.004e-06/0.6082, allocations: 0 / 0.6992 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.2007/0.8089, allocations: 38.04 MB / 0.7364 GB, free: 5.527 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe 2>&1)