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.0008627/0.0008626, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.267/1.267, allocations: 223.2 MB / 239 MB, free: 5.465 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.00109/0.00109, allocations: 197 kB / 290.2 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.415/0.415, allocations: 78.52 MB / 419.8 MB, free: 4.305 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.00037, allocations: 15.98 kB / 499.7 MB, free: 6.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1117, allocations: 69.35 MB / 0.5557 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.1902/0.302, allocations: 6.122 MB / 0.5617 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.3051, allocations: 2.085 MB / 0.5637 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006072/0.3057, allocations: 18.22 kB / 0.5637 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000539/0.3063, allocations: 179.6 kB / 0.5639 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.3078, allocations: 0.7036 MB / 0.5646 GB, free: 36.8 MB / 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.00125/0.309, allocations: 0.5999 MB / 0.5652 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.3104, allocations: 1.073 MB / 0.5662 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004254/0.3108, allocations: 326.6 kB / 0.5665 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006817/0.3115, allocations: 0.6076 MB / 0.5671 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006367/0.3121, allocations: 0.7056 MB / 0.5678 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.3123, allocations: 60.03 kB / 0.5679 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000364/0.3127, allocations: 169.2 kB / 0.568 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.3129, allocations: 254.4 kB / 0.5683 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.3131, allocations: 249 kB / 0.5685 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009376/0.314, allocations: 1.297 MB / 0.5698 GB, free: 35.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.314, allocations: 0 / 0.5698 GB, free: 35.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.314, allocations: 0 / 0.5698 GB, free: 35.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.528e-05/0.3141, allocations: 0 / 0.5698 GB, free: 35.9 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.007606/0.3217, allocations: 2.656 MB / 0.5724 GB, free: 34.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.3217, allocations: 9.938 kB / 0.5724 GB, free: 34.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004766/0.3265, allocations: 0.8076 MB / 0.5732 GB, free: 34.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.328, allocations: 0.882 MB / 0.574 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/0.3283, allocations: 344.1 kB / 0.5743 GB, free: 34.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.3285, allocations: 88.72 kB / 0.5744 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.3309, allocations: 1.355 MB / 0.5758 GB, free: 33.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.3309, allocations: 2.438 kB / 0.5758 GB, free: 33.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.331, allocations: 36.31 kB / 0.5758 GB, free: 33.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.331, allocations: 19.09 kB / 0.5758 GB, free: 33.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/0.3335, allocations: 1.287 MB / 0.5771 GB, free: 33.05 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.005946/0.3394, allocations: 4.366 MB / 0.5813 GB, free: 30.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002945/0.3424, allocations: 1.874 MB / 0.5832 GB, free: 29.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.3426, allocations: 18.23 kB / 0.5832 GB, free: 29.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001839/0.3444, allocations: 1.036 MB / 0.5842 GB, free: 29.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.226e-06/0.3444, allocations: 0 / 0.5842 GB, free: 29.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03371/0.3781, allocations: 9.415 MB / 0.5934 GB, free: 27.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.3782, allocations: 118 kB / 0.5935 GB, free: 27.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.3797, allocations: 1.031 MB / 0.5945 GB, free: 26.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002406/0.38, allocations: 42.39 kB / 0.5945 GB, free: 26.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.3803, allocations: 0.5306 MB / 0.5951 GB, free: 26.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004571/0.3808, allocations: 389.3 kB / 0.5954 GB, free: 26.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.3809, allocations: 25.5 kB / 0.5955 GB, free: 26.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.381, allocations: 359.1 kB / 0.5958 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.3828, allocations: 0.8601 MB / 0.5966 GB, free: 25.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/0.3848, allocations: 1.021 MB / 0.5976 GB, free: 24.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.3868, allocations: 0.9737 MB / 0.5986 GB, free: 24.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.3868, allocations: 1.188 kB / 0.5986 GB, free: 24.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01618/0.403, allocations: 5.41 MB / 0.6039 GB, free: 23.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.781e-05/0.4031, allocations: 59.66 kB / 0.6039 GB, free: 23.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.4032, allocations: 3.516 kB / 0.6039 GB, free: 23.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007447/0.4106, allocations: 2.16 MB / 0.606 GB, free: 22.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.4121, allocations: 276.6 kB / 0.6063 GB, free: 22.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0219/0.434, allocations: 10.2 MB / 0.6163 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.4358, allocations: 250.8 kB / 0.6165 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.4361, allocations: 48.86 kB / 0.6166 GB, free: 15.42 MB / 430.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 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.0006329/0.4367, allocations: 298.4 kB / 0.6168 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/0.437, allocations: 130.4 kB / 0.617 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/0.4515, allocations: 5.329 MB / 0.6222 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.4515, allocations: 13.25 kB / 0.6222 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4515, allocations: 0 / 0.6222 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/0.4515, allocations: 11.94 kB / 0.6222 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01638/0.4679, allocations: 7.243 MB / 0.6293 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.468, allocations: 0 / 0.6293 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006952/0.4687, allocations: 131.9 kB / 0.6294 GB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006239/0.4749, allocations: 2.22 MB / 0.6316 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001927/0.4752, allocations: 27.94 kB / 0.6316 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04001/0.5152, allocations: 11.15 MB / 0.6425 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5152, allocations: 0 / 0.6425 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02854/0.5438, allocations: 6.43 MB / 0.6487 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000436/0.5443, allocations: 223.2 kB / 0.649 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/0.5446, allocations: 16 kB / 0.649 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.546, allocations: 193 kB / 0.6492 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006853/0.5467, allocations: 236.6 kB / 0.6494 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.5468, allocations: 28 kB / 0.6494 GB, free: 13.24 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001094/0.5479, allocations: 0.6928 MB / 0.6501 GB, free: 12.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.548, allocations: 0 / 0.6501 GB, free: 12.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001577/0.5495, allocations: 499.4 kB / 0.6506 GB, free: 12.05 MB / 462.1 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.0002891/0.5498, allocations: 128.6 kB / 0.6507 GB, free: 11.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007565/0.5574, allocations: 3.021 MB / 0.6536 GB, free: 8.867 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5574, allocations: 0 / 0.6536 GB, free: 8.867 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005479/0.5629, allocations: 2.071 MB / 0.6557 GB, free: 6.758 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.5642, allocations: 120.8 kB / 0.6558 GB, free: 6.645 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005431/0.5697, allocations: 2.971 MB / 0.6587 GB, free: 3.688 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007547/0.5705, allocations: 1.179 MB / 0.6598 GB, free: 2.477 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004971/0.571, allocations: 112.9 kB / 0.6599 GB, free: 2.363 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.5713, allocations: 71.41 kB / 0.66 GB, free: 2.293 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5713, allocations: 0 / 0.66 GB, free: 2.293 MB / 462.1 MB Notification: Performance of Templates: time 0.03476/0.606, allocations: 23.77 MB / 0.6832 GB, free: 10.71 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: