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.001725/0.001725, allocations: 106.3 kB / 16.36 MB, free: 5.875 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.298/1.298, allocations: 222.9 MB / 240 MB, free: 4.504 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.001248/0.001248, allocations: 188.5 kB / 290.3 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.431/0.431, allocations: 78.54 MB / 419 MB, free: 3.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 75.88 kB / 498.9 MB, free: 5.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1152, allocations: 68.18 MB / 0.5538 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.1906/0.3059, allocations: 6.981 MB / 0.5606 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003772/0.3097, allocations: 2.114 MB / 0.5627 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006483/0.3104, allocations: 19.22 kB / 0.5627 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006776/0.311, allocations: 249.7 kB / 0.5629 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.3126, allocations: 0.7733 MB / 0.5637 GB, free: 35.11 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.001359/0.314, allocations: 0.7535 MB / 0.5644 GB, free: 35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.3153, allocations: 1.733 MB / 0.5661 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004486/0.3158, allocations: 397.2 kB / 0.5665 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006411/0.3165, allocations: 0.7055 MB / 0.5672 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006885/0.3172, allocations: 0.8458 MB / 0.568 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.3173, allocations: 131.4 kB / 0.5681 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004003/0.3177, allocations: 275.9 kB / 0.5684 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.318, allocations: 349 kB / 0.5687 GB, free: 34.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004241/0.3184, allocations: 0.717 MB / 0.5694 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.3196, allocations: 1.817 MB / 0.5712 GB, free: 33.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3196, allocations: 0 / 0.5712 GB, free: 33.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3196, allocations: 1.406 kB / 0.5712 GB, free: 33.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.3197, allocations: 0 / 0.5712 GB, free: 33.39 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.007948/0.3276, allocations: 2.838 MB / 0.574 GB, free: 32.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3277, allocations: 11.56 kB / 0.574 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004773/0.3324, allocations: 0.7978 MB / 0.5748 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.3338, allocations: 0.9321 MB / 0.5757 GB, free: 31.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/0.3341, allocations: 333.8 kB / 0.576 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.3342, allocations: 89.94 kB / 0.5761 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.3365, allocations: 1.289 MB / 0.5773 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.3365, allocations: 4.641 kB / 0.5773 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.886e-05/0.3366, allocations: 37.56 kB / 0.5774 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.3366, allocations: 23.91 kB / 0.5774 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002323/0.3389, allocations: 1.198 MB / 0.5786 GB, free: 31.41 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.005824/0.3448, allocations: 4.157 MB / 0.5826 GB, free: 29.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/0.348, allocations: 1.765 MB / 0.5843 GB, free: 27.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.3496, allocations: 0.8604 MB / 0.5852 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.3497, allocations: 16.7 kB / 0.5852 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001783/0.3515, allocations: 0.9638 MB / 0.5861 GB, free: 27.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 2.595e-06/0.3515, allocations: 0 / 0.5861 GB, free: 27.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03174/0.3833, allocations: 7.888 MB / 0.5938 GB, free: 25.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.3834, allocations: 120 kB / 0.594 GB, free: 25.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.3852, allocations: 1.039 MB / 0.595 GB, free: 25.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.3854, allocations: 48.14 kB / 0.595 GB, free: 25.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.3857, allocations: 0.5228 MB / 0.5955 GB, free: 24.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/0.3861, allocations: 391.9 kB / 0.5959 GB, free: 24.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005518/0.3867, allocations: 241 kB / 0.5961 GB, free: 24.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.314e-05/0.3868, allocations: 357.7 kB / 0.5965 GB, free: 23.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.3887, allocations: 0.7882 MB / 0.5972 GB, free: 23.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.3906, allocations: 0.9473 MB / 0.5982 GB, free: 23.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02221/0.4128, allocations: 5.491 MB / 0.6035 GB, free: 21.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.4129, allocations: 8.688 kB / 0.6035 GB, free: 21.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01395/0.4268, allocations: 4.456 MB / 0.6079 GB, free: 20.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.973e-05/0.4269, allocations: 58.5 kB / 0.6079 GB, free: 20 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.4269, allocations: 7.969 kB / 0.608 GB, free: 20 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005596/0.4325, allocations: 1.733 MB / 0.6096 GB, free: 19.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.4341, allocations: 288 kB / 0.6099 GB, free: 19.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01854/0.4527, allocations: 9.032 MB / 0.6187 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.4546, allocations: 208.2 kB / 0.6189 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002261/0.4549, allocations: 51.97 kB / 0.619 GB, free: 11.33 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.0006614/0.4555, allocations: 308.7 kB / 0.6193 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.4558, allocations: 126.4 kB / 0.6194 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/0.4689, allocations: 4.413 MB / 0.6237 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.469, allocations: 8 kB / 0.6237 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.469, allocations: 4 kB / 0.6237 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.469, allocations: 7.969 kB / 0.6237 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/0.4843, allocations: 6.255 MB / 0.6298 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.4843, allocations: 4.031 kB / 0.6298 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007942/0.4851, allocations: 131.3 kB / 0.63 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006281/0.4914, allocations: 1.902 MB / 0.6318 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001703/0.4916, allocations: 20 kB / 0.6319 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02304/0.5147, allocations: 10.73 MB / 0.6423 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5147, allocations: 0 / 0.6423 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01634/0.531, allocations: 5.417 MB / 0.6476 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004945/0.5316, allocations: 223.2 kB / 0.6478 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/0.5319, allocations: 24 kB / 0.6479 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.5333, allocations: 139.8 kB / 0.648 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007663/0.5341, allocations: 236.6 kB / 0.6482 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/0.5343, allocations: 25.25 kB / 0.6482 GB, free: 12.86 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001177/0.5354, allocations: 0.7084 MB / 0.6489 GB, free: 12.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5355, allocations: 0 / 0.6489 GB, free: 12.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00151/0.537, allocations: 483.4 kB / 0.6494 GB, free: 11.67 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.0002911/0.5373, allocations: 135.2 kB / 0.6495 GB, free: 11.53 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006935/0.5442, allocations: 2.733 MB / 0.6522 GB, free: 8.762 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.5442, allocations: 0 / 0.6522 GB, free: 8.762 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005006/0.5492, allocations: 1.888 MB / 0.654 GB, free: 6.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009782/0.5502, allocations: 129.1 kB / 0.6542 GB, free: 6.719 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004678/0.5549, allocations: 2.472 MB / 0.6566 GB, free: 4.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006728/0.5556, allocations: 1.156 MB / 0.6577 GB, free: 3.062 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004249/0.5561, allocations: 116.9 kB / 0.6578 GB, free: 2.949 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.5563, allocations: 79.41 kB / 0.6579 GB, free: 2.871 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5564, allocations: 4 kB / 0.6579 GB, free: 2.867 MB / 462.1 MB Notification: Performance of Templates: time 0.04109/0.5975, allocations: 27.36 MB / 0.6846 GB, free: 7.68 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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)