Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.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.EXST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXST1") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXST1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 105 kB / 15.98 MB, free: 6.348 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.227/1.227, allocations: 222.9 MB / 239.6 MB, free: 4.699 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.001272/0.001272, allocations: 192.5 kB / 289.9 MB, free: 2.434 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4154/0.4154, allocations: 78.53 MB / 418.6 MB, free: 3.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 71.89 kB / 497.6 MB, free: 6.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1276, allocations: 68.18 MB / 0.5525 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXST1): time 0.2174/0.345, allocations: 8.669 MB / 0.561 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005133/0.3502, allocations: 2.688 MB / 0.5636 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.3518, allocations: 13.88 kB / 0.5636 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.3528, allocations: 254 kB / 0.5639 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.356, allocations: 1.077 MB / 0.5649 GB, free: 33.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.3575, allocations: 0.692 MB / 0.5656 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002747/0.3603, allocations: 2.415 MB / 0.5679 GB, free: 33.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005909/0.3609, allocations: 415.2 kB / 0.5683 GB, free: 33.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.362, allocations: 0.9231 MB / 0.5692 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.3631, allocations: 1.16 MB / 0.5704 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000267/0.3634, allocations: 188 kB / 0.5706 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006405/0.364, allocations: 369.4 kB / 0.5709 GB, free: 32.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003024/0.3643, allocations: 480.2 kB / 0.5714 GB, free: 32.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006198/0.365, allocations: 0.9357 MB / 0.5723 GB, free: 32.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.3665, allocations: 1.794 MB / 0.574 GB, free: 32.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3665, allocations: 4.688 kB / 0.574 GB, free: 32.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3665, allocations: 0 / 0.574 GB, free: 32.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.339e-05/0.3666, allocations: 5.656 kB / 0.574 GB, free: 32.23 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.01341/0.38, allocations: 3.936 MB / 0.5779 GB, free: 31.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.38, allocations: 12.28 kB / 0.5779 GB, free: 31.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00426/0.3843, allocations: 0.7524 MB / 0.5786 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/0.3862, allocations: 1.149 MB / 0.5798 GB, free: 30.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004566/0.3867, allocations: 494.1 kB / 0.5802 GB, free: 29.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.3869, allocations: 114.7 kB / 0.5803 GB, free: 29.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/0.3897, allocations: 1.487 MB / 0.5818 GB, free: 29.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.3897, allocations: 1.688 kB / 0.5818 GB, free: 29.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.3898, allocations: 43.5 kB / 0.5818 GB, free: 29.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.3899, allocations: 26.56 kB / 0.5819 GB, free: 29.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003176/0.393, allocations: 1.436 MB / 0.5833 GB, free: 28.71 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.008528/0.4016, allocations: 4.975 MB / 0.5881 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008235/0.4098, allocations: 3.005 MB / 0.591 GB, free: 24.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002217/0.4121, allocations: 0.9649 MB / 0.592 GB, free: 24.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.4123, allocations: 25.78 kB / 0.592 GB, free: 24.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.4123, allocations: 53.72 kB / 0.5921 GB, free: 24.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=128): time 3.296e-06/0.4123, allocations: 1.25 kB / 0.5921 GB, free: 24.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=128): time 0.04139/0.4537, allocations: 10 MB / 0.6018 GB, free: 22.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.4538, allocations: 147.6 kB / 0.602 GB, free: 22.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/0.4562, allocations: 1.441 MB / 0.6034 GB, free: 21.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003744/0.4566, allocations: 55.55 kB / 0.6034 GB, free: 21.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.457, allocations: 0.606 MB / 0.604 GB, free: 21.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005555/0.4576, allocations: 475.1 kB / 0.6045 GB, free: 20.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006551/0.4583, allocations: 348.4 kB / 0.6048 GB, free: 20.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.4583, allocations: 306.2 kB / 0.6051 GB, free: 20.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002378/0.4607, allocations: 1.039 MB / 0.6061 GB, free: 20.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/0.4631, allocations: 1.248 MB / 0.6073 GB, free: 19.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004419/0.4676, allocations: 2.193 MB / 0.6095 GB, free: 18.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.4676, allocations: 2.312 kB / 0.6095 GB, free: 18.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=244) (initialization): time 0.009601/0.4772, allocations: 3.911 MB / 0.6133 GB, free: 16.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.4773, allocations: 5.5 kB / 0.6133 GB, free: 16.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.4773, allocations: 4.125 kB / 0.6133 GB, free: 16.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009525/0.4868, allocations: 3.061 MB / 0.6163 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.4883, allocations: 291.6 kB / 0.6166 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007196/0.4955, allocations: 3.231 MB / 0.6197 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/0.4981, allocations: 262.3 kB / 0.62 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002407/0.4984, allocations: 68.67 kB / 0.6201 GB, free: 9.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00246/0.5008, allocations: 1.238 MB / 0.6213 GB, free: 8.688 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00201/0.5029, allocations: 1.233 MB / 0.6225 GB, free: 7.406 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003794/0.5067, allocations: 2.175 MB / 0.6246 GB, free: 5.188 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.983e-06/0.5067, allocations: 0 / 0.6246 GB, free: 5.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=244) (initialization_lambda0): time 0.008646/0.5153, allocations: 3.875 MB / 0.6284 GB, free: 1.301 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.5154, allocations: 4.625 kB / 0.6284 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.5154, allocations: 4.797 kB / 0.6284 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009516/0.5249, allocations: 3.055 MB / 0.6314 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.5264, allocations: 295.6 kB / 0.6316 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007828/0.5343, allocations: 3.183 MB / 0.6348 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/0.5369, allocations: 239.2 kB / 0.635 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002498/0.5372, allocations: 71.97 kB / 0.6351 GB, free: 10.43 MB / 446.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 (171): * Single equations (assignments): 170 * 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,40)} Notification: Performance of prepare postOptimizeDAE: time 0.000436/0.5376, allocations: 267.8 kB / 0.6353 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004874/0.5381, allocations: 161.9 kB / 0.6355 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0159/0.554, allocations: 4.985 MB / 0.6403 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.5541, allocations: 17.12 kB / 0.6403 GB, free: 4.973 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.5541, allocations: 1.406 kB / 0.6403 GB, free: 4.973 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-05/0.5541, allocations: 7.969 kB / 0.6404 GB, free: 4.965 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.01969/0.5738, allocations: 7.267 MB / 0.6475 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/0.5739, allocations: 0.5 kB / 0.6475 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/0.5763, allocations: 443.5 kB / 0.6479 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007352/0.5837, allocations: 2.246 MB / 0.6501 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000282/0.584, allocations: 32.55 kB / 0.6501 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02984/0.6138, allocations: 14.08 MB / 0.6639 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.6139, allocations: 8.938 kB / 0.6639 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01939/0.6333, allocations: 6.314 MB / 0.67 GB, free: 5.992 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006926/0.634, allocations: 279.2 kB / 0.6703 GB, free: 5.699 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003934/0.6344, allocations: 29.22 kB / 0.6703 GB, free: 5.672 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/0.6362, allocations: 143.8 kB / 0.6705 GB, free: 5.531 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008372/0.6371, allocations: 265.4 kB / 0.6707 GB, free: 5.273 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.6372, allocations: 28 kB / 0.6707 GB, free: 5.246 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001477/0.6387, allocations: 0.9824 MB / 0.6717 GB, free: 4.266 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6387, allocations: 0 / 0.6717 GB, free: 4.266 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002462/0.6412, allocations: 0.8779 MB / 0.6726 GB, free: 3.387 MB / 478.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,eXST1.imLeadLag.TF.x_scaled[1],eXST1.Vm1.state,eXST1.imDerivativeLag.x,eXST1.TransducerDelay.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 (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,6), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003436/0.6415, allocations: 135.8 kB / 0.6727 GB, free: 3.242 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0177/0.6592, allocations: 5.421 MB / 0.678 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.6593, allocations: 0 / 0.678 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008054/0.6673, allocations: 2.383 MB / 0.6803 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.669, allocations: 149.3 kB / 0.6804 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006496/0.6755, allocations: 3.813 MB / 0.6842 GB, free: 7.508 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007095/0.6763, allocations: 1.238 MB / 0.6854 GB, free: 6.242 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005763/0.6769, allocations: 103.4 kB / 0.6855 GB, free: 6.141 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6769, allocations: 0 / 0.6855 GB, free: 6.141 MB / 494.1 MB Notification: Performance of Templates: time 0.03583/0.7127, allocations: 32.19 MB / 0.7169 GB, free: 6.055 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXST1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe 2>&1)