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.00737/0.00737, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.366/1.366, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001445/0.001445, allocations: 195.4 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4469/0.4469, allocations: 78.52 MB / 418.4 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 80.11 kB / 0.5536 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3171, allocations: 68.17 MB / 0.6202 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005264/0.3224, allocations: 6.986 MB / 0.627 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00357/0.326, allocations: 2.105 MB / 0.6291 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006647/0.3267, allocations: 23.81 kB / 0.6291 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006219/0.3273, allocations: 265.8 kB / 0.6293 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.329, allocations: 0.7718 MB / 0.6301 GB, free: 76 kB / 430.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.00158/0.3306, allocations: 0.7568 MB / 0.6308 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001764/0.3323, allocations: 1.725 MB / 0.6325 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005376/0.3329, allocations: 407.3 kB / 0.6329 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008572/0.3337, allocations: 0.7041 MB / 0.6336 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008988/0.3347, allocations: 0.8477 MB / 0.6344 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.3348, allocations: 132 kB / 0.6346 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004641/0.3353, allocations: 275.8 kB / 0.6348 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003063/0.3356, allocations: 342.6 kB / 0.6351 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005821/0.3362, allocations: 0.7146 MB / 0.6358 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.3379, allocations: 1.82 MB / 0.6376 GB, free: 8.332 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.338, allocations: 0 / 0.6376 GB, free: 8.332 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.338, allocations: 0 / 0.6376 GB, free: 8.332 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.338, allocations: 0 / 0.6376 GB, free: 8.332 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.008324/0.3463, allocations: 2.84 MB / 0.6404 GB, free: 5.426 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3464, allocations: 15.97 kB / 0.6404 GB, free: 5.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004834/0.3512, allocations: 0.7981 MB / 0.6412 GB, free: 4.609 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.3529, allocations: 0.9294 MB / 0.6421 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003439/0.3532, allocations: 335.5 kB / 0.6424 GB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/0.3534, allocations: 88 kB / 0.6425 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/0.3561, allocations: 1.287 MB / 0.6438 GB, free: 1.855 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.3562, allocations: 4 kB / 0.6438 GB, free: 1.852 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.3563, allocations: 36 kB / 0.6438 GB, free: 1.816 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.3563, allocations: 24 kB / 0.6438 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002738/0.3591, allocations: 1.198 MB / 0.645 GB, free: 0.5938 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 preOpt removeSimpleEquations (simulation): time 0.007456/0.3665, allocations: 4.144 MB / 0.649 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003557/0.3701, allocations: 1.776 MB / 0.6508 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/0.3721, allocations: 0.8617 MB / 0.6516 GB, free: 9.523 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.3723, allocations: 12.98 kB / 0.6516 GB, free: 9.512 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002143/0.3744, allocations: 0.9667 MB / 0.6526 GB, free: 8.523 MB / 462.1 MB Notification: Performance of pre-optimization done (n=108): time 3.317e-06/0.3744, allocations: 0 / 0.6526 GB, free: 8.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.03167/0.4061, allocations: 7.901 MB / 0.6603 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.4062, allocations: 115.8 kB / 0.6604 GB, free: 428 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.408, allocations: 1.041 MB / 0.6614 GB, free: 15.36 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002546/0.4082, allocations: 45.7 kB / 0.6615 GB, free: 15.31 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004335/0.4087, allocations: 0.5207 MB / 0.662 GB, free: 14.79 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005297/0.4092, allocations: 398.4 kB / 0.6623 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004822/0.4097, allocations: 239.5 kB / 0.6626 GB, free: 14.15 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4099, allocations: 357.9 kB / 0.6629 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.4116, allocations: 0.7847 MB / 0.6637 GB, free: 13.01 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.4134, allocations: 0.9483 MB / 0.6646 GB, free: 12.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02215/0.4356, allocations: 5.485 MB / 0.67 GB, free: 6.453 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/0.4356, allocations: 3.938 kB / 0.67 GB, free: 6.449 MB / 478.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01363/0.4493, allocations: 4.463 MB / 0.6743 GB, free: 1.957 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.827e-05/0.4494, allocations: 63.39 kB / 0.6744 GB, free: 1.883 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.4494, allocations: 0 / 0.6744 GB, free: 1.883 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005762/0.4552, allocations: 1.733 MB / 0.6761 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.4567, allocations: 283.6 kB / 0.6763 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02062/0.4773, allocations: 9.04 MB / 0.6852 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.4791, allocations: 206.8 kB / 0.6854 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/0.4793, allocations: 47.98 kB / 0.6854 GB, free: 6.426 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.0005711/0.4798, allocations: 297.5 kB / 0.6857 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002614/0.4801, allocations: 130.4 kB / 0.6858 GB, free: 5.992 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/0.4947, allocations: 4.412 MB / 0.6901 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.4947, allocations: 12 kB / 0.6901 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4947, allocations: 0 / 0.6901 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/0.4948, allocations: 7.984 kB / 0.6902 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01698/0.5118, allocations: 6.255 MB / 0.6963 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.5118, allocations: 0 / 0.6963 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007873/0.5126, allocations: 127.8 kB / 0.6964 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006446/0.5191, allocations: 1.907 MB / 0.6982 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002162/0.5193, allocations: 24 kB / 0.6983 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02327/0.5426, allocations: 10.72 MB / 0.7087 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5426, allocations: 0 / 0.7087 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01658/0.5592, allocations: 5.429 MB / 0.714 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006124/0.5599, allocations: 223.2 kB / 0.7143 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.5601, allocations: 20 kB / 0.7143 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.5614, allocations: 135.8 kB / 0.7144 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008441/0.5623, allocations: 236.6 kB / 0.7146 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.5624, allocations: 31.98 kB / 0.7147 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001092/0.5635, allocations: 0.7045 MB / 0.7153 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5635, allocations: 0 / 0.7153 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001452/0.565, allocations: 491.4 kB / 0.7158 GB, free: 6.758 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.0003256/0.5653, allocations: 131.3 kB / 0.7159 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006869/0.5722, allocations: 2.734 MB / 0.7186 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.5722, allocations: 8.062 kB / 0.7186 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004916/0.5771, allocations: 1.876 MB / 0.7204 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009571/0.5781, allocations: 130.3 kB / 0.7206 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00465/0.5828, allocations: 2.482 MB / 0.723 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/0.5835, allocations: 1.147 MB / 0.7241 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004036/0.5839, allocations: 120.3 kB / 0.7242 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.5842, allocations: 79.42 kB / 0.7243 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of SimCode: time 7.82e-07/0.5842, allocations: 0 / 0.7243 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of Templates: time 0.04289/0.6271, allocations: 27.63 MB / 0.7513 GB, free: 2.281 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)