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.001186/0.001186, allocations: 108 kB / 15.61 MB, free: 152 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.339/1.339, allocations: 222.9 MB / 239.2 MB, free: 4.605 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.001306/0.001306, allocations: 188.5 kB / 289.5 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5066/0.5066, allocations: 91.89 MB / 431.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 71.89 kB / 0.5019 GB, free: 7.742 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3365, allocations: 71.27 MB / 0.5715 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005527/0.342, allocations: 6.648 MB / 0.578 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003291/0.3453, allocations: 2.028 MB / 0.5799 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005681/0.3459, allocations: 10.91 kB / 0.5799 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005998/0.3465, allocations: 241.7 kB / 0.5802 GB, free: 31.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.3482, allocations: 0.7674 MB / 0.5809 GB, free: 31.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.3494, allocations: 0.6613 MB / 0.5816 GB, free: 30.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.3506, allocations: 1.638 MB / 0.5832 GB, free: 29.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004162/0.3511, allocations: 346.6 kB / 0.5835 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006297/0.3517, allocations: 0.6683 MB / 0.5842 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006847/0.3524, allocations: 0.8109 MB / 0.5849 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.3526, allocations: 124.4 kB / 0.5851 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004603/0.353, allocations: 262 kB / 0.5853 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.3533, allocations: 335.2 kB / 0.5856 GB, free: 28.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004354/0.3537, allocations: 0.6743 MB / 0.5863 GB, free: 28.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.355, allocations: 1.675 MB / 0.5879 GB, free: 27.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.355, allocations: 1.375 kB / 0.5879 GB, free: 27.6 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.355, allocations: 7.906 kB / 0.5879 GB, free: 27.6 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.355, allocations: 0 / 0.5879 GB, free: 27.6 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.008943/0.364, allocations: 2.759 MB / 0.5906 GB, free: 26.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.364, allocations: 9.156 kB / 0.5906 GB, free: 26.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005004/0.369, allocations: 0.7842 MB / 0.5914 GB, free: 26.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.3706, allocations: 0.8857 MB / 0.5923 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/0.3709, allocations: 255.2 kB / 0.5925 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.371, allocations: 88.09 kB / 0.5926 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/0.3732, allocations: 1.179 MB / 0.5938 GB, free: 24.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.3733, allocations: 0 / 0.5938 GB, free: 24.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.3734, allocations: 35.5 kB / 0.5938 GB, free: 24.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.3734, allocations: 18.22 kB / 0.5938 GB, free: 24.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.3756, allocations: 1.07 MB / 0.5948 GB, free: 24.47 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.006403/0.382, allocations: 3.688 MB / 0.5985 GB, free: 22.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00285/0.3849, allocations: 1.548 MB / 0.6 GB, free: 21.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/0.3865, allocations: 0.7783 MB / 0.6007 GB, free: 21.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.3866, allocations: 16.92 kB / 0.6007 GB, free: 21.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001753/0.3883, allocations: 0.8899 MB / 0.6016 GB, free: 20.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 2.845e-06/0.3884, allocations: 4 kB / 0.6016 GB, free: 20.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02881/0.4172, allocations: 6.964 MB / 0.6084 GB, free: 19.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.4173, allocations: 118.9 kB / 0.6085 GB, free: 19.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.4191, allocations: 1.029 MB / 0.6095 GB, free: 18.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003281/0.4195, allocations: 42.58 kB / 0.6096 GB, free: 18.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.4198, allocations: 0.5029 MB / 0.6101 GB, free: 18.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/0.4202, allocations: 370.1 kB / 0.6104 GB, free: 18.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004951/0.4207, allocations: 247.8 kB / 0.6107 GB, free: 17.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.4208, allocations: 366.4 kB / 0.611 GB, free: 17.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.4225, allocations: 0.7627 MB / 0.6117 GB, free: 17.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.4243, allocations: 0.9111 MB / 0.6126 GB, free: 16.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02145/0.4458, allocations: 5.429 MB / 0.6179 GB, free: 14.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.4458, allocations: 1 kB / 0.6179 GB, free: 14.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01349/0.4593, allocations: 4.514 MB / 0.6223 GB, free: 10.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.605e-05/0.4594, allocations: 63.39 kB / 0.6224 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.4595, allocations: 4 kB / 0.6224 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006248/0.4657, allocations: 1.854 MB / 0.6242 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.467, allocations: 251.6 kB / 0.6245 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01992/0.4869, allocations: 9.492 MB / 0.6337 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/0.4891, allocations: 198.8 kB / 0.6339 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.4892, allocations: 47.98 kB / 0.634 GB, free: 14.04 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.0006158/0.4898, allocations: 298.9 kB / 0.6343 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.4901, allocations: 122.5 kB / 0.6344 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/0.5039, allocations: 4.196 MB / 0.6385 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.31e-05/0.504, allocations: 12 kB / 0.6385 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.504, allocations: 0 / 0.6385 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-05/0.5041, allocations: 7.922 kB / 0.6385 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/0.5213, allocations: 5.973 MB / 0.6443 GB, free: 3.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/0.5214, allocations: 4.031 kB / 0.6443 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008574/0.5222, allocations: 103.9 kB / 0.6444 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006661/0.5289, allocations: 1.831 MB / 0.6462 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002548/0.5292, allocations: 23.98 kB / 0.6462 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02328/0.5525, allocations: 10.32 MB / 0.6563 GB, free: 6.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.5525, allocations: 3.938 kB / 0.6563 GB, free: 6.676 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/0.5697, allocations: 5.138 MB / 0.6613 GB, free: 1.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005982/0.5703, allocations: 223.4 kB / 0.6615 GB, free: 1.262 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000466/0.5708, allocations: 23.94 kB / 0.6616 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/0.5724, allocations: 119.8 kB / 0.6617 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007893/0.5732, allocations: 208.7 kB / 0.6619 GB, free: 0.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/0.5734, allocations: 27.98 kB / 0.6619 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001237/0.5746, allocations: 0.7032 MB / 0.6626 GB, free: 184 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5747, allocations: 3.938 kB / 0.6626 GB, free: 180 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.001828/0.5765, allocations: 483.6 kB / 0.6631 GB, free: 15.7 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.0003483/0.5768, allocations: 139 kB / 0.6632 GB, free: 15.56 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008036/0.5849, allocations: 2.722 MB / 0.6658 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5849, allocations: 0 / 0.6658 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005428/0.5904, allocations: 1.788 MB / 0.6676 GB, free: 10.97 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.5916, allocations: 112.4 kB / 0.6677 GB, free: 10.86 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/0.5962, allocations: 2.377 MB / 0.67 GB, free: 8.453 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007458/0.597, allocations: 1.132 MB / 0.6711 GB, free: 7.293 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004967/0.5975, allocations: 103.9 kB / 0.6712 GB, free: 7.188 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.5978, allocations: 75.42 kB / 0.6713 GB, free: 7.113 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5978, allocations: 4 kB / 0.6713 GB, free: 7.109 MB / 478.1 MB Notification: Performance of Templates: time 0.04018/0.638, allocations: 26.36 MB / 0.697 GB, free: 12.79 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)