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/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.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 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_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/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 183.2 kB / 15.98 MB, free: 5.77 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.194/1.194, allocations: 222.9 MB / 239.6 MB, free: 10.99 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.0009515/0.0009515, allocations: 110.4 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4433/0.4433, allocations: 78.51 MB / 418.5 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 68.17 kB / 497.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2499, allocations: 68.15 MB / 0.5524 GB, free: 19.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005167/0.2552, allocations: 7.349 MB / 0.5596 GB, free: 12.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003793/0.259, allocations: 2.168 MB / 0.5617 GB, free: 10.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006334/0.2596, allocations: 15.94 kB / 0.5617 GB, free: 10.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005552/0.2602, allocations: 194.7 kB / 0.5619 GB, free: 10.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.2616, allocations: 0.6857 MB / 0.5626 GB, free: 9.43 MB / 378.7 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.001178/0.2628, allocations: 0.7078 MB / 0.5633 GB, free: 8.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009381/0.2637, allocations: 1.651 MB / 0.5649 GB, free: 7.074 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003717/0.2641, allocations: 357.2 kB / 0.5652 GB, free: 6.707 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005162/0.2646, allocations: 0.6415 MB / 0.5658 GB, free: 6.062 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000602/0.2652, allocations: 0.797 MB / 0.5666 GB, free: 5.262 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.2654, allocations: 84 kB / 0.5667 GB, free: 5.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.2657, allocations: 203.9 kB / 0.5669 GB, free: 4.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.2659, allocations: 294.6 kB / 0.5672 GB, free: 4.691 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003515/0.2663, allocations: 0.6638 MB / 0.5678 GB, free: 4.023 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009239/0.2672, allocations: 1.732 MB / 0.5695 GB, free: 2.285 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2672, allocations: 0 / 0.5695 GB, free: 2.285 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2672, allocations: 0 / 0.5695 GB, free: 2.285 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.2673, allocations: 3.938 kB / 0.5695 GB, free: 2.281 MB / 378.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.007712/0.275, allocations: 2.852 MB / 0.5723 GB, free: 15.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.275, allocations: 8.031 kB / 0.5723 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004474/0.2795, allocations: 0.8059 MB / 0.5731 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.2809, allocations: 0.9216 MB / 0.574 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003554/0.2812, allocations: 323.6 kB / 0.5743 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.2814, allocations: 95.98 kB / 0.5744 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.2838, allocations: 1.295 MB / 0.5757 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2839, allocations: 0 / 0.5757 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.9e-05/0.284, allocations: 36 kB / 0.5757 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.284, allocations: 20 kB / 0.5757 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/0.2866, allocations: 1.206 MB / 0.5769 GB, free: 10.54 MB / 394.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.006126/0.2927, allocations: 4.191 MB / 0.581 GB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/0.2958, allocations: 1.764 MB / 0.5827 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.2974, allocations: 0.8562 MB / 0.5835 GB, free: 3.426 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.2976, allocations: 20.97 kB / 0.5836 GB, free: 3.406 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001815/0.2994, allocations: 0.9621 MB / 0.5845 GB, free: 2.426 MB / 394.7 MB Notification: Performance of pre-optimization done (n=108): time 2.564e-06/0.2994, allocations: 0 / 0.5845 GB, free: 2.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=108): time 0.03181/0.3312, allocations: 7.893 MB / 0.5922 GB, free: 10.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.3313, allocations: 127.8 kB / 0.5923 GB, free: 10.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.3328, allocations: 1.033 MB / 0.5933 GB, free: 9.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002418/0.333, allocations: 45.7 kB / 0.5934 GB, free: 9.219 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.3334, allocations: 0.5246 MB / 0.5939 GB, free: 8.688 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/0.3338, allocations: 390.4 kB / 0.5943 GB, free: 8.301 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004399/0.3342, allocations: 243.5 kB / 0.5945 GB, free: 8.059 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3343, allocations: 357.9 kB / 0.5948 GB, free: 7.703 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.336, allocations: 0.7886 MB / 0.5956 GB, free: 6.914 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.3378, allocations: 0.9406 MB / 0.5965 GB, free: 5.938 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02109/0.3589, allocations: 5.493 MB / 0.6019 GB, free: 368 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.3589, allocations: 7.938 kB / 0.6019 GB, free: 360 kB / 410.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01365/0.3726, allocations: 4.455 MB / 0.6063 GB, free: 11.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/0.3727, allocations: 62.06 kB / 0.6063 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3727, allocations: 8 kB / 0.6063 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005849/0.3785, allocations: 1.733 MB / 0.608 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.38, allocations: 279.6 kB / 0.6083 GB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01892/0.3989, allocations: 8.318 MB / 0.6164 GB, free: 1.324 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.4006, allocations: 210.8 kB / 0.6166 GB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.4007, allocations: 51.98 kB / 0.6167 GB, free: 1.066 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 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.0005294/0.4013, allocations: 305.1 kB / 0.617 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.4015, allocations: 130.4 kB / 0.6171 GB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01451/0.416, allocations: 4.401 MB / 0.6214 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.416, allocations: 12 kB / 0.6214 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.4161, allocations: 0 / 0.6214 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.252e-05/0.4161, allocations: 11.97 kB / 0.6214 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01653/0.4326, allocations: 6.271 MB / 0.6275 GB, free: 5.766 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.4327, allocations: 0 / 0.6275 GB, free: 5.766 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007155/0.4334, allocations: 123.9 kB / 0.6276 GB, free: 5.645 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006414/0.4398, allocations: 1.906 MB / 0.6295 GB, free: 3.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.44, allocations: 20 kB / 0.6295 GB, free: 3.711 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02103/0.461, allocations: 9.766 MB / 0.6391 GB, free: 9.652 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.461, allocations: 0 / 0.6391 GB, free: 9.652 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1054/0.5664, allocations: 38.86 MB / 0.677 GB, free: 2.266 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.5667, allocations: 227.1 kB / 0.6772 GB, free: 2.023 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.5669, allocations: 20 kB / 0.6772 GB, free: 2.004 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.5682, allocations: 131.8 kB / 0.6774 GB, free: 1.875 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008712/0.5691, allocations: 228.6 kB / 0.6776 GB, free: 1.652 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.476e-05/0.5692, allocations: 35.98 kB / 0.6776 GB, free: 1.617 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001064/0.5703, allocations: 0.7084 MB / 0.6783 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5703, allocations: 0 / 0.6783 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002024/0.5723, allocations: 0.6753 MB / 0.679 GB, free: 232 kB / 490.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 (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.000261/0.5726, allocations: 144.6 kB / 0.6791 GB, free: 80 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.1973/0.7699, allocations: 2.68 MB / 0.6817 GB, free: 116.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7699, allocations: 0.5625 kB / 0.6817 GB, free: 116.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00501/0.775, allocations: 1.84 MB / 0.6835 GB, free: 116.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009337/0.7759, allocations: 124.8 kB / 0.6836 GB, free: 116.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008468/0.7844, allocations: 4.592 MB / 0.6881 GB, free: 114.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006287/0.785, allocations: 1.208 MB / 0.6893 GB, free: 113.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004815/0.7855, allocations: 124.8 kB / 0.6894 GB, free: 113.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/0.7859, allocations: 84.72 kB / 0.6895 GB, free: 113.7 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.7859, allocations: 3.812 kB / 0.6895 GB, free: 113.7 MB / 490.7 MB Notification: Performance of Templates: time 0.04024/0.8261, allocations: 37.17 MB / 0.7258 GB, free: 83.83 MB / 490.7 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)