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.0009137/0.0009137, allocations: 174.1 kB / 15.77 MB, free: 6.324 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.389/1.389, allocations: 223.3 MB / 239.8 MB, free: 1.727 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007762/0.0007762, allocations: 117.8 kB / 290.9 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4629/0.4629, allocations: 78.62 MB / 420.7 MB, free: 44.22 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003733, allocations: 16 kB / 0.4888 GB, free: 2.918 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3962, allocations: 69.35 MB / 0.5565 GB, free: 38.85 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.007535/0.4038, allocations: 6.425 MB / 0.5628 GB, free: 37.25 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006485/0.4103, allocations: 2.051 MB / 0.5648 GB, free: 35.79 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.4123, allocations: 17.41 kB / 0.5648 GB, free: 35.79 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.4136, allocations: 184.5 kB / 0.565 GB, free: 35.71 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003568/0.4171, allocations: 0.6411 MB / 0.5656 GB, free: 35.28 MB / 426.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.002312/0.4195, allocations: 0.6086 MB / 0.5662 GB, free: 34.98 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003227/0.4227, allocations: 1.542 MB / 0.5677 GB, free: 34.2 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007619/0.4235, allocations: 343.8 kB / 0.568 GB, free: 34.02 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.4248, allocations: 0.5951 MB / 0.5686 GB, free: 33.76 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008758/0.4257, allocations: 0.725 MB / 0.5693 GB, free: 33.44 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.4259, allocations: 62.88 kB / 0.5694 GB, free: 33.44 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000593/0.4265, allocations: 183.5 kB / 0.5696 GB, free: 33.4 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.4267, allocations: 255.1 kB / 0.5698 GB, free: 33.26 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000251/0.427, allocations: 248.7 kB / 0.57 GB, free: 33.1 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.4281, allocations: 1.331 MB / 0.5713 GB, free: 32.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4281, allocations: 0 / 0.5713 GB, free: 32.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4281, allocations: 0 / 0.5713 GB, free: 32.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.4281, allocations: 0 / 0.5713 GB, free: 32.71 MB / 426.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.008404/0.4366, allocations: 2.665 MB / 0.5739 GB, free: 31.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.4366, allocations: 8.844 kB / 0.574 GB, free: 31.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005063/0.4417, allocations: 0.8065 MB / 0.5747 GB, free: 31.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.4437, allocations: 0.8742 MB / 0.5756 GB, free: 30.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000379/0.4441, allocations: 347.1 kB / 0.5759 GB, free: 30.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.4443, allocations: 88.19 kB / 0.576 GB, free: 30.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/0.4471, allocations: 1.364 MB / 0.5773 GB, free: 29.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.4471, allocations: 0 / 0.5773 GB, free: 29.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.4472, allocations: 35.59 kB / 0.5774 GB, free: 29.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.4473, allocations: 35.66 kB / 0.5774 GB, free: 29.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.45, allocations: 1.28 MB / 0.5787 GB, free: 29.55 MB / 426.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.007407/0.4574, allocations: 4.256 MB / 0.5828 GB, free: 27.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/0.4608, allocations: 1.871 MB / 0.5846 GB, free: 26.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/0.4626, allocations: 0.9283 MB / 0.5856 GB, free: 25.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.4628, allocations: 22.75 kB / 0.5856 GB, free: 25.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002033/0.4648, allocations: 1.038 MB / 0.5866 GB, free: 25.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=108): time 3.447e-06/0.4648, allocations: 4 kB / 0.5866 GB, free: 25.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.03696/0.5018, allocations: 9.423 MB / 0.5958 GB, free: 23.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.5019, allocations: 124.9 kB / 0.5959 GB, free: 23.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.5037, allocations: 1.029 MB / 0.5969 GB, free: 23.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003235/0.504, allocations: 46.14 kB / 0.597 GB, free: 23.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.5044, allocations: 0.5201 MB / 0.5975 GB, free: 22.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003927/0.5048, allocations: 399.8 kB / 0.5979 GB, free: 22.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.613e-05/0.5049, allocations: 25.34 kB / 0.5979 GB, free: 22.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.505, allocations: 359.5 kB / 0.5982 GB, free: 21.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.5069, allocations: 0.8618 MB / 0.5991 GB, free: 21.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/0.5089, allocations: 1.014 MB / 0.6001 GB, free: 21.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.5111, allocations: 0.9747 MB / 0.601 GB, free: 20.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.5111, allocations: 0 / 0.601 GB, free: 20.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01833/0.5294, allocations: 5.407 MB / 0.6063 GB, free: 19.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.612e-05/0.5295, allocations: 59.08 kB / 0.6063 GB, free: 19.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.5295, allocations: 3.938 kB / 0.6063 GB, free: 19.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008046/0.5376, allocations: 2.168 MB / 0.6085 GB, free: 19.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/0.5393, allocations: 272.7 kB / 0.6087 GB, free: 19.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02086/0.5602, allocations: 9.721 MB / 0.6182 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.5623, allocations: 250.8 kB / 0.6185 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.5624, allocations: 51.97 kB / 0.6185 GB, free: 10.27 MB / 426.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.0006372/0.5631, allocations: 313.5 kB / 0.6188 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.5633, allocations: 126.4 kB / 0.6189 GB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/0.5784, allocations: 5.326 MB / 0.6241 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.5784, allocations: 16 kB / 0.6241 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5784, allocations: 3.953 kB / 0.6241 GB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.671e-05/0.5785, allocations: 11.95 kB / 0.6242 GB, free: 4.445 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02354/0.602, allocations: 7.192 MB / 0.6312 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.983e-05/0.6021, allocations: 7.891 kB / 0.6312 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.6038, allocations: 135.8 kB / 0.6313 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01384/0.6177, allocations: 2.207 MB / 0.6335 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004253/0.6181, allocations: 24 kB / 0.6335 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04712/0.6653, allocations: 10.64 MB / 0.6439 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.6654, allocations: 0 / 0.6439 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03789/0.7033, allocations: 6.423 MB / 0.6502 GB, free: 9.344 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008876/0.7042, allocations: 223.2 kB / 0.6504 GB, free: 9.105 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007292/0.705, allocations: 23.98 kB / 0.6504 GB, free: 9.082 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003183/0.7082, allocations: 179.8 kB / 0.6506 GB, free: 8.906 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001496/0.7097, allocations: 236.5 kB / 0.6508 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002895/0.71, allocations: 31.98 kB / 0.6508 GB, free: 8.648 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002372/0.7124, allocations: 0.6967 MB / 0.6515 GB, free: 7.945 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7125, allocations: 0 / 0.6515 GB, free: 7.945 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00323/0.7157, allocations: 491.4 kB / 0.652 GB, free: 7.465 MB / 458.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.0005703/0.7163, allocations: 132.6 kB / 0.6521 GB, free: 7.328 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01396/0.7303, allocations: 3.023 MB / 0.6551 GB, free: 4.273 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/0.7303, allocations: 4 kB / 0.6551 GB, free: 4.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01103/0.7414, allocations: 2.058 MB / 0.6571 GB, free: 2.164 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.7441, allocations: 127.7 kB / 0.6572 GB, free: 2.039 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.7547, allocations: 2.988 MB / 0.6601 GB, free: 15.02 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.7563, allocations: 1.156 MB / 0.6612 GB, free: 13.83 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008591/0.7572, allocations: 75.42 kB / 0.6613 GB, free: 13.76 MB / 474.7 MB Notification: Performance of SimCode: time 1.483e-06/0.7572, allocations: 0 / 0.6613 GB, free: 13.76 MB / 474.7 MB Notification: Performance of Templates: time 0.06478/0.822, allocations: 25.26 MB / 0.686 GB, free: 4.492 MB / 490.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)