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.001184/0.001184, allocations: 107.2 kB / 16.35 MB, free: 5.824 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.418/1.418, allocations: 222.9 MB / 240 MB, free: 4.496 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.001216/0.001216, allocations: 184.5 kB / 290.3 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.449/0.449, allocations: 78.53 MB / 419 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 83.88 kB / 498.9 MB, free: 5.633 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1307, allocations: 68.18 MB / 0.5538 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.263/0.3937, allocations: 6.979 MB / 0.5606 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00422/0.398, allocations: 2.114 MB / 0.5627 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.3995, allocations: 16.25 kB / 0.5627 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.4007, allocations: 249.3 kB / 0.5629 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002894/0.4037, allocations: 0.7721 MB / 0.5637 GB, free: 34.82 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.001856/0.4055, allocations: 0.7585 MB / 0.5644 GB, free: 34.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002192/0.4077, allocations: 1.734 MB / 0.5661 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005705/0.4083, allocations: 395.8 kB / 0.5665 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.4093, allocations: 0.7029 MB / 0.5672 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008747/0.4102, allocations: 0.8447 MB / 0.568 GB, free: 33.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.4104, allocations: 132.5 kB / 0.5681 GB, free: 33.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005667/0.411, allocations: 271.7 kB / 0.5684 GB, free: 33.87 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000263/0.4113, allocations: 350.2 kB / 0.5687 GB, free: 33.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005564/0.4118, allocations: 0.7177 MB / 0.5694 GB, free: 33.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.4135, allocations: 1.819 MB / 0.5712 GB, free: 33.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4135, allocations: 0 / 0.5712 GB, free: 33.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4135, allocations: 0.875 kB / 0.5712 GB, free: 33.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.4135, allocations: 0 / 0.5712 GB, free: 33.11 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.00842/0.422, allocations: 2.842 MB / 0.574 GB, free: 32.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.422, allocations: 10.22 kB / 0.574 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004992/0.427, allocations: 0.8061 MB / 0.5748 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.4286, allocations: 0.9234 MB / 0.5757 GB, free: 31.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.4289, allocations: 330.6 kB / 0.576 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.4291, allocations: 90.66 kB / 0.5761 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.4315, allocations: 1.299 MB / 0.5773 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.4315, allocations: 0 / 0.5773 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.4317, allocations: 38.81 kB / 0.5774 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.4317, allocations: 22.52 kB / 0.5774 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002351/0.434, allocations: 1.2 MB / 0.5786 GB, free: 31.16 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.006222/0.4403, allocations: 4.155 MB / 0.5826 GB, free: 28.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003032/0.4433, allocations: 1.767 MB / 0.5844 GB, free: 27.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/0.4451, allocations: 0.8529 MB / 0.5852 GB, free: 27.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.4452, allocations: 19.94 kB / 0.5852 GB, free: 27.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001932/0.4472, allocations: 0.962 MB / 0.5861 GB, free: 27.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.556e-06/0.4472, allocations: 1.219 kB / 0.5861 GB, free: 27.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03326/0.4805, allocations: 7.888 MB / 0.5938 GB, free: 25.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.4806, allocations: 119.4 kB / 0.594 GB, free: 25.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.4825, allocations: 1.036 MB / 0.595 GB, free: 24.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003578/0.4829, allocations: 50.27 kB / 0.595 GB, free: 24.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.4833, allocations: 0.5272 MB / 0.5955 GB, free: 24.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004214/0.4837, allocations: 391.8 kB / 0.5959 GB, free: 24.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005467/0.4843, allocations: 245.2 kB / 0.5961 GB, free: 24.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.4844, allocations: 359.3 kB / 0.5965 GB, free: 23.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.486, allocations: 0.7838 MB / 0.5973 GB, free: 23.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.4878, allocations: 0.9461 MB / 0.5982 GB, free: 23.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02225/0.51, allocations: 5.493 MB / 0.6035 GB, free: 21.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.5101, allocations: 3.938 kB / 0.6035 GB, free: 21.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01411/0.5242, allocations: 4.458 MB / 0.6079 GB, free: 19.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.833e-05/0.5243, allocations: 62.06 kB / 0.608 GB, free: 19.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.5243, allocations: 4.969 kB / 0.608 GB, free: 19.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005545/0.5299, allocations: 1.729 MB / 0.6096 GB, free: 19.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.5316, allocations: 284.7 kB / 0.6099 GB, free: 19.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01811/0.5497, allocations: 9.036 MB / 0.6187 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/0.5516, allocations: 212.1 kB / 0.6189 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.5517, allocations: 47.98 kB / 0.619 GB, free: 11.36 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.000528/0.5523, allocations: 301.8 kB / 0.6193 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.5525, allocations: 126.4 kB / 0.6194 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/0.5652, allocations: 4.417 MB / 0.6237 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.5653, allocations: 12 kB / 0.6237 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5653, allocations: 1.875 kB / 0.6237 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-05/0.5653, allocations: 3.984 kB / 0.6237 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.5799, allocations: 6.263 MB / 0.6298 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.58, allocations: 0 / 0.6298 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000797/0.5808, allocations: 124 kB / 0.63 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006277/0.5871, allocations: 1.907 MB / 0.6318 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002312/0.5873, allocations: 23.98 kB / 0.6319 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02298/0.6103, allocations: 10.72 MB / 0.6423 GB, free: 3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6104, allocations: 4 kB / 0.6423 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01649/0.6269, allocations: 5.413 MB / 0.6476 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000552/0.6275, allocations: 231 kB / 0.6478 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.6277, allocations: 21.88 kB / 0.6478 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.629, allocations: 139.8 kB / 0.648 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007819/0.6298, allocations: 232.6 kB / 0.6482 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.6299, allocations: 31.98 kB / 0.6482 GB, free: 12.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001135/0.631, allocations: 0.7084 MB / 0.6489 GB, free: 12.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.631, allocations: 0 / 0.6489 GB, free: 12.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001537/0.6326, allocations: 483.4 kB / 0.6494 GB, free: 11.7 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.0002912/0.6329, allocations: 132 kB / 0.6495 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006948/0.6398, allocations: 2.74 MB / 0.6522 GB, free: 8.793 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6399, allocations: 0 / 0.6522 GB, free: 8.793 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005167/0.6451, allocations: 1.883 MB / 0.654 GB, free: 6.875 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.6461, allocations: 128.6 kB / 0.6542 GB, free: 6.754 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004659/0.6508, allocations: 2.479 MB / 0.6566 GB, free: 4.281 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007167/0.6516, allocations: 1.151 MB / 0.6577 GB, free: 3.098 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000467/0.652, allocations: 116.6 kB / 0.6578 GB, free: 2.984 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.6523, allocations: 89.09 kB / 0.6579 GB, free: 2.898 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.6523, allocations: 0 / 0.6579 GB, free: 2.898 MB / 462.1 MB Notification: Performance of Templates: time 0.04443/0.6967, allocations: 27.35 MB / 0.6846 GB, free: 7.711 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 cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)