Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_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_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005459/0.005459, allocations: 171.3 kB / 15.12 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 223.2 MB / 239 MB, free: 15.85 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008478/0.0008478, allocations: 99.36 kB / 290.2 MB, free: 4.598 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5099/0.5099, allocations: 78.58 MB / 419.9 MB, free: 36.5 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003217, allocations: 12 kB / 499.8 MB, free: 7.227 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1124, allocations: 69.36 MB / 0.5558 GB, free: 1.801 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005392/0.1178, allocations: 6.122 MB / 0.5618 GB, free: 11.65 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003471/0.1213, allocations: 2.083 MB / 0.5638 GB, free: 9.559 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007901/0.1222, allocations: 15.94 kB / 0.5638 GB, free: 9.543 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007227/0.1229, allocations: 186.6 kB / 0.564 GB, free: 9.359 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.1247, allocations: 0.6992 MB / 0.5647 GB, free: 8.66 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001363/0.1261, allocations: 0.614 MB / 0.5653 GB, free: 8.055 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.1276, allocations: 1.072 MB / 0.5663 GB, free: 6.98 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004509/0.1281, allocations: 320.7 kB / 0.5666 GB, free: 6.648 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007667/0.1289, allocations: 0.5992 MB / 0.5672 GB, free: 6.047 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008724/0.1297, allocations: 0.7117 MB / 0.5679 GB, free: 5.332 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002281/0.13, allocations: 60 kB / 0.568 GB, free: 5.273 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000445/0.1304, allocations: 175.8 kB / 0.5681 GB, free: 5.102 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.1307, allocations: 250.9 kB / 0.5684 GB, free: 4.855 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.1309, allocations: 245 kB / 0.5686 GB, free: 4.609 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.132, allocations: 1.293 MB / 0.5699 GB, free: 3.312 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.132, allocations: 0 / 0.5699 GB, free: 3.312 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.132, allocations: 0 / 0.5699 GB, free: 3.312 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.132, allocations: 0 / 0.5699 GB, free: 3.312 MB / 442.7 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.00759/0.1396, allocations: 2.658 MB / 0.5725 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.1397, allocations: 20.02 kB / 0.5725 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2087/0.3484, allocations: 0.7952 MB / 0.5733 GB, free: 44.33 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.3504, allocations: 0.875 MB / 0.5741 GB, free: 44.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003304/0.3507, allocations: 343.6 kB / 0.5745 GB, free: 43.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.3509, allocations: 91.81 kB / 0.5745 GB, free: 43.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/0.3536, allocations: 1.351 MB / 0.5759 GB, free: 43.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3536, allocations: 0.7812 kB / 0.5759 GB, free: 43.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.3537, allocations: 35.52 kB / 0.5759 GB, free: 43.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.3538, allocations: 26.48 kB / 0.5759 GB, free: 43.74 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/0.3564, allocations: 1.287 MB / 0.5772 GB, free: 43.73 MB / 442.7 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.006837/0.3632, allocations: 4.368 MB / 0.5814 GB, free: 42.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003559/0.3668, allocations: 1.874 MB / 0.5833 GB, free: 41.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.3669, allocations: 18.47 kB / 0.5833 GB, free: 41.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002232/0.3692, allocations: 1.027 MB / 0.5843 GB, free: 41.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=108): time 2.926e-06/0.3692, allocations: 0 / 0.5843 GB, free: 41.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=108): time 0.03528/0.4045, allocations: 9.427 MB / 0.5935 GB, free: 40.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.4045, allocations: 117.7 kB / 0.5936 GB, free: 40.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.4058, allocations: 1.033 MB / 0.5946 GB, free: 40.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002027/0.406, allocations: 44.83 kB / 0.5947 GB, free: 40.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.4063, allocations: 0.5279 MB / 0.5952 GB, free: 39.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/0.4067, allocations: 389.1 kB / 0.5955 GB, free: 39.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.97e-05/0.4068, allocations: 26.69 kB / 0.5956 GB, free: 39.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.623e-05/0.4068, allocations: 360.6 kB / 0.5959 GB, free: 39.24 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.4085, allocations: 0.8589 MB / 0.5968 GB, free: 38.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.4101, allocations: 1.01 MB / 0.5977 GB, free: 38.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.4119, allocations: 0.9786 MB / 0.5987 GB, free: 38.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.4119, allocations: 0 / 0.5987 GB, free: 38.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01443/0.4263, allocations: 5.412 MB / 0.604 GB, free: 36.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.4264, allocations: 57.28 kB / 0.604 GB, free: 36.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.4264, allocations: 2.906 kB / 0.604 GB, free: 36.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006589/0.433, allocations: 2.159 MB / 0.6061 GB, free: 36.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.4345, allocations: 293.4 kB / 0.6064 GB, free: 36.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02291/0.4574, allocations: 10.18 MB / 0.6164 GB, free: 32.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.4594, allocations: 251 kB / 0.6166 GB, free: 31.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/0.4597, allocations: 48.8 kB / 0.6167 GB, free: 31.93 MB / 442.7 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 exciter_Type_II.firstOrder2.y:VARIABLE(flow=false start = exciter_Type_II.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" fixed = true ) "d-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 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 2 * 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 {25 13} Notification: Performance of prepare postOptimizeDAE: time 0.0007059/0.4605, allocations: 301.8 kB / 0.6169 GB, free: 31.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.4608, allocations: 129.7 kB / 0.6171 GB, free: 31.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01705/0.4778, allocations: 5.323 MB / 0.6223 GB, free: 30.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.4779, allocations: 17.02 kB / 0.6223 GB, free: 30.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4779, allocations: 2.219 kB / 0.6223 GB, free: 30.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-05/0.478, allocations: 9.391 kB / 0.6223 GB, free: 30.44 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01862/0.4966, allocations: 7.25 MB / 0.6294 GB, free: 28.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.4966, allocations: 0 / 0.6294 GB, free: 28.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000693/0.4973, allocations: 131.6 kB / 0.6295 GB, free: 28.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006319/0.5036, allocations: 2.215 MB / 0.6317 GB, free: 26.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.5038, allocations: 20 kB / 0.6317 GB, free: 26.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02179/0.5256, allocations: 11.15 MB / 0.6426 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5256, allocations: 4.828 kB / 0.6426 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01676/0.5424, allocations: 6.429 MB / 0.6489 GB, free: 8.734 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004425/0.5429, allocations: 227.2 kB / 0.6491 GB, free: 8.492 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.5432, allocations: 21.19 kB / 0.6491 GB, free: 8.473 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.5446, allocations: 183.8 kB / 0.6493 GB, free: 8.293 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006357/0.5452, allocations: 228.6 kB / 0.6495 GB, free: 8.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.672e-05/0.5453, allocations: 31.98 kB / 0.6495 GB, free: 8.039 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009347/0.5463, allocations: 0.7006 MB / 0.6502 GB, free: 7.332 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5463, allocations: 0 / 0.6502 GB, free: 7.332 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001397/0.5477, allocations: 487.4 kB / 0.6507 GB, free: 6.855 MB / 442.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 13,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002412/0.5479, allocations: 142.2 kB / 0.6508 GB, free: 6.715 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006646/0.5546, allocations: 3.032 MB / 0.6538 GB, free: 3.656 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5546, allocations: 4 kB / 0.6538 GB, free: 3.652 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004926/0.5595, allocations: 2.06 MB / 0.6558 GB, free: 1.559 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000622/0.5602, allocations: 107.8 kB / 0.6559 GB, free: 1.453 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/0.5646, allocations: 2.967 MB / 0.6588 GB, free: 14.51 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007745/0.5654, allocations: 1.183 MB / 0.6599 GB, free: 13.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005393/0.5659, allocations: 118 kB / 0.66 GB, free: 13.17 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/0.5662, allocations: 71.42 kB / 0.6601 GB, free: 13.11 MB / 458.7 MB Notification: Performance of SimCode: time 7.11e-07/0.5663, allocations: 4 kB / 0.6601 GB, free: 13.1 MB / 458.7 MB Notification: Performance of Templates: time 0.03799/0.6043, allocations: 23.76 MB / 0.6833 GB, free: 5.496 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)