Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.0009948/0.0009948, allocations: 100.8 kB / 15.98 MB, free: 6.352 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.19/1.19, allocations: 222.9 MB / 239.6 MB, free: 4.688 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.001179/0.001179, allocations: 188.5 kB / 289.9 MB, free: 2.434 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4031/0.4031, allocations: 78.52 MB / 418.6 MB, free: 3.297 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 72.22 kB / 497.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1092, allocations: 68.18 MB / 0.5525 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.1883/0.2975, allocations: 6.949 MB / 0.5593 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003569/0.3011, allocations: 2.063 MB / 0.5613 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007525/0.3019, allocations: 11.84 kB / 0.5613 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007789/0.3027, allocations: 191.8 kB / 0.5615 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.3045, allocations: 0.6611 MB / 0.5621 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.3058, allocations: 0.6257 MB / 0.5628 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.3072, allocations: 1.633 MB / 0.5644 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004327/0.3076, allocations: 340.7 kB / 0.5647 GB, free: 34.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000737/0.3084, allocations: 0.6707 MB / 0.5653 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006835/0.3091, allocations: 0.8226 MB / 0.5661 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.3092, allocations: 123.6 kB / 0.5663 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004391/0.3097, allocations: 261.3 kB / 0.5665 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.3099, allocations: 322.2 kB / 0.5668 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004419/0.3104, allocations: 0.682 MB / 0.5675 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.3114, allocations: 1.305 MB / 0.5688 GB, free: 33.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3114, allocations: 0 / 0.5688 GB, free: 33.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3114, allocations: 0 / 0.5688 GB, free: 33.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.3114, allocations: 0.9688 kB / 0.5688 GB, free: 33.84 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.007859/0.3193, allocations: 2.764 MB / 0.5715 GB, free: 32.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3193, allocations: 10.09 kB / 0.5715 GB, free: 32.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004567/0.3239, allocations: 0.789 MB / 0.5722 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.3252, allocations: 0.8837 MB / 0.5731 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.3254, allocations: 262.3 kB / 0.5733 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.3256, allocations: 86.09 kB / 0.5734 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.3276, allocations: 1.171 MB / 0.5746 GB, free: 32.08 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.3276, allocations: 1.031 kB / 0.5746 GB, free: 32.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.366e-05/0.3277, allocations: 34.75 kB / 0.5746 GB, free: 32.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.3278, allocations: 19.12 kB / 0.5746 GB, free: 32.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.3297, allocations: 1.075 MB / 0.5757 GB, free: 32.07 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.005234/0.3349, allocations: 3.687 MB / 0.5793 GB, free: 30.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.3369, allocations: 1.55 MB / 0.5808 GB, free: 29.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.3382, allocations: 0.7789 MB / 0.5815 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.3383, allocations: 20.19 kB / 0.5816 GB, free: 29.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001607/0.3399, allocations: 0.889 MB / 0.5824 GB, free: 28.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 2.484e-06/0.34, allocations: 2.156 kB / 0.5824 GB, free: 28.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02416/0.3641, allocations: 6.96 MB / 0.5892 GB, free: 27.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.3642, allocations: 114.7 kB / 0.5893 GB, free: 27.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.3657, allocations: 1.036 MB / 0.5904 GB, free: 26.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001951/0.3659, allocations: 42.33 kB / 0.5904 GB, free: 26.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/0.3662, allocations: 0.5035 MB / 0.5909 GB, free: 26.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/0.3665, allocations: 374.9 kB / 0.5912 GB, free: 26.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004543/0.367, allocations: 246.8 kB / 0.5915 GB, free: 26.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.137e-05/0.3671, allocations: 359.3 kB / 0.5918 GB, free: 25.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.3686, allocations: 0.7624 MB / 0.5926 GB, free: 25.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.3703, allocations: 0.9124 MB / 0.5935 GB, free: 25.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02045/0.3907, allocations: 5.432 MB / 0.5988 GB, free: 23.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.3908, allocations: 3.938 kB / 0.5988 GB, free: 23.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01397/0.4048, allocations: 4.503 MB / 0.6032 GB, free: 22.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.137e-05/0.4049, allocations: 59.45 kB / 0.6032 GB, free: 22.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.4049, allocations: 2.969 kB / 0.6032 GB, free: 22.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006811/0.4117, allocations: 1.863 MB / 0.605 GB, free: 21.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.413, allocations: 250.3 kB / 0.6053 GB, free: 21.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02/0.433, allocations: 9.479 MB / 0.6145 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/0.435, allocations: 199.9 kB / 0.6147 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/0.4352, allocations: 48.59 kB / 0.6148 GB, free: 15.28 MB / 430.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.0005928/0.4358, allocations: 288.7 kB / 0.6151 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.436, allocations: 127.5 kB / 0.6152 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/0.4481, allocations: 4.19 MB / 0.6193 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.4482, allocations: 12 kB / 0.6193 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4482, allocations: 0 / 0.6193 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.221e-05/0.4482, allocations: 7.922 kB / 0.6193 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/0.4618, allocations: 5.974 MB / 0.6251 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.4618, allocations: 0 / 0.6251 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000691/0.4625, allocations: 112.9 kB / 0.6252 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005368/0.4679, allocations: 1.836 MB / 0.627 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001987/0.4681, allocations: 16 kB / 0.627 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01973/0.4879, allocations: 10.31 MB / 0.6371 GB, free: 7.941 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4879, allocations: 3.938 kB / 0.6371 GB, free: 7.938 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/0.5024, allocations: 5.134 MB / 0.6421 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/0.5028, allocations: 224.8 kB / 0.6423 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.5031, allocations: 23.94 kB / 0.6424 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.5043, allocations: 116.7 kB / 0.6425 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006147/0.505, allocations: 212.7 kB / 0.6427 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-05/0.505, allocations: 27.98 kB / 0.6427 GB, free: 2.156 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009473/0.506, allocations: 0.7071 MB / 0.6434 GB, free: 1.441 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.506, allocations: 0 / 0.6434 GB, free: 1.441 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001334/0.5074, allocations: 483.5 kB / 0.6439 GB, free: 0.9688 MB / 446.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.0002534/0.5076, allocations: 129.5 kB / 0.644 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007174/0.5148, allocations: 2.719 MB / 0.6466 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.5148, allocations: 4 kB / 0.6466 GB, free: 14.08 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004665/0.5195, allocations: 1.796 MB / 0.6484 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009918/0.5205, allocations: 118.2 kB / 0.6485 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/0.5247, allocations: 2.842 MB / 0.6513 GB, free: 9.312 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/0.5253, allocations: 1.132 MB / 0.6524 GB, free: 8.152 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.5256, allocations: 83.41 kB / 0.6525 GB, free: 8.07 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5256, allocations: 0 / 0.6525 GB, free: 8.07 MB / 462.1 MB Notification: Performance of Templates: time 0.02545/0.5511, allocations: 24.1 MB / 0.676 GB, free: 124 kB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)