Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_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.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008093/0.0008094, allocations: 173.7 kB / 15.45 MB, free: 6.172 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.209/1.209, allocations: 223.3 MB / 239.5 MB, free: 1.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007493/0.000749, allocations: 89.86 kB / 290.7 MB, free: 13.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4188/0.4188, allocations: 78.61 MB / 420.4 MB, free: 44.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003427, allocations: 12 kB / 0.4888 GB, free: 2.531 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3283, allocations: 69.35 MB / 0.5565 GB, free: 39.1 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test): time 0.005124/0.3335, allocations: 6.4 MB / 0.5628 GB, free: 36.27 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.3368, allocations: 2.072 MB / 0.5648 GB, free: 35.45 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004603/0.3373, allocations: 17.28 kB / 0.5648 GB, free: 35.45 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005376/0.3378, allocations: 185.9 kB / 0.565 GB, free: 35.39 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.3392, allocations: 0.6712 MB / 0.5656 GB, free: 35.07 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.3405, allocations: 0.635 MB / 0.5663 GB, free: 34.96 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.3418, allocations: 1.516 MB / 0.5677 GB, free: 34.28 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003821/0.3422, allocations: 302.6 kB / 0.568 GB, free: 34.13 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005832/0.3428, allocations: 0.5635 MB / 0.5686 GB, free: 33.88 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000621/0.3434, allocations: 0.7302 MB / 0.5693 GB, free: 33.55 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.3436, allocations: 59.12 kB / 0.5693 GB, free: 33.55 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.344, allocations: 185.9 kB / 0.5695 GB, free: 33.51 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.3442, allocations: 263.1 kB / 0.5698 GB, free: 33.36 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.3445, allocations: 0.6182 MB / 0.5704 GB, free: 32.94 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009289/0.3455, allocations: 1.569 MB / 0.5719 GB, free: 32.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3455, allocations: 4 kB / 0.5719 GB, free: 32.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3455, allocations: 0 / 0.5719 GB, free: 32.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.3455, allocations: 2.875 kB / 0.5719 GB, free: 32.35 MB / 426.7 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.006871/0.3524, allocations: 2.561 MB / 0.5744 GB, free: 31.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.3524, allocations: 10.41 kB / 0.5744 GB, free: 31.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004424/0.3569, allocations: 0.7892 MB / 0.5752 GB, free: 31.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.358, allocations: 0.8824 MB / 0.5761 GB, free: 30.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.3582, allocations: 230.8 kB / 0.5763 GB, free: 30.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.3584, allocations: 90.69 kB / 0.5764 GB, free: 30.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.3603, allocations: 1.254 MB / 0.5776 GB, free: 29.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.3603, allocations: 0 / 0.5776 GB, free: 29.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.353e-05/0.3604, allocations: 31.88 kB / 0.5776 GB, free: 29.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.3604, allocations: 20.41 kB / 0.5776 GB, free: 29.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.3623, allocations: 1.169 MB / 0.5788 GB, free: 29.4 MB / 426.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.005123/0.3675, allocations: 3.793 MB / 0.5825 GB, free: 27.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.3695, allocations: 1.59 MB / 0.584 GB, free: 26.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.3708, allocations: 0.8599 MB / 0.5849 GB, free: 25.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.3709, allocations: 14.73 kB / 0.5849 GB, free: 25.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.371, allocations: 52.69 kB / 0.5849 GB, free: 25.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=99): time 2.575e-06/0.371, allocations: 0 / 0.5849 GB, free: 25.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=99): time 0.02196/0.393, allocations: 7.765 MB / 0.5925 GB, free: 24.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.393, allocations: 141.1 kB / 0.5927 GB, free: 24.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.3945, allocations: 1.018 MB / 0.5937 GB, free: 23.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.3946, allocations: 45.98 kB / 0.5937 GB, free: 23.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.395, allocations: 0.4964 MB / 0.5942 GB, free: 23.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.3952, allocations: 365.5 kB / 0.5945 GB, free: 23.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.3954, allocations: 120.8 kB / 0.5947 GB, free: 23.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.806e-05/0.3955, allocations: 357.3 kB / 0.595 GB, free: 22.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.397, allocations: 0.825 MB / 0.5958 GB, free: 22.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.3986, allocations: 0.9731 MB / 0.5967 GB, free: 22.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01954/0.4182, allocations: 5.897 MB / 0.6025 GB, free: 20.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.739e-06/0.4182, allocations: 0 / 0.6025 GB, free: 20.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01497/0.4332, allocations: 5.373 MB / 0.6078 GB, free: 19.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.4334, allocations: 215.4 kB / 0.608 GB, free: 18.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.4334, allocations: 2.047 kB / 0.608 GB, free: 18.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006854/0.4403, allocations: 2.177 MB / 0.6101 GB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.4415, allocations: 240.1 kB / 0.6103 GB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01835/0.4599, allocations: 9.72 MB / 0.6198 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.4616, allocations: 226.8 kB / 0.62 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/0.4618, allocations: 47.98 kB / 0.6201 GB, free: 8.484 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.4618, allocations: 4 kB / 0.6201 GB, free: 8.48 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01231/0.4741, allocations: 5.21 MB / 0.6252 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.4742, allocations: 7.938 kB / 0.6252 GB, free: 3.242 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005901/0.4801, allocations: 2.175 MB / 0.6273 GB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.4811, allocations: 227.7 kB / 0.6275 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01901/0.5001, allocations: 9.685 MB / 0.637 GB, free: 7.016 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.5017, allocations: 207 kB / 0.6372 GB, free: 6.812 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.5018, allocations: 36 kB / 0.6372 GB, free: 6.777 MB / 442.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 126 * 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.0006286/0.5024, allocations: 381 kB / 0.6376 GB, free: 6.391 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/0.5027, allocations: 122.5 kB / 0.6377 GB, free: 6.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/0.5156, allocations: 4.961 MB / 0.6425 GB, free: 1.293 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.5156, allocations: 19.88 kB / 0.6425 GB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.5156, allocations: 0 / 0.6425 GB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.5156, allocations: 7.969 kB / 0.6426 GB, free: 1.266 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/0.5305, allocations: 6.795 MB / 0.6492 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5305, allocations: 3.938 kB / 0.6492 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006463/0.5311, allocations: 127.8 kB / 0.6493 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005562/0.5367, allocations: 2.046 MB / 0.6513 GB, free: 8.156 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.868e-05/0.5368, allocations: 19.98 kB / 0.6513 GB, free: 8.137 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01618/0.553, allocations: 8.221 MB / 0.6594 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.553, allocations: 4 kB / 0.6594 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/0.5672, allocations: 5.978 MB / 0.6652 GB, free: 9.754 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.5675, allocations: 219.2 kB / 0.6654 GB, free: 9.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.5677, allocations: 20 kB / 0.6654 GB, free: 9.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.5688, allocations: 151.9 kB / 0.6656 GB, free: 9.352 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000486/0.5693, allocations: 192.5 kB / 0.6658 GB, free: 9.164 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.086e-05/0.5693, allocations: 32 kB / 0.6658 GB, free: 9.133 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009477/0.5703, allocations: 0.6991 MB / 0.6665 GB, free: 8.426 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5703, allocations: 0 / 0.6665 GB, free: 8.426 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001783/0.5721, allocations: 0.7569 MB / 0.6672 GB, free: 7.668 MB / 474.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.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 (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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002462/0.5724, allocations: 139.6 kB / 0.6673 GB, free: 7.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01137/0.5837, allocations: 5.048 MB / 0.6723 GB, free: 2.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5837, allocations: 0 / 0.6723 GB, free: 2.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004226/0.588, allocations: 1.841 MB / 0.6741 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007603/0.5888, allocations: 119.2 kB / 0.6742 GB, free: 432 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.5926, allocations: 2.93 MB / 0.677 GB, free: 13.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006062/0.5932, allocations: 1.137 MB / 0.6782 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005573/0.5938, allocations: 139.5 kB / 0.6783 GB, free: 12.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.594, allocations: 71.42 kB / 0.6784 GB, free: 12.09 MB / 490.7 MB Notification: Performance of SimCode: time 4.2e-07/0.594, allocations: 0 / 0.6784 GB, free: 12.09 MB / 490.7 MB Notification: Performance of Templates: time 0.04259/0.6366, allocations: 30.18 MB / 0.7078 GB, free: 13.94 MB / 0.5105 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)