Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07797/0.07797, allocations: 12.2 MB / 28.09 MB, free: 1.34 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 118.1 kB / 31.59 MB, free: 4.57 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.452/1.452, allocations: 205.1 MB / 240.1 MB, free: 10.91 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.001599/0.001599, allocations: 184.5 kB / 290.2 MB, free: 13.8 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.436/0.436, allocations: 78.5 MB / 418.8 MB, free: 11.9 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.002663/0.002664, allocations: 127.8 kB / 499.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3209, allocations: 68.04 MB / 0.5538 GB, free: 22.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.007404/0.3283, allocations: 8.433 MB / 0.5621 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005173/0.3336, allocations: 2.517 MB / 0.5645 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.3354, allocations: 12 kB / 0.5645 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.3365, allocations: 246.5 kB / 0.5648 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.3395, allocations: 1.068 MB / 0.5658 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.3408, allocations: 0.6138 MB / 0.5664 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002398/0.3432, allocations: 2.268 MB / 0.5686 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005089/0.3437, allocations: 390 kB / 0.569 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000983/0.3447, allocations: 0.8637 MB / 0.5698 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008541/0.3456, allocations: 1.113 MB / 0.5709 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.3458, allocations: 176 kB / 0.5711 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000646/0.3465, allocations: 403.7 kB / 0.5715 GB, free: 4.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.3467, allocations: 462.2 kB / 0.5719 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005473/0.3473, allocations: 0.8857 MB / 0.5728 GB, free: 2.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.3487, allocations: 1.711 MB / 0.5744 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3487, allocations: 0 / 0.5744 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3487, allocations: 0 / 0.5744 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.151e-05/0.3488, allocations: 0 / 0.5744 GB, free: 0.9609 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.01356/0.3623, allocations: 3.709 MB / 0.5781 GB, free: 13.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.199e-05/0.3624, allocations: 15.98 kB / 0.5781 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004525/0.3669, allocations: 0.7471 MB / 0.5788 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.3691, allocations: 1.104 MB / 0.5799 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004561/0.3696, allocations: 424.7 kB / 0.5803 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.3698, allocations: 111.8 kB / 0.5804 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.3727, allocations: 1.381 MB / 0.5818 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.3727, allocations: 0 / 0.5818 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.3729, allocations: 36 kB / 0.5818 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.3729, allocations: 28 kB / 0.5818 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002823/0.3757, allocations: 1.304 MB / 0.5831 GB, free: 7.914 MB / 398.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.009243/0.385, allocations: 4.829 MB / 0.5878 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008018/0.393, allocations: 2.853 MB / 0.5906 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001988/0.3951, allocations: 0.8956 MB / 0.5915 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.3952, allocations: 20.98 kB / 0.5915 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002196/0.3974, allocations: 1.046 MB / 0.5925 GB, free: 13.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.006e-06/0.3975, allocations: 0 / 0.5925 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.03912/0.4366, allocations: 9.668 MB / 0.6019 GB, free: 4.176 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.915e-05/0.4367, allocations: 123.7 kB / 0.6021 GB, free: 4.027 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/0.4391, allocations: 1.398 MB / 0.6034 GB, free: 2.617 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003335/0.4394, allocations: 45.7 kB / 0.6035 GB, free: 2.566 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/0.4399, allocations: 0.5766 MB / 0.604 GB, free: 1.984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005045/0.4404, allocations: 445.7 kB / 0.6045 GB, free: 1.543 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005993/0.441, allocations: 331.4 kB / 0.6048 GB, free: 1.215 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4411, allocations: 301.1 kB / 0.6051 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/0.4432, allocations: 0.9604 MB / 0.606 GB, free: 15.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/0.4454, allocations: 1.158 MB / 0.6071 GB, free: 14.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004062/0.4495, allocations: 2.062 MB / 0.6091 GB, free: 12.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.4495, allocations: 0 / 0.6091 GB, free: 12.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01696/0.4664, allocations: 5.395 MB / 0.6144 GB, free: 7.234 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.4665, allocations: 8 kB / 0.6144 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.4666, allocations: 7.984 kB / 0.6144 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00955/0.4761, allocations: 2.883 MB / 0.6172 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.4777, allocations: 283.6 kB / 0.6175 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006933/0.4846, allocations: 2.853 MB / 0.6203 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/0.4875, allocations: 254.3 kB / 0.6205 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/0.4877, allocations: 63.98 kB / 0.6206 GB, free: 0.8672 MB / 430.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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 166 * 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 {(33,32)} Notification: Performance of prepare postOptimizeDAE: time 0.000691/0.4884, allocations: 289.5 kB / 0.6209 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/0.4888, allocations: 162 kB / 0.621 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01533/0.5041, allocations: 4.725 MB / 0.6257 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/0.5042, allocations: 15.98 kB / 0.6257 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.5042, allocations: 4 kB / 0.6257 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.538e-05/0.5042, allocations: 7.984 kB / 0.6257 GB, free: 11.63 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.01992/0.5242, allocations: 6.792 MB / 0.6323 GB, free: 4.707 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/0.5242, allocations: 7.938 kB / 0.6323 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009693/0.5252, allocations: 135.9 kB / 0.6324 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007321/0.5326, allocations: 2.142 MB / 0.6345 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003146/0.5329, allocations: 31.98 kB / 0.6346 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02597/0.5589, allocations: 10.08 MB / 0.6444 GB, free: 8.152 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.559, allocations: 0 / 0.6444 GB, free: 8.152 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0185/0.5775, allocations: 5.866 MB / 0.6501 GB, free: 2.254 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007063/0.5782, allocations: 262.9 kB / 0.6504 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005602/0.5788, allocations: 24.11 kB / 0.6504 GB, free: 1.953 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/0.5807, allocations: 147.7 kB / 0.6506 GB, free: 1.809 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009311/0.5817, allocations: 253.1 kB / 0.6508 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/0.5819, allocations: 31.98 kB / 0.6508 GB, free: 1.531 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001691/0.5836, allocations: 0.9418 MB / 0.6518 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5836, allocations: 0 / 0.6518 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001962/0.5855, allocations: 0.5229 MB / 0.6523 GB, free: 68 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * 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 (79): * Single equations (assignments): 78 * 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.0004674/0.586, allocations: 152 kB / 0.6524 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009309/0.5953, allocations: 2.88 MB / 0.6552 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.5954, allocations: 4 kB / 0.6552 GB, free: 13.03 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006045/0.6014, allocations: 1.91 MB / 0.6571 GB, free: 11.11 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.6032, allocations: 137.1 kB / 0.6572 GB, free: 10.97 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006547/0.6098, allocations: 3.528 MB / 0.6607 GB, free: 7.406 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009362/0.6108, allocations: 1.211 MB / 0.6618 GB, free: 6.164 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005421/0.6113, allocations: 99.42 kB / 0.6619 GB, free: 6.066 MB / 478.1 MB Notification: Performance of SimCode: time 1.011e-06/0.6113, allocations: 0 / 0.6619 GB, free: 6.066 MB / 478.1 MB Notification: Performance of Templates: time 0.2856/0.8969, allocations: 25.14 MB / 0.6865 GB, free: 119.5 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)