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.001397/0.001397, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.9728/0.9728, allocations: 177.2 MB / 201 MB, free: 5.703 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.001138/0.001138, allocations: 152.7 kB / 257.7 MB, free: 12.98 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.2762/0.2762, allocations: 80.24 MB / 394.5 MB, free: 3.027 MB / 362.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.453e-06/1.453e-06, allocations: 0 / 491 MB, free: 62.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.427e-05, allocations: 5.781 kB / 491 MB, free: 62.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.003825/0.00384, allocations: 6.217 MB / 497.2 MB, free: 56.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.006023, allocations: 2.037 MB / 499.3 MB, free: 54.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003145/0.006338, allocations: 16.84 kB / 499.3 MB, free: 54.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004584/0.006796, allocations: 241.8 kB / 499.5 MB, free: 54.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009961/0.007792, allocations: 0.8427 MB / 0.4886 GB, free: 53.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006949/0.008487, allocations: 0.6717 MB / 0.4893 GB, free: 52.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007478/0.009235, allocations: 1.638 MB / 0.4909 GB, free: 51.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.009479, allocations: 225.2 kB / 0.4911 GB, free: 50.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005549/0.01003, allocations: 0.939 MB / 0.492 GB, free: 50 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004229/0.01046, allocations: 0.6438 MB / 0.4927 GB, free: 49.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.643e-05/0.01055, allocations: 124 kB / 0.4928 GB, free: 49.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.0108, allocations: 287.6 kB / 0.4931 GB, free: 48.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.01095, allocations: 335.2 kB / 0.4934 GB, free: 48.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.01117, allocations: 463.5 kB / 0.4938 GB, free: 48.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007133/0.01188, allocations: 1.257 MB / 0.495 GB, free: 46.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01189, allocations: 0 / 0.495 GB, free: 46.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01189, allocations: 0.875 kB / 0.495 GB, free: 46.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.0119, allocations: 4 kB / 0.495 GB, free: 46.91 MB / 410.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.003893/0.01579, allocations: 3.007 MB / 0.498 GB, free: 43.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.742e-05/0.01582, allocations: 13.28 kB / 0.498 GB, free: 43.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/0.01818, allocations: 0.9448 MB / 0.4989 GB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/0.01881, allocations: 0.7893 MB / 0.4997 GB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.01893, allocations: 273.9 kB / 0.5 GB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.806e-05/0.01903, allocations: 88.92 kB / 0.5 GB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006509/0.01968, allocations: 0.7195 MB / 0.5007 GB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.01969, allocations: 3.938 kB / 0.5007 GB, free: 40.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.694e-05/0.01975, allocations: 40.7 kB / 0.5008 GB, free: 40.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.01976, allocations: 24.84 kB / 0.5008 GB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004793/0.02024, allocations: 419.3 kB / 0.5012 GB, free: 40.48 MB / 410.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.002699/0.02294, allocations: 2.473 MB / 0.5036 GB, free: 37.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006281/0.02357, allocations: 0.5841 MB / 0.5042 GB, free: 37.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/0.02395, allocations: 327.9 kB / 0.5045 GB, free: 37.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.45e-05/0.02403, allocations: 17 kB / 0.5045 GB, free: 37.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004105/0.02444, allocations: 0.5107 MB / 0.505 GB, free: 36.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=102): time 1.773e-06/0.02444, allocations: 0.5938 kB / 0.505 GB, free: 36.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=102): time 0.009099/0.03354, allocations: 4.663 MB / 0.5096 GB, free: 31.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.03356, allocations: 127.8 kB / 0.5097 GB, free: 31.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/0.03403, allocations: 0.9077 MB / 0.5106 GB, free: 30.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/0.03409, allocations: 45.7 kB / 0.5106 GB, free: 30.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.03427, allocations: 0.5625 MB / 0.5112 GB, free: 30.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.03443, allocations: 396.6 kB / 0.5116 GB, free: 29.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.03468, allocations: 257 kB / 0.5118 GB, free: 29.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.386e-05/0.03474, allocations: 0.5354 MB / 0.5123 GB, free: 28.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/0.03514, allocations: 371.2 kB / 0.5127 GB, free: 28.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/0.03559, allocations: 0.5442 MB / 0.5132 GB, free: 27.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.03683, allocations: 1.357 MB / 0.5145 GB, free: 26.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.03684, allocations: 0 / 0.5145 GB, free: 26.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004817/0.04165, allocations: 3.053 MB / 0.5175 GB, free: 23.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.04168, allocations: 59.41 kB / 0.5176 GB, free: 23.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.04169, allocations: 0 / 0.5176 GB, free: 23.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004505/0.04619, allocations: 1.903 MB / 0.5194 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005747/0.04677, allocations: 239.7 kB / 0.5197 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0059/0.05267, allocations: 4.76 MB / 0.5243 GB, free: 16.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006943/0.05336, allocations: 155.2 kB / 0.5244 GB, free: 16.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/0.05342, allocations: 35.98 kB / 0.5245 GB, free: 16.16 MB / 410.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.0002519/0.05367, allocations: 258 kB / 0.5247 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.05383, allocations: 163.2 kB / 0.5249 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004345/0.05818, allocations: 2.658 MB / 0.5275 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.05818, allocations: 15.98 kB / 0.5275 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.05819, allocations: 0 / 0.5275 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.05819, allocations: 7.969 kB / 0.5275 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005209/0.0634, allocations: 3.661 MB / 0.5311 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.06341, allocations: 0 / 0.5311 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.0637, allocations: 99.89 kB / 0.5312 GB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004257/0.06796, allocations: 1.88 MB / 0.533 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/0.06801, allocations: 19.98 kB / 0.533 GB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005624/0.07364, allocations: 6.506 MB / 0.5394 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.07364, allocations: 0 / 0.5394 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005515/0.07916, allocations: 3.061 MB / 0.5424 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/0.07939, allocations: 150.9 kB / 0.5425 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.0795, allocations: 20 kB / 0.5425 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004943/0.07999, allocations: 75.92 kB / 0.5426 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004208/0.08041, allocations: 216.5 kB / 0.5428 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.56e-05/0.08046, allocations: 20 kB / 0.5428 GB, free: 12.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004318/0.08089, allocations: 0.5503 MB / 0.5434 GB, free: 12.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.08089, allocations: 3.938 kB / 0.5434 GB, free: 12.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001131/0.08202, allocations: 491.5 kB / 0.5438 GB, free: 11.91 MB / 426.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.0002438/0.08227, allocations: 139 kB / 0.544 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002796/0.08506, allocations: 1.826 MB / 0.5458 GB, free: 9.879 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.08507, allocations: 4 kB / 0.5458 GB, free: 9.875 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001913/0.08698, allocations: 1.421 MB / 0.5472 GB, free: 8.398 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.0875, allocations: 128.3 kB / 0.5473 GB, free: 8.273 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.09057, allocations: 2.136 MB / 0.5494 GB, free: 6.094 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.09074, allocations: 245.5 kB / 0.5496 GB, free: 5.832 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002285/0.09097, allocations: 103.8 kB / 0.5497 GB, free: 5.727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.09125, allocations: 198.2 kB / 0.5499 GB, free: 5.531 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.09125, allocations: 4 kB / 0.5499 GB, free: 5.527 MB / 426.7 MB Notification: Performance of Templates: time 0.03004/0.1213, allocations: 30.93 MB / 0.5801 GB, free: 6.648 MB / 458.7 MB " [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.9547106800600886]