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.00152/0.00152, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.9405/0.9405, allocations: 177.2 MB / 200 MB, free: 5.512 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.001994/0.001994, allocations: 156.7 kB / 256.6 MB, free: 12.97 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.2882/0.2882, allocations: 80.24 MB / 393.4 MB, free: 2.156 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.963e-06/1.963e-06, allocations: 0.5469 kB / 489.8 MB, free: 11.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.839e-05, allocations: 5.547 kB / 489.8 MB, free: 11.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.01032/0.01035, allocations: 6.357 MB / 496.1 MB, free: 5.195 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003715/0.01407, allocations: 2.038 MB / 498.2 MB, free: 3.168 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006549/0.01472, allocations: 15.94 kB / 498.2 MB, free: 3.152 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006813/0.0154, allocations: 242.7 kB / 498.4 MB, free: 2.914 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.01716, allocations: 0.8469 MB / 499.3 MB, free: 2.066 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.01829, allocations: 0.6824 MB / 500 MB, free: 1.395 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.01987, allocations: 1.631 MB / 0.4898 GB, free: 15.76 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.02028, allocations: 221.2 kB / 0.4901 GB, free: 15.53 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.02178, allocations: 0.9359 MB / 0.491 GB, free: 14.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000827/0.0226, allocations: 0.6464 MB / 0.4916 GB, free: 13.94 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002367/0.02284, allocations: 129.2 kB / 0.4917 GB, free: 13.82 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005043/0.02334, allocations: 275.7 kB / 0.492 GB, free: 13.55 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.02356, allocations: 330.6 kB / 0.4923 GB, free: 13.22 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003746/0.02394, allocations: 463.2 kB / 0.4927 GB, free: 12.77 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.02534, allocations: 1.257 MB / 0.494 GB, free: 11.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.02535, allocations: 5.219 kB / 0.494 GB, free: 11.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.02535, allocations: 0 / 0.494 GB, free: 11.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.03e-05/0.02538, allocations: 0 / 0.494 GB, free: 11.5 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.005349/0.03073, allocations: 2.997 MB / 0.4969 GB, free: 8.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.03077, allocations: 8.031 kB / 0.4969 GB, free: 8.473 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002969/0.03374, allocations: 0.9527 MB / 0.4978 GB, free: 7.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.03482, allocations: 0.8182 MB / 0.4986 GB, free: 6.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.03505, allocations: 269.9 kB / 0.4989 GB, free: 6.352 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.03519, allocations: 87.95 kB / 0.499 GB, free: 6.266 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.03631, allocations: 0.8008 MB / 0.4998 GB, free: 5.445 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.03632, allocations: 0 / 0.4998 GB, free: 5.445 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.914e-05/0.03639, allocations: 36 kB / 0.4998 GB, free: 5.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.03641, allocations: 23.94 kB / 0.4998 GB, free: 5.387 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008739/0.03728, allocations: 0.5168 MB / 0.5003 GB, free: 4.859 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.003531/0.04081, allocations: 2.615 MB / 0.5029 GB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.04184, allocations: 0.6568 MB / 0.5035 GB, free: 1.516 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004995/0.04234, allocations: 383.9 kB / 0.5039 GB, free: 1.129 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-05/0.04241, allocations: 24.98 kB / 0.5039 GB, free: 1.102 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008243/0.04324, allocations: 0.5572 MB / 0.5045 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 2.905e-06/0.04324, allocations: 0 / 0.5045 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of matching and sorting (n=102): time 0.01388/0.05712, allocations: 4.866 MB / 0.5092 GB, free: 11.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.05719, allocations: 115.8 kB / 0.5093 GB, free: 11.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.05853, allocations: 0.9512 MB / 0.5102 GB, free: 10.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001698/0.0587, allocations: 41.7 kB / 0.5103 GB, free: 10.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000445/0.05914, allocations: 0.5666 MB / 0.5108 GB, free: 9.887 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004039/0.05955, allocations: 388.7 kB / 0.5112 GB, free: 9.504 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004868/0.06003, allocations: 245.2 kB / 0.5114 GB, free: 9.258 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003355/0.06037, allocations: 0.5355 MB / 0.512 GB, free: 8.715 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008206/0.06119, allocations: 403.2 kB / 0.5123 GB, free: 8.309 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009931/0.06218, allocations: 0.5755 MB / 0.5129 GB, free: 7.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0028/0.06498, allocations: 1.451 MB / 0.5143 GB, free: 6.156 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.06499, allocations: 0 / 0.5143 GB, free: 6.156 MB / 442.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.008793/0.07378, allocations: 3.155 MB / 0.5174 GB, free: 2.961 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.865e-05/0.07386, allocations: 59.41 kB / 0.5175 GB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.07388, allocations: 0 / 0.5175 GB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006635/0.08051, allocations: 1.922 MB / 0.5193 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.08156, allocations: 235.7 kB / 0.5196 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008174/0.08973, allocations: 4.95 MB / 0.5244 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009273/0.09066, allocations: 163.2 kB / 0.5246 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.503e-05/0.09074, allocations: 47.98 kB / 0.5246 GB, free: 11.45 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.0003472/0.09108, allocations: 250 kB / 0.5248 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.09127, allocations: 163.1 kB / 0.525 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005299/0.09656, allocations: 2.802 MB / 0.5277 GB, free: 8.195 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.09657, allocations: 12 kB / 0.5277 GB, free: 8.184 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.09658, allocations: 0 / 0.5277 GB, free: 8.184 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.09659, allocations: 3.984 kB / 0.5277 GB, free: 8.18 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006498/0.1031, allocations: 3.932 MB / 0.5316 GB, free: 4.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.1031, allocations: 0 / 0.5316 GB, free: 4.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.1034, allocations: 103.8 kB / 0.5317 GB, free: 4.078 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004824/0.1083, allocations: 1.907 MB / 0.5336 GB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/0.1083, allocations: 24 kB / 0.5336 GB, free: 2.137 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007638/0.116, allocations: 6.665 MB / 0.5401 GB, free: 11.22 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.116, allocations: 3.938 kB / 0.5401 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005912/0.1219, allocations: 3.28 MB / 0.5433 GB, free: 7.883 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.1221, allocations: 150.9 kB / 0.5434 GB, free: 7.734 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.1222, allocations: 16 kB / 0.5434 GB, free: 7.719 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005073/0.1227, allocations: 87.92 kB / 0.5435 GB, free: 7.633 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003559/0.1231, allocations: 212.4 kB / 0.5437 GB, free: 7.422 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.384e-05/0.1231, allocations: 28 kB / 0.5438 GB, free: 7.395 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004958/0.1236, allocations: 0.5973 MB / 0.5443 GB, free: 6.789 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1236, allocations: 3.938 kB / 0.5443 GB, free: 6.785 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00106/0.1247, allocations: 487.6 kB / 0.5448 GB, free: 6.309 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.0002242/0.1249, allocations: 143.1 kB / 0.5449 GB, free: 6.16 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002936/0.1278, allocations: 1.912 MB / 0.5468 GB, free: 4.191 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1278, allocations: 0.5625 kB / 0.5468 GB, free: 4.191 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.1298, allocations: 1.482 MB / 0.5483 GB, free: 2.648 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.1303, allocations: 128.3 kB / 0.5484 GB, free: 2.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.1332, allocations: 2.148 MB / 0.5505 GB, free: 336 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.1334, allocations: 253.5 kB / 0.5507 GB, free: 56 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002334/0.1336, allocations: 103.8 kB / 0.5508 GB, free: 15.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.1338, allocations: 76.42 kB / 0.5509 GB, free: 15.88 MB / 490.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1338, allocations: 4 kB / 0.5509 GB, free: 15.87 MB / 490.7 MB Notification: Performance of Templates: time 0.02881/0.1626, allocations: 29.08 MB / 0.5793 GB, free: 2.832 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: 4.138199664652348]