Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.424/1.424, allocations: 222.9 MB / 238.8 MB, free: 4.836 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.00145/0.001451, allocations: 196.1 kB / 289.1 MB, free: 2.559 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5562/0.5562, allocations: 91.9 MB / 431.2 MB, free: 9.504 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 75.88 kB / 0.5012 GB, free: 8.234 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4183, allocations: 71.26 MB / 0.5708 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.006728/0.4251, allocations: 6.981 MB / 0.5776 GB, free: 32.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004108/0.4292, allocations: 2.075 MB / 0.5796 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008138/0.4301, allocations: 15.25 kB / 0.5797 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007244/0.4308, allocations: 187.3 kB / 0.5798 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.4326, allocations: 0.6856 MB / 0.5805 GB, free: 30.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.4338, allocations: 0.6198 MB / 0.5811 GB, free: 30.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.4351, allocations: 1.545 MB / 0.5826 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004117/0.4355, allocations: 313.6 kB / 0.5829 GB, free: 29.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006456/0.4362, allocations: 0.6045 MB / 0.5835 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006467/0.4368, allocations: 0.7773 MB / 0.5843 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.437, allocations: 75.78 kB / 0.5843 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004346/0.4374, allocations: 200.7 kB / 0.5845 GB, free: 28.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.4376, allocations: 277.3 kB / 0.5848 GB, free: 28.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004103/0.4381, allocations: 0.6269 MB / 0.5854 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.4392, allocations: 1.626 MB / 0.587 GB, free: 27.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4393, allocations: 0 / 0.587 GB, free: 27.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4393, allocations: 0 / 0.587 GB, free: 27.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.4393, allocations: 1.031 kB / 0.587 GB, free: 27.65 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00906/0.4483, allocations: 2.768 MB / 0.5897 GB, free: 26.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.4484, allocations: 14.44 kB / 0.5897 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005021/0.4534, allocations: 0.7799 MB / 0.5905 GB, free: 26.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.4551, allocations: 0.8862 MB / 0.5913 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/0.4554, allocations: 262.7 kB / 0.5916 GB, free: 25.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.4556, allocations: 87.53 kB / 0.5917 GB, free: 25.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.458, allocations: 1.17 MB / 0.5928 GB, free: 24.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.458, allocations: 3.188 kB / 0.5928 GB, free: 24.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.4581, allocations: 30.5 kB / 0.5929 GB, free: 24.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.4581, allocations: 20.34 kB / 0.5929 GB, free: 24.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.4605, allocations: 1.079 MB / 0.5939 GB, free: 24.51 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.006424/0.4669, allocations: 3.676 MB / 0.5975 GB, free: 22.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/0.4693, allocations: 1.551 MB / 0.599 GB, free: 21.47 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.4708, allocations: 0.7814 MB / 0.5998 GB, free: 21.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.4709, allocations: 15.67 kB / 0.5998 GB, free: 21.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001776/0.4727, allocations: 0.8905 MB / 0.6007 GB, free: 20.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 3.476e-06/0.4727, allocations: 1.25 kB / 0.6007 GB, free: 20.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02718/0.4999, allocations: 6.964 MB / 0.6075 GB, free: 19.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.5, allocations: 119.7 kB / 0.6076 GB, free: 19.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.5022, allocations: 1.027 MB / 0.6086 GB, free: 18.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000353/0.5026, allocations: 42.69 kB / 0.6086 GB, free: 18.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004409/0.5031, allocations: 0.5081 MB / 0.6091 GB, free: 18.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005393/0.5036, allocations: 369.6 kB / 0.6095 GB, free: 18.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005926/0.5042, allocations: 247.3 kB / 0.6097 GB, free: 17.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5043, allocations: 359.5 kB / 0.6101 GB, free: 17.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/0.506, allocations: 0.7666 MB / 0.6108 GB, free: 17.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.5079, allocations: 0.9073 MB / 0.6117 GB, free: 16.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0226/0.5305, allocations: 5.424 MB / 0.617 GB, free: 14.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.5306, allocations: 0 / 0.617 GB, free: 14.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01418/0.5448, allocations: 4.511 MB / 0.6214 GB, free: 10.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.5449, allocations: 59.41 kB / 0.6215 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.5449, allocations: 0 / 0.6215 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006247/0.5511, allocations: 1.86 MB / 0.6233 GB, free: 8.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.5525, allocations: 243.7 kB / 0.6235 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01932/0.5718, allocations: 8.73 MB / 0.632 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/0.5745, allocations: 198.7 kB / 0.6322 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004881/0.575, allocations: 51.92 kB / 0.6323 GB, free: 15.35 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.001396/0.5765, allocations: 293.7 kB / 0.6326 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007087/0.5772, allocations: 126.4 kB / 0.6327 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01467/0.5919, allocations: 4.189 MB / 0.6368 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.284e-05/0.592, allocations: 16 kB / 0.6368 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.592, allocations: 0 / 0.6368 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.619e-05/0.592, allocations: 7.969 kB / 0.6368 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01779/0.6098, allocations: 5.973 MB / 0.6426 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.6099, allocations: 3.938 kB / 0.6426 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008203/0.6107, allocations: 107.8 kB / 0.6427 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006335/0.6171, allocations: 1.832 MB / 0.6445 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002869/0.6174, allocations: 20 kB / 0.6445 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02119/0.6386, allocations: 9.39 MB / 0.6537 GB, free: 8.926 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.6386, allocations: 240 / 0.6537 GB, free: 8.926 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01623/0.6549, allocations: 5.127 MB / 0.6587 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006421/0.6556, allocations: 219.2 kB / 0.6589 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007524/0.6563, allocations: 20.06 kB / 0.6589 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002166/0.6585, allocations: 119.9 kB / 0.6591 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001182/0.6597, allocations: 208.7 kB / 0.6593 GB, free: 3.188 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002508/0.66, allocations: 27.98 kB / 0.6593 GB, free: 3.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001709/0.6617, allocations: 0.6993 MB / 0.66 GB, free: 2.453 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6617, allocations: 0 / 0.66 GB, free: 2.453 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002854/0.6646, allocations: 487.7 kB / 0.6604 GB, free: 1.977 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * 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 (64): * Single equations (assignments): 61 * 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,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005168/0.6651, allocations: 135.1 kB / 0.6606 GB, free: 1.836 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007885/0.673, allocations: 2.641 MB / 0.6631 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.6731, allocations: 0.5625 kB / 0.6631 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005167/0.6783, allocations: 1.767 MB / 0.6649 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/0.68, allocations: 112.4 kB / 0.665 GB, free: 13.24 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00559/0.6856, allocations: 2.795 MB / 0.6677 GB, free: 10.42 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.6866, allocations: 1.132 MB / 0.6688 GB, free: 9.258 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007105/0.6874, allocations: 103.9 kB / 0.6689 GB, free: 9.152 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/0.6877, allocations: 67.42 kB / 0.669 GB, free: 9.086 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6878, allocations: 0 / 0.669 GB, free: 9.086 MB / 478.1 MB Notification: Performance of Templates: time 0.04415/0.7319, allocations: 23.84 MB / 0.6923 GB, free: 1.277 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)