Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07543/0.07543, allocations: 12.2 MB / 27.17 MB, free: 1.926 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007161/0.0007163, allocations: 105.8 kB / 30.68 MB, free: 5 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.4 MB / 239.5 MB, free: 12.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 176.4 kB / 290.6 MB, free: 15.88 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4199/0.4199, allocations: 78.54 MB / 420.1 MB, free: 32.65 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008519/0.0008521, allocations: 27.94 kB / 0.4895 GB, free: 15.92 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2946, allocations: 69.23 MB / 0.5571 GB, free: 37.64 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.004529/0.2991, allocations: 6.491 MB / 0.5634 GB, free: 32.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003344/0.3025, allocations: 2.017 MB / 0.5654 GB, free: 31.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005516/0.3031, allocations: 22.72 kB / 0.5654 GB, free: 31.42 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004913/0.3036, allocations: 178.2 kB / 0.5656 GB, free: 31.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.3048, allocations: 0.6334 MB / 0.5662 GB, free: 30.92 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001148/0.306, allocations: 0.5994 MB / 0.5668 GB, free: 30.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.307, allocations: 1.548 MB / 0.5683 GB, free: 29.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003767/0.3074, allocations: 329.2 kB / 0.5686 GB, free: 29.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005243/0.3079, allocations: 0.5906 MB / 0.5692 GB, free: 29.4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006004/0.3085, allocations: 0.7253 MB / 0.5699 GB, free: 29.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.3086, allocations: 61.06 kB / 0.5699 GB, free: 29.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.309, allocations: 189.5 kB / 0.5701 GB, free: 29.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.3092, allocations: 253.1 kB / 0.5703 GB, free: 28.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.3093, allocations: 250.3 kB / 0.5706 GB, free: 28.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000823/0.3102, allocations: 1.341 MB / 0.5719 GB, free: 28.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3102, allocations: 0 / 0.5719 GB, free: 28.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3102, allocations: 0 / 0.5719 GB, free: 28.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.3102, allocations: 0 / 0.5719 GB, free: 28.34 MB / 414.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.006948/0.3172, allocations: 2.659 MB / 0.5745 GB, free: 27.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.3172, allocations: 16.02 kB / 0.5745 GB, free: 27.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/0.3218, allocations: 0.8006 MB / 0.5753 GB, free: 27.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.323, allocations: 0.8708 MB / 0.5761 GB, free: 26.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002677/0.3233, allocations: 346.9 kB / 0.5765 GB, free: 26.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.3234, allocations: 98.48 kB / 0.5766 GB, free: 26.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/0.3257, allocations: 1.356 MB / 0.5779 GB, free: 25.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.3258, allocations: 3.031 kB / 0.5779 GB, free: 25.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-05/0.3259, allocations: 35.59 kB / 0.5779 GB, free: 25.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.3259, allocations: 19.25 kB / 0.5779 GB, free: 25.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.3284, allocations: 1.288 MB / 0.5792 GB, free: 25.19 MB / 414.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.006302/0.3347, allocations: 4.266 MB / 0.5834 GB, free: 22.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/0.3378, allocations: 1.877 MB / 0.5852 GB, free: 21.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.3395, allocations: 0.9384 MB / 0.5861 GB, free: 21.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.3396, allocations: 13.19 kB / 0.5861 GB, free: 21.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001966/0.3416, allocations: 1.04 MB / 0.5871 GB, free: 20.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=108): time 2.915e-06/0.3416, allocations: 0 / 0.5871 GB, free: 20.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.03104/0.3727, allocations: 9.417 MB / 0.5963 GB, free: 17.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.3727, allocations: 119.8 kB / 0.5965 GB, free: 17.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.374, allocations: 1.037 MB / 0.5975 GB, free: 16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001886/0.3742, allocations: 45.7 kB / 0.5975 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.3745, allocations: 0.5246 MB / 0.598 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002847/0.3747, allocations: 390.4 kB / 0.5984 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.162e-05/0.3748, allocations: 32 kB / 0.5984 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.502e-05/0.3749, allocations: 358 kB / 0.5988 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.3764, allocations: 0.855 MB / 0.5996 GB, free: 13.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.378, allocations: 1.026 MB / 0.6006 GB, free: 12.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.3796, allocations: 0.9688 MB / 0.6016 GB, free: 11.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3796, allocations: 0 / 0.6016 GB, free: 11.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01284/0.3924, allocations: 5.412 MB / 0.6068 GB, free: 6.297 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.3925, allocations: 55.72 kB / 0.6069 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.3925, allocations: 8 kB / 0.6069 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005959/0.3985, allocations: 2.166 MB / 0.609 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.3998, allocations: 271.6 kB / 0.6093 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01986/0.4197, allocations: 9.725 MB / 0.6188 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.4215, allocations: 254.8 kB / 0.619 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.4217, allocations: 51.97 kB / 0.6191 GB, free: 9.625 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.0006156/0.4223, allocations: 309.4 kB / 0.6194 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.4225, allocations: 134.3 kB / 0.6195 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01495/0.4375, allocations: 5.326 MB / 0.6247 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.4375, allocations: 12 kB / 0.6247 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.4375, allocations: 0 / 0.6247 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/0.4376, allocations: 7.969 kB / 0.6247 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/0.4548, allocations: 7.192 MB / 0.6317 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.4549, allocations: 4.031 kB / 0.6317 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008275/0.4557, allocations: 135.8 kB / 0.6319 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006504/0.4622, allocations: 2.211 MB / 0.634 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001904/0.4624, allocations: 20 kB / 0.634 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02182/0.4843, allocations: 10.65 MB / 0.6444 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.4843, allocations: 8 kB / 0.6444 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01728/0.5016, allocations: 6.416 MB / 0.6507 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004873/0.5021, allocations: 231.1 kB / 0.6509 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/0.5023, allocations: 16 kB / 0.6509 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.5036, allocations: 183.8 kB / 0.6511 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006887/0.5043, allocations: 236.6 kB / 0.6514 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.715e-05/0.5044, allocations: 31.98 kB / 0.6514 GB, free: 8.008 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001007/0.5054, allocations: 0.6928 MB / 0.6521 GB, free: 7.309 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5054, allocations: 0 / 0.6521 GB, free: 7.309 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001523/0.507, allocations: 487.5 kB / 0.6525 GB, free: 6.832 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.0002685/0.5072, allocations: 143.1 kB / 0.6527 GB, free: 6.684 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007035/0.5143, allocations: 3.032 MB / 0.6556 GB, free: 3.613 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5143, allocations: 0 / 0.6556 GB, free: 3.613 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004964/0.5193, allocations: 2.068 MB / 0.6576 GB, free: 1.508 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000979/0.5203, allocations: 122.5 kB / 0.6578 GB, free: 1.387 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/0.5248, allocations: 2.938 MB / 0.6606 GB, free: 14.42 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/0.5256, allocations: 1.155 MB / 0.6618 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004648/0.526, allocations: 112.3 kB / 0.6619 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.5263, allocations: 75.42 kB / 0.6619 GB, free: 13.05 MB / 478.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5263, allocations: 0 / 0.6619 GB, free: 13.05 MB / 478.1 MB Notification: Performance of Templates: time 0.03678/0.5631, allocations: 23.79 MB / 0.6852 GB, free: 5.246 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1) Environment - environmentSimulation: