Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.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.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.302/1.302, allocations: 223.2 MB / 238.9 MB, free: 5.648 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.001117/0.001116, allocations: 193 kB / 290.2 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4487/0.4487, allocations: 78.52 MB / 419.8 MB, free: 4.383 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003791, allocations: 8 kB / 499.7 MB, free: 6.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1134, allocations: 69.36 MB / 0.5557 GB, free: 1 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ST5B): time 0.2411/0.3545, allocations: 8.714 MB / 0.5642 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007148/0.3617, allocations: 3.283 MB / 0.5674 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00283/0.3646, allocations: 27.44 kB / 0.5674 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.3662, allocations: 262 kB / 0.5677 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004718/0.3709, allocations: 1.145 MB / 0.5688 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.3737, allocations: 0.8955 MB / 0.5697 GB, free: 34.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004109/0.3778, allocations: 1.859 MB / 0.5715 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.3791, allocations: 0.5623 MB / 0.572 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.381, allocations: 0.8983 MB / 0.5729 GB, free: 33.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002068/0.3831, allocations: 1.175 MB / 0.5741 GB, free: 32.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008835/0.384, allocations: 109.7 kB / 0.5742 GB, free: 32.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.3853, allocations: 258.7 kB / 0.5744 GB, free: 32.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008099/0.3861, allocations: 447.3 kB / 0.5748 GB, free: 32.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008418/0.387, allocations: 394.4 kB / 0.5752 GB, free: 32.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003116/0.3901, allocations: 2.396 MB / 0.5776 GB, free: 31.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3901, allocations: 2.812 kB / 0.5776 GB, free: 31.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3902, allocations: 0 / 0.5776 GB, free: 31.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001759/0.3903, allocations: 0 / 0.5776 GB, free: 31.69 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.01494/0.4053, allocations: 4.213 MB / 0.5817 GB, free: 30.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.4053, allocations: 12.84 kB / 0.5817 GB, free: 30.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00512/0.4105, allocations: 0.8326 MB / 0.5825 GB, free: 29.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003152/0.4137, allocations: 1.431 MB / 0.5839 GB, free: 29.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004711/0.4141, allocations: 480.6 kB / 0.5844 GB, free: 28.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005325/0.4147, allocations: 155.2 kB / 0.5845 GB, free: 28.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00485/0.4196, allocations: 2.139 MB / 0.5866 GB, free: 27.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.4196, allocations: 1.281 kB / 0.5866 GB, free: 27.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/0.4199, allocations: 58.22 kB / 0.5866 GB, free: 27.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.933e-05/0.4199, allocations: 35.22 kB / 0.5867 GB, free: 27.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004585/0.4245, allocations: 1.947 MB / 0.5886 GB, free: 26.98 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.01479/0.4393, allocations: 7.633 MB / 0.596 GB, free: 22.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/0.4502, allocations: 4.022 MB / 0.6 GB, free: 20.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000295/0.4505, allocations: 30.47 kB / 0.6 GB, free: 20.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003561/0.4541, allocations: 1.391 MB / 0.6013 GB, free: 20.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=163): time 5.49e-06/0.4541, allocations: 5.594 kB / 0.6014 GB, free: 20.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=163): time 0.04734/0.5015, allocations: 12.76 MB / 0.6138 GB, free: 17.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.849e-05/0.5016, allocations: 304.5 kB / 0.6141 GB, free: 16.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003016/0.5046, allocations: 1.771 MB / 0.6158 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004453/0.5051, allocations: 57.7 kB / 0.6159 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005899/0.5057, allocations: 0.8489 MB / 0.6167 GB, free: 15.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006894/0.5064, allocations: 0.5834 MB / 0.6173 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003041/0.5067, allocations: 50.72 kB / 0.6173 GB, free: 14.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5068, allocations: 401.8 kB / 0.6177 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002672/0.5095, allocations: 1.296 MB / 0.619 GB, free: 12.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002739/0.5123, allocations: 1.644 MB / 0.6206 GB, free: 11.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/0.515, allocations: 1.398 MB / 0.622 GB, free: 9.801 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.515, allocations: 7.938 kB / 0.622 GB, free: 9.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.0116/0.5266, allocations: 5.363 MB / 0.6272 GB, free: 4.367 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004304/0.527, allocations: 2.461 MB / 0.6296 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.5271, allocations: 4 kB / 0.6296 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01267/0.5397, allocations: 4.172 MB / 0.6337 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.5413, allocations: 333.6 kB / 0.634 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01714/0.5585, allocations: 11.12 MB / 0.6449 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/0.5616, allocations: 375 kB / 0.6452 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000432/0.5621, allocations: 87.97 kB / 0.6453 GB, free: 1.066 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.5621, allocations: 4 kB / 0.6453 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01093/0.5731, allocations: 4.564 MB / 0.6498 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.5731, allocations: 8 kB / 0.6498 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01192/0.585, allocations: 3.886 MB / 0.6536 GB, free: 8.539 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.5866, allocations: 331.5 kB / 0.6539 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/0.5989, allocations: 9.614 MB / 0.6633 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/0.6017, allocations: 318.2 kB / 0.6636 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003695/0.6021, allocations: 87.11 kB / 0.6637 GB, free: 13.66 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,36 58} Notification: Performance of prepare postOptimizeDAE: time 0.001266/0.6034, allocations: 469.8 kB / 0.6641 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006534/0.604, allocations: 221.3 kB / 0.6643 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01808/0.6221, allocations: 6.384 MB / 0.6705 GB, free: 6.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.6222, allocations: 16 kB / 0.6706 GB, free: 6.555 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6222, allocations: 0 / 0.6706 GB, free: 6.555 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.707e-05/0.6223, allocations: 7.969 kB / 0.6706 GB, free: 6.547 MB / 478.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.02322/0.6455, allocations: 9.031 MB / 0.6794 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.6455, allocations: 0 / 0.6794 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.6468, allocations: 251.7 kB / 0.6796 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007872/0.6547, allocations: 2.513 MB / 0.6821 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002456/0.655, allocations: 41.86 kB / 0.6821 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02656/0.6815, allocations: 10.9 MB / 0.6928 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/0.6816, allocations: 0 / 0.6928 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.022/0.7036, allocations: 7.898 MB / 0.7005 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008395/0.7045, allocations: 334.1 kB / 0.7008 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007505/0.7052, allocations: 32 kB / 0.7008 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002375/0.7076, allocations: 231.8 kB / 0.701 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000908/0.7085, allocations: 281.2 kB / 0.7013 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002375/0.7088, allocations: 47.98 kB / 0.7014 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002178/0.711, allocations: 1.169 MB / 0.7025 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.711, allocations: 0 / 0.7025 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005039/0.716, allocations: 1.092 MB / 0.7036 GB, free: 4.359 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (gENCLS.omega,gENCLS.delta,gENCLS.eq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq) * 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 (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004663/0.7165, allocations: 160.8 kB / 0.7037 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02082/0.7374, allocations: 7.71 MB / 0.7113 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.7374, allocations: 3.938 kB / 0.7113 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007069/0.7445, allocations: 2.415 MB / 0.7136 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.7462, allocations: 204.9 kB / 0.7138 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00863/0.7549, allocations: 4.886 MB / 0.7186 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.7561, allocations: 1.483 MB / 0.72 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001308/0.7574, allocations: 219 kB / 0.7202 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/0.758, allocations: 119.4 kB / 0.7204 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of SimCode: time 2.164e-06/0.758, allocations: 4 kB / 0.7204 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of Templates: time 0.06902/0.8271, allocations: 42.01 MB / 0.7614 GB, free: 9.129 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe 2>&1) Environment - environmentSimulation: