Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001093/0.001093, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.317/1.317, allocations: 223.3 MB / 239 MB, free: 5.434 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.0009555/0.0009556, allocations: 184.5 kB / 290.3 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5044/0.5044, allocations: 91.91 MB / 433.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 12 kB / 0.5042 GB, free: 7.598 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3093, allocations: 72.48 MB / 0.5749 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ST5B): time 0.006297/0.3156, allocations: 9.091 MB / 0.5838 GB, free: 30.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005209/0.3208, allocations: 3.268 MB / 0.587 GB, free: 28.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/0.3225, allocations: 26.25 kB / 0.587 GB, free: 28.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008574/0.3234, allocations: 265.2 kB / 0.5873 GB, free: 27.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002413/0.3258, allocations: 0.8853 MB / 0.5882 GB, free: 27.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.3278, allocations: 0.9764 MB / 0.5891 GB, free: 26.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002771/0.3306, allocations: 2.592 MB / 0.5916 GB, free: 25.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.3317, allocations: 0.571 MB / 0.5922 GB, free: 25.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.333, allocations: 0.8846 MB / 0.5931 GB, free: 24.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.3346, allocations: 1.175 MB / 0.5942 GB, free: 24.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006158/0.3353, allocations: 110.7 kB / 0.5943 GB, free: 24.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.3363, allocations: 274 kB / 0.5946 GB, free: 24.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005394/0.3369, allocations: 437.5 kB / 0.595 GB, free: 24.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006052/0.3375, allocations: 392.9 kB / 0.5954 GB, free: 23.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002159/0.3397, allocations: 2.437 MB / 0.5978 GB, free: 23.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3397, allocations: 1.031 kB / 0.5978 GB, free: 23.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3397, allocations: 3.938 kB / 0.5978 GB, free: 23.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000109/0.3398, allocations: 0 / 0.5978 GB, free: 23.13 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.0119/0.3517, allocations: 3.927 MB / 0.6016 GB, free: 21.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3518, allocations: 13.59 kB / 0.6016 GB, free: 21.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004852/0.3566, allocations: 0.8258 MB / 0.6024 GB, free: 21.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/0.3596, allocations: 1.429 MB / 0.6038 GB, free: 20.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000477/0.3601, allocations: 474.8 kB / 0.6043 GB, free: 20.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005174/0.3607, allocations: 156.6 kB / 0.6044 GB, free: 20.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004861/0.3655, allocations: 2.149 MB / 0.6065 GB, free: 19.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/0.3656, allocations: 4.969 kB / 0.6065 GB, free: 19.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/0.3658, allocations: 61.09 kB / 0.6066 GB, free: 19.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/0.3659, allocations: 36 kB / 0.6066 GB, free: 19.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004379/0.3703, allocations: 1.943 MB / 0.6085 GB, free: 18.42 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.01324/0.3835, allocations: 7.494 MB / 0.6158 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009384/0.3929, allocations: 4.035 MB / 0.6198 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002653/0.3956, allocations: 1.219 MB / 0.6209 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.3959, allocations: 27.98 kB / 0.621 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002681/0.3986, allocations: 1.409 MB / 0.6224 GB, free: 11.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=163): time 4.228e-06/0.3986, allocations: 0 / 0.6224 GB, free: 11.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=163): time 0.03714/0.4357, allocations: 12.75 MB / 0.6348 GB, free: 15.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.4359, allocations: 312 kB / 0.6351 GB, free: 15.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/0.4383, allocations: 1.762 MB / 0.6368 GB, free: 13.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002714/0.4386, allocations: 65.58 kB / 0.6369 GB, free: 13.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006027/0.4392, allocations: 0.8519 MB / 0.6377 GB, free: 12.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005629/0.4397, allocations: 0.5893 MB / 0.6383 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.4399, allocations: 48 kB / 0.6383 GB, free: 12.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4401, allocations: 394.7 kB / 0.6387 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00265/0.4427, allocations: 1.293 MB / 0.64 GB, free: 10.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002995/0.4457, allocations: 1.656 MB / 0.6416 GB, free: 8.641 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002901/0.4486, allocations: 1.402 MB / 0.643 GB, free: 7.215 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.4487, allocations: 0 / 0.643 GB, free: 7.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.01243/0.4611, allocations: 5.363 MB / 0.6482 GB, free: 1.789 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000197/0.4613, allocations: 280.6 kB / 0.6485 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.4614, allocations: 4 kB / 0.6485 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01263/0.474, allocations: 4.183 MB / 0.6526 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/0.4755, allocations: 327.5 kB / 0.6529 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01963/0.4952, allocations: 11 MB / 0.6636 GB, free: 1.336 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/0.4998, allocations: 377.9 kB / 0.664 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006581/0.5005, allocations: 83.98 kB / 0.664 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.5005, allocations: 4 kB / 0.6641 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01781/0.5183, allocations: 4.56 MB / 0.6685 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.35e-05/0.5184, allocations: 11.98 kB / 0.6685 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01836/0.5368, allocations: 3.894 MB / 0.6723 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/0.5389, allocations: 327.5 kB / 0.6726 GB, free: 8.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01955/0.5585, allocations: 9.546 MB / 0.682 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003955/0.5625, allocations: 314.3 kB / 0.6823 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006701/0.5632, allocations: 87.92 kB / 0.6823 GB, free: 13.52 MB / 494.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.001859/0.565, allocations: 469.6 kB / 0.6828 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/0.5661, allocations: 209.4 kB / 0.683 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0274/0.5935, allocations: 6.391 MB / 0.6892 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-05/0.5936, allocations: 19.98 kB / 0.6892 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.5936, allocations: 3.938 kB / 0.6892 GB, free: 6.406 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-05/0.5937, allocations: 11.97 kB / 0.6893 GB, free: 6.395 MB / 494.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.0345/0.6282, allocations: 8.969 MB / 0.698 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/0.6283, allocations: 0 / 0.698 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002055/0.6304, allocations: 255.8 kB / 0.6983 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01211/0.6425, allocations: 2.521 MB / 0.7007 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005018/0.643, allocations: 39.98 kB / 0.7008 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03803/0.6811, allocations: 10.31 MB / 0.7108 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/0.6812, allocations: 3.938 kB / 0.7108 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02085/0.702, allocations: 7.861 MB / 0.7185 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008011/0.7029, allocations: 338 kB / 0.7188 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000391/0.7033, allocations: 32 kB / 0.7189 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001727/0.705, allocations: 223.8 kB / 0.7191 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007488/0.7058, allocations: 289.1 kB / 0.7194 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.7059, allocations: 43.98 kB / 0.7194 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00164/0.7075, allocations: 1.169 MB / 0.7205 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7075, allocations: 0 / 0.7205 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0029/0.7105, allocations: 1.092 MB / 0.7216 GB, free: 4.895 MB / 0.5137 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.0003543/0.7108, allocations: 159.9 kB / 0.7218 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01916/0.73, allocations: 7.709 MB / 0.7293 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.73, allocations: 3.984 kB / 0.7293 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006915/0.737, allocations: 2.42 MB / 0.7317 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/0.7394, allocations: 228 kB / 0.7319 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008473/0.7479, allocations: 4.83 MB / 0.7366 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.749, allocations: 1.436 MB / 0.738 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001273/0.7503, allocations: 213.4 kB / 0.7382 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005573/0.7509, allocations: 123.4 kB / 0.7383 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of SimCode: time 7.91e-07/0.7509, allocations: 0 / 0.7383 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of Templates: time 0.2855/1.036, allocations: 42.06 MB / 0.7794 GB, free: 165.3 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe 2>&1)