Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_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_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 174.1 kB / 16.07 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.8 MB / 239.7 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007527/0.0007527, allocations: 96.72 kB / 290.5 MB, free: 11.22 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4406/0.4406, allocations: 78.43 MB / 419.6 MB, free: 9.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003416, allocations: 19.92 kB / 499.1 MB, free: 10.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2911, allocations: 68.73 MB / 0.5545 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005681/0.2968, allocations: 6.95 MB / 0.5613 GB, free: 13.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0035/0.3003, allocations: 2.071 MB / 0.5633 GB, free: 11.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007691/0.3011, allocations: 19.94 kB / 0.5633 GB, free: 11.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000622/0.3018, allocations: 186.8 kB / 0.5635 GB, free: 10.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.3034, allocations: 0.685 MB / 0.5642 GB, free: 10.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.3046, allocations: 0.618 MB / 0.5648 GB, free: 9.656 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.3057, allocations: 1.546 MB / 0.5663 GB, free: 8.105 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003407/0.3061, allocations: 307.7 kB / 0.5666 GB, free: 7.793 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000537/0.3066, allocations: 0.5831 MB / 0.5672 GB, free: 7.207 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005602/0.3072, allocations: 0.7309 MB / 0.5679 GB, free: 6.473 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.3073, allocations: 64 kB / 0.5679 GB, free: 6.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003637/0.3077, allocations: 191.8 kB / 0.5681 GB, free: 6.223 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.3079, allocations: 254.6 kB / 0.5684 GB, free: 5.973 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003367/0.3082, allocations: 0.6015 MB / 0.569 GB, free: 5.367 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007379/0.309, allocations: 1.247 MB / 0.5702 GB, free: 4.117 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.309, allocations: 0 / 0.5702 GB, free: 4.117 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.309, allocations: 0 / 0.5702 GB, free: 4.117 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.309, allocations: 0 / 0.5702 GB, free: 4.117 MB / 378.7 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.007094/0.3161, allocations: 2.513 MB / 0.5726 GB, free: 1.539 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3161, allocations: 12.02 kB / 0.5726 GB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004781/0.3209, allocations: 0.7787 MB / 0.5734 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.3225, allocations: 0.8938 MB / 0.5743 GB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003072/0.3229, allocations: 256.2 kB / 0.5745 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002668/0.3231, allocations: 84 kB / 0.5746 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.3256, allocations: 1.172 MB / 0.5757 GB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.3256, allocations: 0 / 0.5757 GB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.3258, allocations: 36 kB / 0.5758 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.3258, allocations: 27.98 kB / 0.5758 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.3281, allocations: 1.07 MB / 0.5768 GB, free: 13.11 MB / 394.7 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.006525/0.3347, allocations: 3.68 MB / 0.5804 GB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/0.337, allocations: 1.551 MB / 0.582 GB, free: 7.617 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.3385, allocations: 0.7891 MB / 0.5827 GB, free: 6.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.3386, allocations: 16.98 kB / 0.5827 GB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00164/0.3402, allocations: 0.8918 MB / 0.5836 GB, free: 5.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=102): time 2.856e-06/0.3403, allocations: 0 / 0.5836 GB, free: 5.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=102): time 0.02551/0.3658, allocations: 6.968 MB / 0.5904 GB, free: 14.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/0.3659, allocations: 115.8 kB / 0.5905 GB, free: 14.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.3676, allocations: 1.035 MB / 0.5915 GB, free: 13.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002327/0.3678, allocations: 41.7 kB / 0.5916 GB, free: 13.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004012/0.3682, allocations: 0.5007 MB / 0.5921 GB, free: 13.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000383/0.3686, allocations: 374.7 kB / 0.5924 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.3688, allocations: 121.6 kB / 0.5925 GB, free: 12.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.369, allocations: 357.9 kB / 0.5929 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/0.3706, allocations: 0.7691 MB / 0.5936 GB, free: 11.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.3723, allocations: 0.9116 MB / 0.5945 GB, free: 10.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0206/0.3929, allocations: 5.42 MB / 0.5998 GB, free: 5.055 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.3929, allocations: 4 kB / 0.5998 GB, free: 5.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01397/0.4069, allocations: 4.499 MB / 0.6042 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.064e-05/0.407, allocations: 59.41 kB / 0.6043 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.407, allocations: 4 kB / 0.6043 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006608/0.4137, allocations: 1.865 MB / 0.6061 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.4149, allocations: 243.7 kB / 0.6063 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/0.4351, allocations: 8.732 MB / 0.6149 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.4369, allocations: 198.8 kB / 0.615 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.437, allocations: 43.98 kB / 0.6151 GB, free: 5.234 MB / 426.7 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.0005872/0.4376, allocations: 291.3 kB / 0.6154 GB, free: 4.934 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.4378, allocations: 126.4 kB / 0.6155 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/0.4508, allocations: 4.185 MB / 0.6196 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.4508, allocations: 12 kB / 0.6196 GB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.4508, allocations: 0 / 0.6196 GB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/0.4509, allocations: 7.969 kB / 0.6196 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/0.4657, allocations: 5.973 MB / 0.6254 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.4657, allocations: 3.938 kB / 0.6254 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000677/0.4664, allocations: 107.8 kB / 0.6255 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005822/0.4723, allocations: 1.832 MB / 0.6273 GB, free: 8.516 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.4724, allocations: 23.98 kB / 0.6273 GB, free: 8.492 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01941/0.4918, allocations: 9.378 MB / 0.6365 GB, free: 14.83 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.4918, allocations: 7.984 kB / 0.6365 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01534/0.5072, allocations: 5.134 MB / 0.6415 GB, free: 9.648 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006207/0.5079, allocations: 223.4 kB / 0.6417 GB, free: 9.41 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.5081, allocations: 19.98 kB / 0.6418 GB, free: 9.391 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.5093, allocations: 119.8 kB / 0.6419 GB, free: 9.273 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006938/0.51, allocations: 208.6 kB / 0.6421 GB, free: 9.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.807e-05/0.5101, allocations: 28 kB / 0.6421 GB, free: 9.043 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001038/0.5111, allocations: 0.6954 MB / 0.6428 GB, free: 8.34 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5111, allocations: 4 kB / 0.6428 GB, free: 8.336 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001339/0.5125, allocations: 483.5 kB / 0.6432 GB, free: 7.863 MB / 458.7 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.0002614/0.5127, allocations: 127.2 kB / 0.6434 GB, free: 7.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006584/0.5193, allocations: 2.637 MB / 0.6459 GB, free: 5.062 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5194, allocations: 0 / 0.6459 GB, free: 5.062 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004655/0.524, allocations: 1.755 MB / 0.6476 GB, free: 3.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.5251, allocations: 117.7 kB / 0.6478 GB, free: 3.156 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/0.5295, allocations: 2.824 MB / 0.6505 GB, free: 300 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/0.5302, allocations: 1.132 MB / 0.6516 GB, free: 15.13 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004028/0.5306, allocations: 75.42 kB / 0.6517 GB, free: 15.05 MB / 474.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5307, allocations: 0 / 0.6517 GB, free: 15.05 MB / 474.7 MB Notification: Performance of Templates: time 0.02998/0.5606, allocations: 23.97 MB / 0.6751 GB, free: 7.07 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)