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.0008446/0.0008446, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.405/1.405, allocations: 223.3 MB / 239.4 MB, free: 5.406 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.0009752/0.0009752, allocations: 168.5 kB / 290.6 MB, free: 2.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5349/0.5349, allocations: 91.92 MB / 433.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.000386, allocations: 15.98 kB / 0.5048 GB, free: 7.254 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4057, allocations: 72.47 MB / 0.5755 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.00527/0.411, allocations: 6.506 MB / 0.5819 GB, free: 32.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004035/0.4151, allocations: 2.051 MB / 0.5839 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007633/0.4158, allocations: 17.44 kB / 0.5839 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006643/0.4165, allocations: 184.9 kB / 0.5841 GB, free: 30.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.4182, allocations: 0.6736 MB / 0.5847 GB, free: 30.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.4194, allocations: 0.6167 MB / 0.5853 GB, free: 30.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.4207, allocations: 1.55 MB / 0.5869 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.4211, allocations: 301.4 kB / 0.5871 GB, free: 29.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005998/0.4217, allocations: 0.5819 MB / 0.5877 GB, free: 28.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006416/0.4224, allocations: 0.7244 MB / 0.5884 GB, free: 28.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.4225, allocations: 60.19 kB / 0.5885 GB, free: 28.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.4229, allocations: 197.9 kB / 0.5887 GB, free: 28.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.4231, allocations: 249.8 kB / 0.5889 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004133/0.4235, allocations: 0.6203 MB / 0.5895 GB, free: 27.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.4246, allocations: 1.596 MB / 0.5911 GB, free: 27.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4246, allocations: 0 / 0.5911 GB, free: 27.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4247, allocations: 0 / 0.5911 GB, free: 27.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.4247, allocations: 0 / 0.5911 GB, free: 27.36 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.008321/0.433, allocations: 2.579 MB / 0.5936 GB, free: 26.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4331, allocations: 9.375 kB / 0.5936 GB, free: 26.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004987/0.4381, allocations: 0.7971 MB / 0.5944 GB, free: 26.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.4397, allocations: 0.8889 MB / 0.5952 GB, free: 25.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/0.44, allocations: 266 kB / 0.5955 GB, free: 25.24 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.4402, allocations: 87.75 kB / 0.5956 GB, free: 25.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/0.4426, allocations: 1.24 MB / 0.5968 GB, free: 24.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.4427, allocations: 1.469 kB / 0.5968 GB, free: 24.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.4428, allocations: 33.72 kB / 0.5968 GB, free: 24.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.4428, allocations: 19.78 kB / 0.5968 GB, free: 24.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.4453, allocations: 1.15 MB / 0.598 GB, free: 24.35 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.006668/0.4519, allocations: 3.747 MB / 0.6016 GB, free: 22.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.4546, allocations: 1.616 MB / 0.6032 GB, free: 21.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00171/0.4563, allocations: 0.8498 MB / 0.604 GB, free: 20.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.4564, allocations: 16.22 kB / 0.604 GB, free: 20.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002041/0.4585, allocations: 0.9653 MB / 0.605 GB, free: 20.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 2.895e-06/0.4585, allocations: 1.125 kB / 0.605 GB, free: 20.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.03174/0.4902, allocations: 8.529 MB / 0.6133 GB, free: 18.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.4903, allocations: 115.8 kB / 0.6134 GB, free: 18.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.4925, allocations: 1.025 MB / 0.6144 GB, free: 18.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002723/0.4928, allocations: 46.98 kB / 0.6145 GB, free: 18.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004228/0.4932, allocations: 0.5029 MB / 0.615 GB, free: 17.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005521/0.4938, allocations: 370.3 kB / 0.6153 GB, free: 17.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003493/0.4941, allocations: 129.5 kB / 0.6154 GB, free: 17.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.4942, allocations: 358.6 kB / 0.6158 GB, free: 17.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001985/0.4962, allocations: 0.8313 MB / 0.6166 GB, free: 16.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002101/0.4983, allocations: 0.9783 MB / 0.6176 GB, free: 16.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02198/0.5203, allocations: 5.903 MB / 0.6233 GB, free: 12.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.5204, allocations: 4 kB / 0.6233 GB, free: 12.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01514/0.5355, allocations: 5.412 MB / 0.6286 GB, free: 6.734 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.038e-05/0.5356, allocations: 63.39 kB / 0.6287 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.5357, allocations: 0 / 0.6287 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007/0.5427, allocations: 2.17 MB / 0.6308 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.5441, allocations: 251.6 kB / 0.631 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02271/0.5668, allocations: 9.716 MB / 0.6405 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00242/0.5693, allocations: 234.8 kB / 0.6407 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003579/0.5697, allocations: 47.98 kB / 0.6408 GB, free: 10.11 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.001088/0.5708, allocations: 286 kB / 0.6411 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005332/0.5713, allocations: 126.4 kB / 0.6412 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01593/0.5872, allocations: 5.118 MB / 0.6462 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/0.5873, allocations: 11.98 kB / 0.6462 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5873, allocations: 8 kB / 0.6462 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-05/0.5874, allocations: 3.984 kB / 0.6462 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01994/0.6073, allocations: 6.879 MB / 0.6529 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-05/0.6074, allocations: 3.938 kB / 0.6529 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009662/0.6084, allocations: 107.9 kB / 0.653 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007368/0.6158, allocations: 2.144 MB / 0.6551 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003278/0.6161, allocations: 27.98 kB / 0.6551 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02326/0.6394, allocations: 10.28 MB / 0.6652 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.6395, allocations: 4 kB / 0.6652 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01793/0.6574, allocations: 6.111 MB / 0.6712 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005735/0.658, allocations: 223.4 kB / 0.6714 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004664/0.6585, allocations: 20 kB / 0.6714 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/0.6602, allocations: 159.9 kB / 0.6715 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008047/0.661, allocations: 200.6 kB / 0.6717 GB, free: 9.883 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/0.6612, allocations: 27.98 kB / 0.6718 GB, free: 9.855 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001269/0.6624, allocations: 0.7071 MB / 0.6724 GB, free: 9.141 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6625, allocations: 0 / 0.6724 GB, free: 9.141 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002042/0.6645, allocations: 487.5 kB / 0.6729 GB, free: 8.664 MB / 478.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.0003874/0.6649, allocations: 131.1 kB / 0.673 GB, free: 8.527 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007989/0.6729, allocations: 2.93 MB / 0.6759 GB, free: 5.562 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.673, allocations: 0 / 0.6759 GB, free: 5.562 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005659/0.6786, allocations: 1.976 MB / 0.6778 GB, free: 3.543 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.6804, allocations: 114 kB / 0.6779 GB, free: 3.434 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005371/0.6858, allocations: 2.902 MB / 0.6808 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009249/0.6868, allocations: 1.128 MB / 0.6819 GB, free: 15.35 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006035/0.6874, allocations: 111.9 kB / 0.682 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/0.6877, allocations: 67.42 kB / 0.682 GB, free: 15.17 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/0.6877, allocations: 0 / 0.682 GB, free: 15.17 MB / 494.1 MB Notification: Performance of Templates: time 0.04271/0.7305, allocations: 23.33 MB / 0.7048 GB, free: 7.887 MB / 0.4981 GB 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)