Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.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.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007205/0.007205, allocations: 102.2 kB / 15.73 MB, free: 5.516 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.407/1.407, allocations: 222.9 MB / 239.4 MB, free: 4.457 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.001334/0.001334, allocations: 192.4 kB / 289.7 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4563/0.4563, allocations: 78.53 MB / 418.4 MB, free: 3.121 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 87.81 kB / 0.5536 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3587, allocations: 68.16 MB / 0.6202 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.006399/0.3652, allocations: 6.997 MB / 0.627 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004477/0.3697, allocations: 2.113 MB / 0.6291 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.3708, allocations: 23.88 kB / 0.6291 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008293/0.3717, allocations: 257.8 kB / 0.6294 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002108/0.3738, allocations: 0.7679 MB / 0.6301 GB, free: 15.96 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation generator.xq <> generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.3758, allocations: 0.754 MB / 0.6308 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002388/0.3782, allocations: 1.725 MB / 0.6325 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006169/0.3788, allocations: 415 kB / 0.6329 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.3799, allocations: 0.7003 MB / 0.6336 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.381, allocations: 0.8399 MB / 0.6344 GB, free: 11.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002119/0.3812, allocations: 132 kB / 0.6346 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006063/0.3818, allocations: 271.8 kB / 0.6348 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000324/0.3822, allocations: 346.6 kB / 0.6351 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006874/0.3829, allocations: 0.7224 MB / 0.6358 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.3851, allocations: 1.818 MB / 0.6376 GB, free: 8.219 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3851, allocations: 0 / 0.6376 GB, free: 8.219 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3851, allocations: 0 / 0.6376 GB, free: 8.219 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.833e-05/0.3851, allocations: 0 / 0.6376 GB, free: 8.219 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00931/0.3945, allocations: 2.897 MB / 0.6405 GB, free: 5.254 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3945, allocations: 11.97 kB / 0.6405 GB, free: 5.242 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005199/0.3997, allocations: 0.8029 MB / 0.6412 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.4018, allocations: 0.9421 MB / 0.6422 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000412/0.4022, allocations: 327.6 kB / 0.6425 GB, free: 3.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.4024, allocations: 95.94 kB / 0.6426 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002742/0.4052, allocations: 1.299 MB / 0.6438 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.4052, allocations: 0 / 0.6438 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.4054, allocations: 35.98 kB / 0.6439 GB, free: 1.625 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.4054, allocations: 20 kB / 0.6439 GB, free: 1.605 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002651/0.408, allocations: 1.198 MB / 0.6451 GB, free: 416 kB / 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 preOpt removeSimpleEquations (simulation): time 0.007524/0.4156, allocations: 4.153 MB / 0.6491 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003346/0.419, allocations: 1.771 MB / 0.6508 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/0.4208, allocations: 0.8602 MB / 0.6517 GB, free: 9.332 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.4209, allocations: 16.98 kB / 0.6517 GB, free: 9.316 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001957/0.4228, allocations: 0.9621 MB / 0.6526 GB, free: 8.332 MB / 462.1 MB Notification: Performance of pre-optimization done (n=108): time 3.316e-06/0.4229, allocations: 0 / 0.6526 GB, free: 8.332 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.03373/0.4566, allocations: 7.906 MB / 0.6604 GB, free: 368 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/0.4567, allocations: 115.8 kB / 0.6605 GB, free: 228 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/0.459, allocations: 1.045 MB / 0.6615 GB, free: 15.16 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003593/0.4593, allocations: 53.69 kB / 0.6615 GB, free: 15.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005234/0.4599, allocations: 0.5292 MB / 0.6621 GB, free: 14.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005066/0.4604, allocations: 404.5 kB / 0.6624 GB, free: 14.17 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005504/0.461, allocations: 247.5 kB / 0.6627 GB, free: 13.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002328/0.4612, allocations: 357.9 kB / 0.663 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/0.463, allocations: 0.7886 MB / 0.6638 GB, free: 12.78 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.465, allocations: 0.9444 MB / 0.6647 GB, free: 11.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02288/0.4879, allocations: 5.477 MB / 0.6701 GB, free: 6.234 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/0.4879, allocations: 7.938 kB / 0.6701 GB, free: 6.227 MB / 478.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01445/0.5024, allocations: 4.46 MB / 0.6744 GB, free: 1.738 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.5026, allocations: 63.41 kB / 0.6745 GB, free: 1.664 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.5026, allocations: 11.98 kB / 0.6745 GB, free: 1.652 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006086/0.5087, allocations: 1.734 MB / 0.6762 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.5103, allocations: 279.5 kB / 0.6765 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02164/0.532, allocations: 9.057 MB / 0.6853 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.5341, allocations: 207.1 kB / 0.6855 GB, free: 6.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003226/0.5344, allocations: 51.92 kB / 0.6856 GB, free: 6.18 MB / 494.1 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real generator.e1q:VARIABLE(start = generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 2 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0008961/0.5353, allocations: 295.8 kB / 0.6858 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004414/0.5358, allocations: 139.1 kB / 0.686 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01467/0.5505, allocations: 4.408 MB / 0.6903 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/0.5505, allocations: 12 kB / 0.6903 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.5506, allocations: 3.984 kB / 0.6903 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.963e-05/0.5506, allocations: 7.984 kB / 0.6903 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01895/0.5695, allocations: 6.26 MB / 0.6964 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/0.5696, allocations: 0 / 0.6964 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009154/0.5705, allocations: 123.9 kB / 0.6965 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006614/0.5772, allocations: 1.907 MB / 0.6984 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002727/0.5775, allocations: 20 kB / 0.6984 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02431/0.6018, allocations: 10.73 MB / 0.7089 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6019, allocations: 0 / 0.7089 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01782/0.6197, allocations: 5.434 MB / 0.7142 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007874/0.6205, allocations: 231.9 kB / 0.7144 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006241/0.6212, allocations: 16 kB / 0.7144 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/0.623, allocations: 143.8 kB / 0.7146 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008794/0.6239, allocations: 232.6 kB / 0.7148 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/0.624, allocations: 35.98 kB / 0.7148 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001393/0.6254, allocations: 0.7084 MB / 0.7155 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6255, allocations: 0 / 0.7155 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002383/0.6278, allocations: 483.8 kB / 0.716 GB, free: 6.488 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004272/0.6283, allocations: 136.6 kB / 0.7161 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00759/0.6359, allocations: 2.751 MB / 0.7188 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.6359, allocations: 0 / 0.7188 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005547/0.6415, allocations: 1.895 MB / 0.7206 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.6433, allocations: 127.7 kB / 0.7208 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005766/0.6491, allocations: 2.522 MB / 0.7232 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009902/0.6501, allocations: 1.155 MB / 0.7244 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000529/0.6507, allocations: 116.3 kB / 0.7245 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.651, allocations: 75.42 kB / 0.7245 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.651, allocations: 4 kB / 0.7245 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of Templates: time 0.04337/0.6944, allocations: 27.63 MB / 0.7515 GB, free: 1.941 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)