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.001521/0.001521, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 239.2 MB, free: 4.578 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.001444/0.001444, allocations: 180.5 kB / 289.5 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4778/0.4778, allocations: 78.52 MB / 418.2 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 79.88 kB / 497.4 MB, free: 6.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1379, allocations: 68.19 MB / 0.5524 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.2374/0.3753, allocations: 6.609 MB / 0.5588 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004797/0.3801, allocations: 2.027 MB / 0.5608 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.3812, allocations: 13.03 kB / 0.5608 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009431/0.3822, allocations: 243.3 kB / 0.561 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002314/0.3845, allocations: 0.7639 MB / 0.5618 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.386, allocations: 0.6651 MB / 0.5624 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00184/0.3878, allocations: 1.633 MB / 0.564 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005527/0.3884, allocations: 340.8 kB / 0.5644 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.3895, allocations: 0.6727 MB / 0.565 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008842/0.3904, allocations: 0.8141 MB / 0.5658 GB, free: 34.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002456/0.3906, allocations: 122.8 kB / 0.5659 GB, free: 34.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005828/0.3912, allocations: 262.4 kB / 0.5662 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.3915, allocations: 324.5 kB / 0.5665 GB, free: 34.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005505/0.392, allocations: 0.6762 MB / 0.5671 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.3936, allocations: 1.682 MB / 0.5688 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3936, allocations: 0 / 0.5688 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3937, allocations: 0 / 0.5688 GB, free: 33.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.354e-05/0.3937, allocations: 0 / 0.5688 GB, free: 33.7 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.009081/0.4028, allocations: 2.765 MB / 0.5715 GB, free: 32.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4028, allocations: 8.562 kB / 0.5715 GB, free: 32.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00505/0.4079, allocations: 0.7862 MB / 0.5723 GB, free: 32.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.4096, allocations: 0.8823 MB / 0.5731 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/0.4098, allocations: 252.3 kB / 0.5734 GB, free: 32.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.41, allocations: 87.5 kB / 0.5735 GB, free: 32.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.4122, allocations: 1.182 MB / 0.5746 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.4122, allocations: 0 / 0.5746 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.4123, allocations: 32.97 kB / 0.5746 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.4123, allocations: 18.38 kB / 0.5747 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.4144, allocations: 1.074 MB / 0.5757 GB, free: 31.93 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.006076/0.4205, allocations: 3.694 MB / 0.5793 GB, free: 30.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.4229, allocations: 1.543 MB / 0.5808 GB, free: 29.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/0.4244, allocations: 0.7811 MB / 0.5816 GB, free: 29.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.4245, allocations: 20.02 kB / 0.5816 GB, free: 29.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001799/0.4263, allocations: 0.8905 MB / 0.5825 GB, free: 28.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 3.607e-06/0.4263, allocations: 6.25 kB / 0.5825 GB, free: 28.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02794/0.4542, allocations: 6.955 MB / 0.5893 GB, free: 27.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.4544, allocations: 114.5 kB / 0.5894 GB, free: 27.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/0.4563, allocations: 1.028 MB / 0.5904 GB, free: 26.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003402/0.4567, allocations: 47.34 kB / 0.5904 GB, free: 26.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004029/0.4571, allocations: 0.5034 MB / 0.5909 GB, free: 26.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004741/0.4576, allocations: 370.2 kB / 0.5913 GB, free: 25.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005269/0.4581, allocations: 247.6 kB / 0.5915 GB, free: 25.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4582, allocations: 362.6 kB / 0.5919 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.46, allocations: 0.7637 MB / 0.5926 GB, free: 25.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/0.4619, allocations: 0.9104 MB / 0.5935 GB, free: 24.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02231/0.4843, allocations: 5.44 MB / 0.5988 GB, free: 23.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.4843, allocations: 0 / 0.5988 GB, free: 23.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01534/0.4997, allocations: 4.511 MB / 0.6032 GB, free: 21.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.901e-05/0.4998, allocations: 59.09 kB / 0.6033 GB, free: 21.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.4998, allocations: 2.984 kB / 0.6033 GB, free: 21.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007172/0.507, allocations: 1.86 MB / 0.6051 GB, free: 21.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.5085, allocations: 248.7 kB / 0.6053 GB, free: 21.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0218/0.5303, allocations: 9.481 MB / 0.6146 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.5324, allocations: 197.2 kB / 0.6148 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003214/0.5328, allocations: 47.98 kB / 0.6148 GB, free: 14.77 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.0008725/0.5336, allocations: 285 kB / 0.6151 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004253/0.5341, allocations: 126.4 kB / 0.6152 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/0.547, allocations: 4.193 MB / 0.6193 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.547, allocations: 15.98 kB / 0.6193 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5471, allocations: 0 / 0.6193 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/0.5471, allocations: 8.625 kB / 0.6193 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/0.5623, allocations: 5.978 MB / 0.6252 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/0.5623, allocations: 0.9375 kB / 0.6252 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008239/0.5632, allocations: 103.9 kB / 0.6253 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00595/0.5691, allocations: 1.831 MB / 0.627 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002852/0.5695, allocations: 24.56 kB / 0.6271 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0233/0.5928, allocations: 10.32 MB / 0.6372 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/0.5928, allocations: 4.875 kB / 0.6372 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01678/0.6096, allocations: 5.123 MB / 0.6422 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006489/0.6103, allocations: 224.7 kB / 0.6424 GB, free: 2.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005998/0.6109, allocations: 23.92 kB / 0.6424 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/0.6126, allocations: 115.9 kB / 0.6425 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008203/0.6135, allocations: 212.7 kB / 0.6427 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/0.6137, allocations: 28 kB / 0.6427 GB, free: 1.648 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001333/0.615, allocations: 0.6954 MB / 0.6434 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.615, allocations: 4 kB / 0.6434 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002038/0.6171, allocations: 487.5 kB / 0.6439 GB, free: 476 kB / 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.0004542/0.6175, allocations: 134.9 kB / 0.644 GB, free: 336 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008613/0.6262, allocations: 2.725 MB / 0.6467 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.6262, allocations: 0 / 0.6467 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005644/0.6319, allocations: 1.796 MB / 0.6484 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.6335, allocations: 122.5 kB / 0.6485 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005405/0.6389, allocations: 2.368 MB / 0.6509 GB, free: 9.273 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009189/0.6398, allocations: 1.132 MB / 0.652 GB, free: 8.113 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006445/0.6405, allocations: 109.9 kB / 0.6521 GB, free: 8.008 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.6409, allocations: 75.42 kB / 0.6521 GB, free: 7.934 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6409, allocations: 0 / 0.6521 GB, free: 7.934 MB / 462.1 MB Notification: Performance of Templates: time 0.04479/0.6857, allocations: 26.37 MB / 0.6779 GB, free: 13.74 MB / 494.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)