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.0009612/0.0009613, allocations: 175.4 kB / 15.41 MB, free: 6.203 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.224/1.224, allocations: 222.9 MB / 239 MB, free: 84 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007186/0.0007187, allocations: 96.92 kB / 289.8 MB, free: 4.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.2966/0.2966, allocations: 78.44 MB / 419 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 12 kB / 498.4 MB, free: 35.45 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3084, allocations: 68.74 MB / 0.5539 GB, free: 10.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.006206/0.3147, allocations: 6.952 MB / 0.5607 GB, free: 5.824 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003424/0.3181, allocations: 2.079 MB / 0.5627 GB, free: 4.348 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004902/0.3186, allocations: 16.12 kB / 0.5627 GB, free: 4.344 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005725/0.3192, allocations: 186.7 kB / 0.5629 GB, free: 4.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.3206, allocations: 0.6832 MB / 0.5636 GB, free: 3.816 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.3218, allocations: 0.62 MB / 0.5642 GB, free: 3.465 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.3235, allocations: 1.546 MB / 0.5657 GB, free: 2.723 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005022/0.324, allocations: 310.8 kB / 0.566 GB, free: 2.562 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009223/0.325, allocations: 0.5811 MB / 0.5665 GB, free: 2.297 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008889/0.3259, allocations: 0.733 MB / 0.5673 GB, free: 1.965 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.326, allocations: 59.09 kB / 0.5673 GB, free: 1.965 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004492/0.3265, allocations: 190.7 kB / 0.5675 GB, free: 1.922 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.3267, allocations: 256.3 kB / 0.5677 GB, free: 1.773 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004518/0.3272, allocations: 0.5971 MB / 0.5683 GB, free: 1.387 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.3288, allocations: 1.586 MB / 0.5699 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3288, allocations: 0.8438 kB / 0.5699 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3288, allocations: 0 / 0.5699 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.3288, allocations: 0 / 0.5699 GB, free: 0.7969 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.007737/0.3366, allocations: 2.515 MB / 0.5723 GB, free: 15.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3366, allocations: 8.406 kB / 0.5723 GB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004947/0.3416, allocations: 0.7847 MB / 0.5731 GB, free: 15.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.3431, allocations: 0.8882 MB / 0.574 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/0.3434, allocations: 257.5 kB / 0.5742 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.3435, allocations: 83.81 kB / 0.5743 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.3459, allocations: 1.171 MB / 0.5754 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3459, allocations: 0 / 0.5754 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.82e-05/0.346, allocations: 31.67 kB / 0.5755 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.346, allocations: 19.69 kB / 0.5755 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.3483, allocations: 1.083 MB / 0.5765 GB, free: 13.69 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.006315/0.3546, allocations: 3.679 MB / 0.5801 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002562/0.3572, allocations: 1.554 MB / 0.5817 GB, free: 9.707 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/0.3588, allocations: 0.7833 MB / 0.5824 GB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.3589, allocations: 20.31 kB / 0.5824 GB, free: 9.289 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001673/0.3606, allocations: 0.894 MB / 0.5833 GB, free: 8.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=102): time 2.675e-06/0.3606, allocations: 0 / 0.5833 GB, free: 8.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=102): time 0.02475/0.3853, allocations: 6.963 MB / 0.5901 GB, free: 5.223 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/0.3854, allocations: 121.4 kB / 0.5902 GB, free: 5.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.3871, allocations: 1.032 MB / 0.5912 GB, free: 4.508 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001769/0.3873, allocations: 42.11 kB / 0.5913 GB, free: 4.465 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.3877, allocations: 0.5092 MB / 0.5918 GB, free: 4.008 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000391/0.3881, allocations: 369 kB / 0.5921 GB, free: 3.688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.3883, allocations: 125.2 kB / 0.5922 GB, free: 3.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.3884, allocations: 357 kB / 0.5926 GB, free: 3.262 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.39, allocations: 0.7661 MB / 0.5933 GB, free: 2.508 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.3916, allocations: 0.9077 MB / 0.5942 GB, free: 1.566 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01987/0.4115, allocations: 5.424 MB / 0.5995 GB, free: 12.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.4116, allocations: 0 / 0.5995 GB, free: 12.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01367/0.4252, allocations: 4.51 MB / 0.6039 GB, free: 7.523 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.857e-05/0.4253, allocations: 59.41 kB / 0.604 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.4254, allocations: 0 / 0.604 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006398/0.4318, allocations: 1.861 MB / 0.6058 GB, free: 5.586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.433, allocations: 243.7 kB / 0.606 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/0.452, allocations: 8.733 MB / 0.6146 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.4539, allocations: 198.8 kB / 0.6147 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.4541, allocations: 43.98 kB / 0.6148 GB, free: 12.24 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.0005693/0.4546, allocations: 287.7 kB / 0.6151 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.4549, allocations: 126.4 kB / 0.6152 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.4678, allocations: 4.189 MB / 0.6193 GB, free: 7.602 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.4678, allocations: 16 kB / 0.6193 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.4678, allocations: 0 / 0.6193 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-05/0.4679, allocations: 7.969 kB / 0.6193 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/0.483, allocations: 5.961 MB / 0.6251 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.4831, allocations: 7.938 kB / 0.6251 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000781/0.4839, allocations: 107.8 kB / 0.6252 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005977/0.4899, allocations: 1.824 MB / 0.627 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002286/0.4901, allocations: 20 kB / 0.627 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01883/0.509, allocations: 9.393 MB / 0.6362 GB, free: 5.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.509, allocations: 0 / 0.6362 GB, free: 5.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/0.5237, allocations: 5.138 MB / 0.6412 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005314/0.5242, allocations: 219.3 kB / 0.6414 GB, free: 440 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.5244, allocations: 16 kB / 0.6414 GB, free: 424 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.5256, allocations: 119.9 kB / 0.6416 GB, free: 304 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006926/0.5263, allocations: 200.6 kB / 0.6417 GB, free: 104 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.073e-05/0.5264, allocations: 31.98 kB / 0.6418 GB, free: 72 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001079/0.5275, allocations: 0.7033 MB / 0.6425 GB, free: 15.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5275, allocations: 0 / 0.6425 GB, free: 15.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001474/0.529, allocations: 487.4 kB / 0.6429 GB, free: 14.88 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.0002486/0.5292, allocations: 139 kB / 0.6431 GB, free: 14.74 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006453/0.5357, allocations: 2.634 MB / 0.6456 GB, free: 12.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5357, allocations: 0.5625 kB / 0.6456 GB, free: 12.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004508/0.5402, allocations: 1.761 MB / 0.6474 GB, free: 10.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.5413, allocations: 115.6 kB / 0.6475 GB, free: 10.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003979/0.5453, allocations: 2.804 MB / 0.6502 GB, free: 7.328 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/0.5459, allocations: 1.132 MB / 0.6513 GB, free: 6.164 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004357/0.5464, allocations: 103.9 kB / 0.6514 GB, free: 6.059 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.5466, allocations: 67.42 kB / 0.6515 GB, free: 5.992 MB / 458.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5466, allocations: 0 / 0.6515 GB, free: 5.992 MB / 458.7 MB Notification: Performance of Templates: time 0.03239/0.579, allocations: 23.32 MB / 0.6742 GB, free: 14.7 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)