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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 85.27 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9315/0.9315, allocations: 177.1 MB / 200.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 164.5 kB / 256.9 MB, free: 12.99 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2723/0.2723, allocations: 80.25 MB / 393.7 MB, free: 2 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 490.2 MB, free: 11.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.966e-05, allocations: 5.125 kB / 490.2 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.007784/0.007813, allocations: 6.224 MB / 496.5 MB, free: 5.039 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004969/0.01278, allocations: 2.03 MB / 498.5 MB, free: 3.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.01395, allocations: 15.94 kB / 498.5 MB, free: 3.004 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.01512, allocations: 239 kB / 498.7 MB, free: 2.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002063/0.01719, allocations: 0.8529 MB / 499.6 MB, free: 1.914 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.01822, allocations: 0.6684 MB / 0.4885 GB, free: 1.258 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.01923, allocations: 1.635 MB / 0.4901 GB, free: 15.62 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002971/0.01953, allocations: 229.1 kB / 0.4903 GB, free: 15.38 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007467/0.02027, allocations: 0.9364 MB / 0.4913 GB, free: 14.44 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005038/0.02078, allocations: 0.6503 MB / 0.4919 GB, free: 13.79 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.0209, allocations: 128 kB / 0.492 GB, free: 13.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003085/0.0212, allocations: 269 kB / 0.4923 GB, free: 13.4 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.02138, allocations: 338.5 kB / 0.4926 GB, free: 13.07 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.02165, allocations: 466.5 kB / 0.493 GB, free: 12.61 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.0227, allocations: 1.257 MB / 0.4943 GB, free: 11.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.0227, allocations: 0.5625 kB / 0.4943 GB, free: 11.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.02271, allocations: 4.5 kB / 0.4943 GB, free: 11.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.02271, allocations: 1.688 kB / 0.4943 GB, free: 11.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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.004116/0.02683, allocations: 3.011 MB / 0.4972 GB, free: 8.309 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.02686, allocations: 8.031 kB / 0.4972 GB, free: 8.301 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/0.0293, allocations: 0.9461 MB / 0.4982 GB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007322/0.03003, allocations: 0.787 MB / 0.4989 GB, free: 6.527 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.03017, allocations: 273.9 kB / 0.4992 GB, free: 6.215 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.03028, allocations: 91.94 kB / 0.4993 GB, free: 6.125 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007826/0.03107, allocations: 0.7225 MB / 0.5 GB, free: 5.383 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.03108, allocations: 0 / 0.5 GB, free: 5.383 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6e-05/0.03114, allocations: 32 kB / 0.5 GB, free: 5.352 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.03115, allocations: 27.94 kB / 0.5 GB, free: 5.324 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005107/0.03166, allocations: 419.3 kB / 0.5004 GB, free: 4.906 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.002914/0.03458, allocations: 2.481 MB / 0.5029 GB, free: 2.383 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/0.03526, allocations: 0.5825 MB / 0.5034 GB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.03558, allocations: 323.9 kB / 0.5037 GB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.087e-05/0.03566, allocations: 20.98 kB / 0.5038 GB, free: 1.426 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004954/0.03615, allocations: 0.5141 MB / 0.5043 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 2.445e-06/0.03616, allocations: 0 / 0.5043 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of matching and sorting (n=102): time 0.009536/0.04569, allocations: 4.675 MB / 0.5088 GB, free: 12.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.04573, allocations: 119.8 kB / 0.5089 GB, free: 12.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005646/0.0463, allocations: 0.9038 MB / 0.5098 GB, free: 11.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.331e-05/0.04636, allocations: 45.7 kB / 0.5099 GB, free: 11.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.04662, allocations: 0.5664 MB / 0.5104 GB, free: 10.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.04683, allocations: 392.6 kB / 0.5108 GB, free: 10.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.0471, allocations: 257.1 kB / 0.511 GB, free: 9.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.04723, allocations: 0.5315 MB / 0.5116 GB, free: 9.301 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/0.04767, allocations: 375.2 kB / 0.5119 GB, free: 8.922 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.04818, allocations: 0.5481 MB / 0.5124 GB, free: 8.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.04957, allocations: 1.353 MB / 0.5138 GB, free: 6.895 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.04958, allocations: 0 / 0.5138 GB, free: 6.895 MB / 442.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004952/0.05453, allocations: 3.046 MB / 0.5167 GB, free: 3.809 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.05457, allocations: 70.05 kB / 0.5168 GB, free: 3.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.05458, allocations: 8 kB / 0.5168 GB, free: 3.723 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004448/0.05902, allocations: 1.883 MB / 0.5187 GB, free: 1.832 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.05959, allocations: 243.6 kB / 0.5189 GB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006366/0.06596, allocations: 4.753 MB / 0.5235 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005965/0.06655, allocations: 151.2 kB / 0.5237 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.514e-05/0.06662, allocations: 47.97 kB / 0.5237 GB, free: 12.53 MB / 458.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 (136): * Single equations (assignments): 133 * 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.0002618/0.06688, allocations: 248.2 kB / 0.524 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.06705, allocations: 163.2 kB / 0.5241 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004509/0.07156, allocations: 2.666 MB / 0.5267 GB, free: 9.414 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.07156, allocations: 12 kB / 0.5267 GB, free: 9.402 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.07157, allocations: 0 / 0.5267 GB, free: 9.402 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.07157, allocations: 3.984 kB / 0.5267 GB, free: 9.398 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005468/0.07704, allocations: 3.661 MB / 0.5303 GB, free: 5.676 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.07705, allocations: 4 kB / 0.5303 GB, free: 5.672 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.07734, allocations: 103.9 kB / 0.5304 GB, free: 5.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004212/0.08156, allocations: 1.884 MB / 0.5322 GB, free: 3.676 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.792e-05/0.08161, allocations: 27.94 kB / 0.5323 GB, free: 3.648 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00629/0.0879, allocations: 6.483 MB / 0.5386 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.0879, allocations: 0 / 0.5386 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00495/0.09285, allocations: 3.077 MB / 0.5416 GB, free: 9.801 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.09301, allocations: 146.9 kB / 0.5417 GB, free: 9.656 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-05/0.0931, allocations: 16 kB / 0.5418 GB, free: 9.641 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.09355, allocations: 83.92 kB / 0.5418 GB, free: 9.559 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/0.09386, allocations: 216.4 kB / 0.542 GB, free: 9.344 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.09391, allocations: 27.92 kB / 0.5421 GB, free: 9.316 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003552/0.09426, allocations: 0.5464 MB / 0.5426 GB, free: 8.762 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09426, allocations: 0 / 0.5426 GB, free: 8.762 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008692/0.09513, allocations: 483.6 kB / 0.5431 GB, free: 8.289 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.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.0002077/0.09534, allocations: 139.2 kB / 0.5432 GB, free: 8.145 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002413/0.09775, allocations: 1.834 MB / 0.545 GB, free: 6.254 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.09776, allocations: 0 / 0.545 GB, free: 6.254 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001708/0.09946, allocations: 1.424 MB / 0.5464 GB, free: 4.77 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.09994, allocations: 130.7 kB / 0.5465 GB, free: 4.641 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.1025, allocations: 2.14 MB / 0.5486 GB, free: 2.457 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.1027, allocations: 257.5 kB / 0.5488 GB, free: 2.18 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002174/0.1029, allocations: 99.78 kB / 0.5489 GB, free: 2.078 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/0.1032, allocations: 198.2 kB / 0.5491 GB, free: 1.883 MB / 474.7 MB Notification: Performance of SimCode: time 8.51e-07/0.1032, allocations: 0 / 0.5491 GB, free: 1.883 MB / 474.7 MB Notification: Performance of Templates: time 0.02813/0.1313, allocations: 30.04 MB / 0.5785 GB, free: 4.02 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile [Timeout 660] (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=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8119033300317824]