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.00145/0.00145, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 239.2 MB, free: 4.613 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.001319/0.001319, allocations: 191.8 kB / 289.5 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4557/0.4557, allocations: 78.52 MB / 418.2 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 75.88 kB / 497.4 MB, free: 6.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.141, allocations: 68.2 MB / 0.5524 GB, free: 2.207 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.2261/0.3671, allocations: 6.969 MB / 0.5592 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004062/0.3712, allocations: 2.111 MB / 0.5612 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009802/0.3723, allocations: 16.56 kB / 0.5613 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000877/0.3732, allocations: 255.5 kB / 0.5615 GB, free: 35.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.3754, allocations: 0.7709 MB / 0.5623 GB, free: 35.14 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.001598/0.377, allocations: 0.7531 MB / 0.563 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.3786, allocations: 1.723 MB / 0.5647 GB, free: 34.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005171/0.3792, allocations: 402.4 kB / 0.5651 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009433/0.3801, allocations: 0.6987 MB / 0.5657 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008531/0.381, allocations: 0.844 MB / 0.5666 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002068/0.3812, allocations: 131.1 kB / 0.5667 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004934/0.3817, allocations: 275 kB / 0.567 GB, free: 34.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.3819, allocations: 346.2 kB / 0.5673 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004845/0.3824, allocations: 0.7144 MB / 0.568 GB, free: 33.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.3839, allocations: 1.793 MB / 0.5697 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3839, allocations: 0 / 0.5697 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3839, allocations: 1.031 kB / 0.5697 GB, free: 33.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.776e-05/0.3839, allocations: 0 / 0.5697 GB, free: 33.52 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.008854/0.3928, allocations: 2.844 MB / 0.5725 GB, free: 32.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.3929, allocations: 12.17 kB / 0.5725 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004849/0.3977, allocations: 0.7988 MB / 0.5733 GB, free: 32.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.3992, allocations: 0.9267 MB / 0.5742 GB, free: 31.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002911/0.3995, allocations: 327.3 kB / 0.5745 GB, free: 31.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.3997, allocations: 93.09 kB / 0.5746 GB, free: 31.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.402, allocations: 1.286 MB / 0.5759 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.402, allocations: 4.531 kB / 0.5759 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.4021, allocations: 42.56 kB / 0.5759 GB, free: 31.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.4022, allocations: 21.08 kB / 0.5759 GB, free: 31.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.4045, allocations: 1.192 MB / 0.5771 GB, free: 31.61 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.006175/0.4107, allocations: 4.188 MB / 0.5812 GB, free: 29.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003153/0.4139, allocations: 1.771 MB / 0.5829 GB, free: 28.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.4157, allocations: 0.8579 MB / 0.5838 GB, free: 27.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.4158, allocations: 15.03 kB / 0.5838 GB, free: 27.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001857/0.4176, allocations: 0.9602 MB / 0.5847 GB, free: 27.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.186e-06/0.4177, allocations: 4 kB / 0.5847 GB, free: 27.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03305/0.4507, allocations: 7.892 MB / 0.5924 GB, free: 25.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.4508, allocations: 118.1 kB / 0.5925 GB, free: 25.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/0.4525, allocations: 1.035 MB / 0.5935 GB, free: 25.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003085/0.4528, allocations: 50.58 kB / 0.5936 GB, free: 25.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.4532, allocations: 0.5255 MB / 0.5941 GB, free: 24.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005119/0.4537, allocations: 392 kB / 0.5945 GB, free: 24.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005513/0.4543, allocations: 247.8 kB / 0.5947 GB, free: 24.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4544, allocations: 354.2 kB / 0.595 GB, free: 24.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.4563, allocations: 0.7851 MB / 0.5958 GB, free: 23.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.4583, allocations: 0.9457 MB / 0.5967 GB, free: 23.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02222/0.4805, allocations: 5.513 MB / 0.6021 GB, free: 21.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.4805, allocations: 3.938 kB / 0.6021 GB, free: 21.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01452/0.4951, allocations: 4.458 MB / 0.6065 GB, free: 20.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.637e-05/0.4952, allocations: 62.66 kB / 0.6065 GB, free: 20.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.4952, allocations: 2.812 kB / 0.6065 GB, free: 20.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006069/0.5013, allocations: 1.737 MB / 0.6082 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.5028, allocations: 275.6 kB / 0.6085 GB, free: 19.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/0.5226, allocations: 9.063 MB / 0.6174 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.5248, allocations: 209.3 kB / 0.6176 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002895/0.5251, allocations: 47.98 kB / 0.6176 GB, free: 11.91 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 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.0008711/0.526, allocations: 300.9 kB / 0.6179 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000421/0.5264, allocations: 130.4 kB / 0.618 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/0.5401, allocations: 4.408 MB / 0.6223 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.5402, allocations: 12 kB / 0.6223 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.5402, allocations: 1.125 kB / 0.6223 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/0.5402, allocations: 3.984 kB / 0.6223 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/0.5565, allocations: 6.268 MB / 0.6285 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.5566, allocations: 4 kB / 0.6285 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007889/0.5574, allocations: 127.8 kB / 0.6286 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006701/0.5641, allocations: 1.905 MB / 0.6304 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002835/0.5644, allocations: 33.95 kB / 0.6305 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02511/0.5895, allocations: 10.73 MB / 0.6409 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5896, allocations: 0 / 0.6409 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01804/0.6076, allocations: 5.423 MB / 0.6462 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000638/0.6083, allocations: 223.2 kB / 0.6465 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005154/0.6088, allocations: 21.25 kB / 0.6465 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/0.6105, allocations: 135.8 kB / 0.6466 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008038/0.6114, allocations: 236.6 kB / 0.6468 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/0.6115, allocations: 31.98 kB / 0.6469 GB, free: 13.42 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00123/0.6128, allocations: 0.7045 MB / 0.6475 GB, free: 12.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6128, allocations: 0 / 0.6475 GB, free: 12.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001811/0.6146, allocations: 487.4 kB / 0.648 GB, free: 12.23 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 (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.0003604/0.615, allocations: 131.2 kB / 0.6481 GB, free: 12.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007936/0.6229, allocations: 2.783 MB / 0.6509 GB, free: 9.281 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.623, allocations: 4 kB / 0.6509 GB, free: 9.277 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005477/0.6284, allocations: 1.878 MB / 0.6527 GB, free: 7.363 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.6297, allocations: 129 kB / 0.6528 GB, free: 7.242 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005453/0.6352, allocations: 2.507 MB / 0.6553 GB, free: 4.742 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008291/0.6361, allocations: 1.155 MB / 0.6564 GB, free: 3.551 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005439/0.6366, allocations: 119.9 kB / 0.6565 GB, free: 3.434 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.6369, allocations: 79.42 kB / 0.6566 GB, free: 3.355 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6369, allocations: 0 / 0.6566 GB, free: 3.355 MB / 462.1 MB Notification: Performance of Templates: time 0.04516/0.6821, allocations: 27.35 MB / 0.6833 GB, free: 8.176 MB / 494.1 MB 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)