Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_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.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.293/1.293, allocations: 223.2 MB / 238.9 MB, free: 5.457 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.001289/0.001288, allocations: 185 kB / 290.2 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4647/0.4647, allocations: 79.45 MB / 420.7 MB, free: 3.891 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004168, allocations: 12 kB / 0.489 GB, free: 5.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3772, allocations: 69.52 MB / 0.5569 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test): time 0.005108/0.3824, allocations: 5.732 MB / 0.5625 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003921/0.3863, allocations: 2.015 MB / 0.5644 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007931/0.3871, allocations: 12.75 kB / 0.5645 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006356/0.3878, allocations: 172.4 kB / 0.5646 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.3895, allocations: 0.6808 MB / 0.5653 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.3908, allocations: 0.5702 MB / 0.5658 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.3923, allocations: 0.9991 MB / 0.5668 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003928/0.3927, allocations: 276.7 kB / 0.5671 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006827/0.3934, allocations: 0.5521 MB / 0.5676 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006418/0.394, allocations: 0.6865 MB / 0.5683 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.3942, allocations: 58.34 kB / 0.5684 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004398/0.3946, allocations: 172 kB / 0.5685 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.3949, allocations: 251.1 kB / 0.5688 GB, free: 35.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.3951, allocations: 234.4 kB / 0.569 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.3961, allocations: 1.194 MB / 0.5701 GB, free: 35.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.3961, allocations: 0 / 0.5701 GB, free: 35.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3961, allocations: 0 / 0.5701 GB, free: 35.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.3962, allocations: 0 / 0.5701 GB, free: 35.54 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00779/0.4039, allocations: 2.569 MB / 0.5727 GB, free: 34.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.404, allocations: 13.09 kB / 0.5727 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004857/0.4089, allocations: 0.7905 MB / 0.5734 GB, free: 34.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.4105, allocations: 0.8449 MB / 0.5743 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.4107, allocations: 234.9 kB / 0.5745 GB, free: 33.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.4109, allocations: 87.66 kB / 0.5746 GB, free: 33.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.413, allocations: 1.239 MB / 0.5758 GB, free: 33.08 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.413, allocations: 2.719 kB / 0.5758 GB, free: 33.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.449e-05/0.4131, allocations: 29.72 kB / 0.5758 GB, free: 33.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.4131, allocations: 23.11 kB / 0.5758 GB, free: 33.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.4153, allocations: 1.166 MB / 0.577 GB, free: 32.68 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.006545/0.4218, allocations: 3.892 MB / 0.5808 GB, free: 30.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002063/0.4239, allocations: 1.583 MB / 0.5823 GB, free: 29.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-05/0.424, allocations: 23.16 kB / 0.5823 GB, free: 29.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.4241, allocations: 42.38 kB / 0.5824 GB, free: 29.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=99): time 3.346e-06/0.4241, allocations: 0 / 0.5824 GB, free: 29.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=99): time 0.02415/0.4482, allocations: 7.727 MB / 0.5899 GB, free: 27.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.4483, allocations: 140.1 kB / 0.5901 GB, free: 27.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.4501, allocations: 1.009 MB / 0.591 GB, free: 27.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003129/0.4504, allocations: 41.92 kB / 0.5911 GB, free: 27.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/0.4508, allocations: 0.4992 MB / 0.5916 GB, free: 26.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/0.4511, allocations: 361.8 kB / 0.5919 GB, free: 26.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.222e-05/0.4512, allocations: 25.34 kB / 0.5919 GB, free: 26.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.4513, allocations: 363.6 kB / 0.5923 GB, free: 26.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.453, allocations: 0.8155 MB / 0.5931 GB, free: 26.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.4548, allocations: 0.9635 MB / 0.594 GB, free: 25.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.4565, allocations: 0.9355 MB / 0.5949 GB, free: 25.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.4565, allocations: 1.469 kB / 0.5949 GB, free: 25.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.0156/0.4721, allocations: 5.342 MB / 0.6002 GB, free: 23.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002437/0.4724, allocations: 0.9402 MB / 0.6011 GB, free: 22.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.4724, allocations: 2.219 kB / 0.6011 GB, free: 22.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00785/0.4803, allocations: 2.185 MB / 0.6032 GB, free: 22.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/0.4821, allocations: 231.8 kB / 0.6034 GB, free: 22.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02584/0.508, allocations: 11.35 MB / 0.6145 GB, free: 16.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/0.51, allocations: 224.5 kB / 0.6147 GB, free: 16.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002895/0.5103, allocations: 43.8 kB / 0.6148 GB, free: 16.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5104, allocations: 6.188 kB / 0.6148 GB, free: 16.51 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01379/0.5242, allocations: 5.186 MB / 0.6198 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.5242, allocations: 4.703 kB / 0.6198 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006436/0.5307, allocations: 2.189 MB / 0.622 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.5318, allocations: 223.7 kB / 0.6222 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02119/0.5531, allocations: 11.34 MB / 0.6333 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.5551, allocations: 206.9 kB / 0.6335 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002548/0.5554, allocations: 48.67 kB / 0.6335 GB, free: 13.57 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.e2d:VARIABLE(start = order6Type2_Inputs_Outputs.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {24 12} Notification: Performance of prepare postOptimizeDAE: time 0.0008904/0.5563, allocations: 363 kB / 0.6339 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000416/0.5567, allocations: 122.5 kB / 0.634 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/0.5707, allocations: 4.957 MB / 0.6388 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.5708, allocations: 8 kB / 0.6388 GB, free: 8.098 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5708, allocations: 5.062 kB / 0.6388 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-05/0.5708, allocations: 5.203 kB / 0.6388 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01695/0.5878, allocations: 6.842 MB / 0.6455 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.5879, allocations: 0 / 0.6455 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008335/0.5887, allocations: 127.8 kB / 0.6456 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006161/0.5949, allocations: 2.054 MB / 0.6476 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002077/0.5951, allocations: 21.38 kB / 0.6477 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01938/0.6145, allocations: 8.644 MB / 0.6561 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.6145, allocations: 8.953 kB / 0.6561 GB, free: 6.109 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/0.6307, allocations: 5.97 MB / 0.6619 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005049/0.6312, allocations: 227.8 kB / 0.6622 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003779/0.6316, allocations: 16 kB / 0.6622 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.6331, allocations: 147.9 kB / 0.6623 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006118/0.6337, allocations: 200.6 kB / 0.6625 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.6338, allocations: 24 kB / 0.6625 GB, free: 15.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001188/0.635, allocations: 0.6874 MB / 0.6632 GB, free: 14.78 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.635, allocations: 0 / 0.6632 GB, free: 14.78 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002624/0.6377, allocations: 0.7646 MB / 0.6639 GB, free: 14.02 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.firstOrder.y,aVRI.firstOrder2.y,aVRI.transferFunction.x_scaled[1],aVRI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003098/0.638, allocations: 140.6 kB / 0.6641 GB, free: 13.87 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0133/0.6513, allocations: 5.248 MB / 0.6692 GB, free: 8.531 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.6513, allocations: 0 / 0.6692 GB, free: 8.531 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005153/0.6565, allocations: 1.833 MB / 0.671 GB, free: 6.676 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.6576, allocations: 104.1 kB / 0.6711 GB, free: 6.574 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/0.6626, allocations: 2.839 MB / 0.6739 GB, free: 3.766 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008395/0.6635, allocations: 1.164 MB / 0.675 GB, free: 2.574 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006641/0.6641, allocations: 132.3 kB / 0.6751 GB, free: 2.445 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.6644, allocations: 71.42 kB / 0.6752 GB, free: 2.375 MB / 478.1 MB Notification: Performance of SimCode: time 6.12e-07/0.6645, allocations: 0 / 0.6752 GB, free: 2.375 MB / 478.1 MB Notification: Performance of Templates: time 0.04477/0.7092, allocations: 29.31 MB / 0.7038 GB, free: 5.176 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)