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.0009706/0.0009707, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.3 MB / 240 MB, free: 5.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.001001/0.001001, allocations: 175.4 kB / 291.3 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4956/0.4956, allocations: 91.92 MB / 434.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003982, allocations: 12 kB / 0.5054 GB, free: 7.238 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3688, allocations: 72.47 MB / 0.5762 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005148/0.374, allocations: 6.508 MB / 0.5825 GB, free: 32.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004439/0.3784, allocations: 2.049 MB / 0.5845 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.3797, allocations: 11.56 kB / 0.5846 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000867/0.3806, allocations: 190.2 kB / 0.5847 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002212/0.3828, allocations: 0.6706 MB / 0.5854 GB, free: 30.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.3842, allocations: 0.6204 MB / 0.586 GB, free: 29.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001777/0.386, allocations: 1.551 MB / 0.5875 GB, free: 29.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004684/0.3865, allocations: 303.8 kB / 0.5878 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000821/0.3873, allocations: 0.5778 MB / 0.5884 GB, free: 28.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006912/0.388, allocations: 0.733 MB / 0.5891 GB, free: 28.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.3881, allocations: 63.97 kB / 0.5891 GB, free: 28.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004195/0.3885, allocations: 186.5 kB / 0.5893 GB, free: 28.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.3887, allocations: 251.4 kB / 0.5896 GB, free: 28.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004276/0.3892, allocations: 0.6271 MB / 0.5902 GB, free: 27.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009452/0.3901, allocations: 1.254 MB / 0.5914 GB, free: 27.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3901, allocations: 2.5 kB / 0.5914 GB, free: 27.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3902, allocations: 0 / 0.5914 GB, free: 27.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.3902, allocations: 0 / 0.5914 GB, free: 27.51 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.008699/0.3989, allocations: 2.582 MB / 0.5939 GB, free: 26.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.399, allocations: 8.438 kB / 0.5939 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005373/0.4043, allocations: 0.7923 MB / 0.5947 GB, free: 26.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.4062, allocations: 0.89 MB / 0.5956 GB, free: 25.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002684/0.4064, allocations: 260.3 kB / 0.5958 GB, free: 25.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.4066, allocations: 83.91 kB / 0.5959 GB, free: 25.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/0.4094, allocations: 1.246 MB / 0.5971 GB, free: 24.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.4094, allocations: 3.938 kB / 0.5971 GB, free: 24.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.4095, allocations: 34.89 kB / 0.5972 GB, free: 24.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.4096, allocations: 19.75 kB / 0.5972 GB, free: 24.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002696/0.4123, allocations: 1.15 MB / 0.5983 GB, free: 24.5 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.007782/0.4201, allocations: 3.731 MB / 0.6019 GB, free: 22.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/0.4228, allocations: 1.626 MB / 0.6035 GB, free: 21.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/0.4246, allocations: 0.8505 MB / 0.6044 GB, free: 21.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.4248, allocations: 16.06 kB / 0.6044 GB, free: 21.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002087/0.4268, allocations: 0.9577 MB / 0.6053 GB, free: 20.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 3.356e-06/0.4269, allocations: 7.938 kB / 0.6053 GB, free: 20.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.03057/0.4574, allocations: 8.522 MB / 0.6136 GB, free: 19.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.4575, allocations: 122.7 kB / 0.6138 GB, free: 18.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.4595, allocations: 1.03 MB / 0.6148 GB, free: 18.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003619/0.4599, allocations: 46.83 kB / 0.6148 GB, free: 18.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/0.4603, allocations: 0.5039 MB / 0.6153 GB, free: 18.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006159/0.461, allocations: 369.1 kB / 0.6156 GB, free: 17.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002868/0.4613, allocations: 125.5 kB / 0.6158 GB, free: 17.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4614, allocations: 363.3 kB / 0.6161 GB, free: 17.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/0.4634, allocations: 0.8263 MB / 0.6169 GB, free: 17.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/0.4654, allocations: 0.9752 MB / 0.6179 GB, free: 16.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02205/0.4875, allocations: 5.91 MB / 0.6236 GB, free: 12.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.4875, allocations: 0 / 0.6236 GB, free: 12.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01517/0.5027, allocations: 5.416 MB / 0.6289 GB, free: 7.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.465e-05/0.5029, allocations: 65.42 kB / 0.629 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.5029, allocations: 4 kB / 0.629 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006856/0.5097, allocations: 2.162 MB / 0.6311 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.5111, allocations: 251.7 kB / 0.6314 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02194/0.5331, allocations: 9.714 MB / 0.6408 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/0.5353, allocations: 230.8 kB / 0.6411 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002785/0.5356, allocations: 47.98 kB / 0.6411 GB, free: 10.45 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.0008248/0.5364, allocations: 300 kB / 0.6414 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003921/0.5368, allocations: 126.4 kB / 0.6415 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01582/0.5526, allocations: 5.11 MB / 0.6465 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/0.5527, allocations: 12 kB / 0.6465 GB, free: 4.863 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5527, allocations: 0 / 0.6465 GB, free: 4.863 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-05/0.5528, allocations: 7.969 kB / 0.6465 GB, free: 4.855 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01867/0.5714, allocations: 6.875 MB / 0.6532 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/0.5715, allocations: 3.938 kB / 0.6532 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008242/0.5723, allocations: 115.8 kB / 0.6533 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006923/0.5793, allocations: 2.144 MB / 0.6554 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002541/0.5796, allocations: 19.98 kB / 0.6555 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02357/0.6031, allocations: 10.28 MB / 0.6655 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6032, allocations: 7.938 kB / 0.6655 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01804/0.6212, allocations: 6.111 MB / 0.6715 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005483/0.6218, allocations: 227.2 kB / 0.6717 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004461/0.6223, allocations: 16 kB / 0.6717 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/0.6239, allocations: 151.9 kB / 0.6719 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007543/0.6247, allocations: 208.7 kB / 0.6721 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001476/0.6249, allocations: 31.98 kB / 0.6721 GB, free: 10.19 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001356/0.6262, allocations: 0.7032 MB / 0.6728 GB, free: 9.477 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6263, allocations: 0 / 0.6728 GB, free: 9.477 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001969/0.6282, allocations: 479.5 kB / 0.6732 GB, free: 9.008 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.0004076/0.6286, allocations: 143.1 kB / 0.6734 GB, free: 8.859 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008121/0.6368, allocations: 2.923 MB / 0.6762 GB, free: 5.902 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.6368, allocations: 0 / 0.6762 GB, free: 5.902 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005567/0.6424, allocations: 1.98 MB / 0.6782 GB, free: 3.879 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.644, allocations: 108.4 kB / 0.6783 GB, free: 3.773 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005251/0.6492, allocations: 2.946 MB / 0.6811 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008501/0.6501, allocations: 1.128 MB / 0.6822 GB, free: 15.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.6505, allocations: 75.42 kB / 0.6823 GB, free: 15.57 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6506, allocations: 4 kB / 0.6823 GB, free: 15.56 MB / 494.1 MB Notification: Performance of Templates: time 0.03458/0.6851, allocations: 23.95 MB / 0.7057 GB, free: 7.613 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)