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.07706/0.07706, allocations: 12.21 MB / 27.33 MB, free: 1.441 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.000994/0.000994, allocations: 119.4 kB / 30.83 MB, free: 4.711 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.265/1.265, allocations: 205.1 MB / 239.3 MB, free: 13.03 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.001382/0.001382, allocations: 184.5 kB / 289.5 MB, free: 14.14 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4191/0.4191, allocations: 78.5 MB / 418 MB, free: 12.02 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.00239/0.00239, allocations: 125 kB / 498.2 MB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2927, allocations: 68.03 MB / 0.553 GB, free: 32.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.007734/0.3005, allocations: 8.428 MB / 0.5612 GB, free: 26.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005181/0.3057, allocations: 2.536 MB / 0.5637 GB, free: 24.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.3068, allocations: 22 kB / 0.5637 GB, free: 24.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007587/0.3076, allocations: 242.8 kB / 0.5639 GB, free: 24.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.3105, allocations: 1.062 MB / 0.565 GB, free: 23.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.3119, allocations: 0.6354 MB / 0.5656 GB, free: 23.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002504/0.3144, allocations: 2.155 MB / 0.5677 GB, free: 21.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000493/0.3149, allocations: 358.6 kB / 0.568 GB, free: 21.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.316, allocations: 0.7772 MB / 0.5688 GB, free: 21.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009894/0.317, allocations: 1.04 MB / 0.5698 GB, free: 20.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002319/0.3173, allocations: 102.2 kB / 0.5699 GB, free: 20.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006768/0.318, allocations: 321.9 kB / 0.5702 GB, free: 20.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.3182, allocations: 379.2 kB / 0.5706 GB, free: 20.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005897/0.3188, allocations: 0.8111 MB / 0.5714 GB, free: 19.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.3203, allocations: 2.142 MB / 0.5735 GB, free: 17.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3204, allocations: 1.094 kB / 0.5735 GB, free: 17.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.3204, allocations: 0 / 0.5735 GB, free: 17.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.438e-05/0.3204, allocations: 0 / 0.5735 GB, free: 17.88 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.01305/0.3335, allocations: 3.715 MB / 0.5771 GB, free: 15.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3335, allocations: 15.98 kB / 0.5771 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004325/0.3378, allocations: 0.7471 MB / 0.5778 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.3396, allocations: 1.1 MB / 0.5789 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000321/0.3399, allocations: 424.6 kB / 0.5793 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.3401, allocations: 107.8 kB / 0.5794 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.3426, allocations: 1.393 MB / 0.5808 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.3426, allocations: 0 / 0.5808 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.3427, allocations: 40 kB / 0.5808 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.3428, allocations: 24 kB / 0.5808 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.3452, allocations: 1.308 MB / 0.5821 GB, free: 10.27 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.006909/0.3521, allocations: 4.821 MB / 0.5868 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007148/0.3593, allocations: 2.846 MB / 0.5896 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.3609, allocations: 0.9073 MB / 0.5905 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.361, allocations: 16.98 kB / 0.5905 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001921/0.363, allocations: 1.052 MB / 0.5915 GB, free: 252 kB / 398.1 MB Notification: Performance of pre-optimization done (n=122): time 4.419e-06/0.363, allocations: 0 / 0.5915 GB, free: 252 kB / 398.1 MB Notification: Performance of matching and sorting (n=122): time 0.0394/0.4024, allocations: 9.668 MB / 0.601 GB, free: 6.539 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.4025, allocations: 123.7 kB / 0.6011 GB, free: 6.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002446/0.405, allocations: 1.394 MB / 0.6025 GB, free: 4.984 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003442/0.4053, allocations: 57.7 kB / 0.6025 GB, free: 4.922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004697/0.4058, allocations: 0.5727 MB / 0.6031 GB, free: 4.344 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006315/0.4064, allocations: 449.7 kB / 0.6035 GB, free: 3.898 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008945/0.4073, allocations: 331.4 kB / 0.6038 GB, free: 3.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.876e-05/0.4074, allocations: 301.1 kB / 0.6041 GB, free: 3.273 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002094/0.4095, allocations: 0.9565 MB / 0.605 GB, free: 2.316 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/0.4117, allocations: 1.162 MB / 0.6062 GB, free: 1.105 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004097/0.4158, allocations: 2.05 MB / 0.6082 GB, free: 15.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.4159, allocations: 0 / 0.6082 GB, free: 15.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01683/0.4327, allocations: 5.395 MB / 0.6134 GB, free: 9.602 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.4328, allocations: 8 kB / 0.6135 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.4328, allocations: 4 kB / 0.6135 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009511/0.4423, allocations: 2.88 MB / 0.6163 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.4438, allocations: 283.6 kB / 0.6165 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006833/0.4506, allocations: 2.853 MB / 0.6193 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.4532, allocations: 250.3 kB / 0.6196 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/0.4535, allocations: 63.98 kB / 0.6196 GB, free: 3.246 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.0007526/0.4543, allocations: 293.5 kB / 0.6199 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005068/0.4548, allocations: 162 kB / 0.6201 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0158/0.4706, allocations: 4.721 MB / 0.6247 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/0.4707, allocations: 12 kB / 0.6247 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.4707, allocations: 7.984 kB / 0.6247 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-05/0.4707, allocations: 7.984 kB / 0.6247 GB, free: 14.01 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.01952/0.4903, allocations: 6.8 MB / 0.6313 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-05/0.4903, allocations: 4 kB / 0.6313 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009997/0.4913, allocations: 135.8 kB / 0.6315 GB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007403/0.4988, allocations: 2.138 MB / 0.6336 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002431/0.499, allocations: 27.98 kB / 0.6336 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02361/0.5227, allocations: 9.19 MB / 0.6426 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.5227, allocations: 4 kB / 0.6426 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/0.5411, allocations: 5.867 MB / 0.6483 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006349/0.5418, allocations: 270.8 kB / 0.6486 GB, free: 5.246 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005231/0.5423, allocations: 20 kB / 0.6486 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/0.5444, allocations: 135.8 kB / 0.6487 GB, free: 5.094 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001056/0.5455, allocations: 249 kB / 0.6489 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/0.5457, allocations: 39.98 kB / 0.649 GB, free: 4.809 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001783/0.5475, allocations: 0.9379 MB / 0.6499 GB, free: 3.871 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5475, allocations: 0 / 0.6499 GB, free: 3.871 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001982/0.5495, allocations: 0.519 MB / 0.6504 GB, free: 3.352 MB / 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.0004578/0.55, allocations: 159.1 kB / 0.6506 GB, free: 3.184 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008846/0.5588, allocations: 2.814 MB / 0.6533 GB, free: 384 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.5589, allocations: 0 / 0.6533 GB, free: 384 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00594/0.5648, allocations: 1.857 MB / 0.6551 GB, free: 14.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.5664, allocations: 133.1 kB / 0.6552 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005769/0.5722, allocations: 3.491 MB / 0.6586 GB, free: 10.85 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007283/0.573, allocations: 1.215 MB / 0.6598 GB, free: 9.602 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006156/0.5736, allocations: 137.7 kB / 0.66 GB, free: 9.465 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/0.574, allocations: 91.41 kB / 0.6601 GB, free: 9.375 MB / 478.1 MB Notification: Performance of SimCode: time 5.61e-07/0.574, allocations: 0 / 0.6601 GB, free: 9.375 MB / 478.1 MB Notification: Performance of Templates: time 0.03959/0.6136, allocations: 26.62 MB / 0.6861 GB, free: 14.77 MB / 0.4981 GB 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)