Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1198/0.1198, allocations: 12.61 MB / 28.88 MB, free: 0.6367 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 107.5 kB / 32.47 MB, free: 3.582 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.1 MB / 241.1 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 188.5 kB / 291.3 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4277/0.4277, allocations: 78.51 MB / 420 MB, free: 10.76 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002486, allocations: 135.8 kB / 0.5565 GB, free: 17.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1498, allocations: 68.12 MB / 0.623 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.008537/0.1584, allocations: 6.676 MB / 0.6295 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004936/0.1634, allocations: 1.986 MB / 0.6314 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.1646, allocations: 12 kB / 0.6315 GB, free: 4.457 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009/0.1655, allocations: 245.9 kB / 0.6317 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002615/0.1682, allocations: 0.7584 MB / 0.6324 GB, free: 3.453 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.1699, allocations: 0.6912 MB / 0.6331 GB, free: 2.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002097/0.172, allocations: 1.639 MB / 0.6347 GB, free: 1.125 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00056/0.1726, allocations: 340.6 kB / 0.635 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009985/0.1736, allocations: 0.673 MB / 0.6357 GB, free: 108 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000913/0.1745, allocations: 0.8091 MB / 0.6365 GB, free: 15.29 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.1747, allocations: 124 kB / 0.6366 GB, free: 15.17 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006638/0.1753, allocations: 267.7 kB / 0.6368 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.1757, allocations: 326.6 kB / 0.6372 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005755/0.1762, allocations: 0.668 MB / 0.6378 GB, free: 13.92 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.1779, allocations: 1.701 MB / 0.6395 GB, free: 12.21 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1779, allocations: 0 / 0.6395 GB, free: 12.21 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1779, allocations: 0 / 0.6395 GB, free: 12.21 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.178, allocations: 4 kB / 0.6395 GB, free: 12.21 MB / 462.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.008706/0.1867, allocations: 2.762 MB / 0.6422 GB, free: 9.375 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.1867, allocations: 15.97 kB / 0.6422 GB, free: 9.359 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00496/0.1917, allocations: 0.7788 MB / 0.643 GB, free: 8.578 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.1933, allocations: 0.8938 MB / 0.6438 GB, free: 7.629 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/0.1936, allocations: 252.2 kB / 0.6441 GB, free: 7.348 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.1938, allocations: 95.84 kB / 0.6442 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/0.1962, allocations: 1.176 MB / 0.6453 GB, free: 6.062 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.1963, allocations: 0 / 0.6453 GB, free: 6.062 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.1964, allocations: 36 kB / 0.6453 GB, free: 6.027 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.1964, allocations: 20 kB / 0.6454 GB, free: 6.008 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/0.1986, allocations: 1.066 MB / 0.6464 GB, free: 4.945 MB / 462.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.006319/0.205, allocations: 3.664 MB / 0.65 GB, free: 1.148 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/0.2074, allocations: 1.549 MB / 0.6515 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.2089, allocations: 0.7904 MB / 0.6523 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.466e-05/0.2091, allocations: 9 kB / 0.6523 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/0.2108, allocations: 0.8996 MB / 0.6531 GB, free: 13.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 2.876e-06/0.2108, allocations: 0 / 0.6531 GB, free: 13.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.02687/0.2377, allocations: 6.957 MB / 0.6599 GB, free: 6.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.2378, allocations: 119.8 kB / 0.6601 GB, free: 6.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.2395, allocations: 1.031 MB / 0.6611 GB, free: 5.543 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002995/0.2398, allocations: 45.7 kB / 0.6611 GB, free: 5.492 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/0.2402, allocations: 0.5008 MB / 0.6616 GB, free: 4.984 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/0.2406, allocations: 374.7 kB / 0.662 GB, free: 4.613 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004526/0.241, allocations: 247.4 kB / 0.6622 GB, free: 4.367 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2412, allocations: 353.9 kB / 0.6625 GB, free: 4.016 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.2429, allocations: 0.7613 MB / 0.6633 GB, free: 3.254 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.2447, allocations: 0.9154 MB / 0.6642 GB, free: 2.305 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02108/0.2658, allocations: 5.421 MB / 0.6695 GB, free: 12.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.2658, allocations: 4 kB / 0.6695 GB, free: 12.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01459/0.2804, allocations: 4.506 MB / 0.6739 GB, free: 8.262 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.272e-05/0.2806, allocations: 62.22 kB / 0.6739 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.2806, allocations: 4 kB / 0.6739 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007002/0.2876, allocations: 1.862 MB / 0.6757 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.289, allocations: 247.6 kB / 0.676 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3571/0.6461, allocations: 9.439 MB / 0.6852 GB, free: 50.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/0.6481, allocations: 190.2 kB / 0.6854 GB, free: 50.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/0.6483, allocations: 47.91 kB / 0.6854 GB, free: 50.73 MB / 494.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.0006287/0.649, allocations: 298.1 kB / 0.6857 GB, free: 50.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/0.6492, allocations: 126.2 kB / 0.6858 GB, free: 50.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/0.6651, allocations: 4.185 MB / 0.6899 GB, free: 50.17 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-05/0.6652, allocations: 19.91 kB / 0.6899 GB, free: 50.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6652, allocations: 0 / 0.6899 GB, free: 50.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.929e-05/0.6652, allocations: 10.91 kB / 0.6899 GB, free: 50.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/0.683, allocations: 5.957 MB / 0.6958 GB, free: 48.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/0.6831, allocations: 5.969 kB / 0.6958 GB, free: 48.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007919/0.6839, allocations: 106.1 kB / 0.6959 GB, free: 48.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006338/0.6902, allocations: 1.829 MB / 0.6977 GB, free: 47.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001917/0.6904, allocations: 26.11 kB / 0.6977 GB, free: 47.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02107/0.7115, allocations: 10.31 MB / 0.7077 GB, free: 42.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7115, allocations: 0 / 0.7077 GB, free: 42.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01492/0.7265, allocations: 5.137 MB / 0.7128 GB, free: 40.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00043/0.7269, allocations: 219.6 kB / 0.713 GB, free: 39.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.7271, allocations: 23.92 kB / 0.713 GB, free: 39.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.7283, allocations: 114 kB / 0.7131 GB, free: 39.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006406/0.729, allocations: 213.1 kB / 0.7133 GB, free: 39.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.506e-05/0.729, allocations: 27.53 kB / 0.7133 GB, free: 39.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009192/0.73, allocations: 0.7045 MB / 0.714 GB, free: 39.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.73, allocations: 0 / 0.714 GB, free: 39.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00138/0.7314, allocations: 489.7 kB / 0.7145 GB, free: 39.3 MB / 494.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.0002604/0.7316, allocations: 127.8 kB / 0.7146 GB, free: 39.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0066/0.7382, allocations: 2.692 MB / 0.7172 GB, free: 37.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.7383, allocations: 0 / 0.7172 GB, free: 37.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004649/0.7429, allocations: 1.796 MB / 0.719 GB, free: 36.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009815/0.7439, allocations: 124.5 kB / 0.7191 GB, free: 36.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.7476, allocations: 2.382 MB / 0.7214 GB, free: 34.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.7481, allocations: 1.128 MB / 0.7225 GB, free: 32.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.7484, allocations: 75.42 kB / 0.7226 GB, free: 32.8 MB / 494.1 MB Notification: Performance of SimCode: time 8.72e-07/0.7484, allocations: 0 / 0.7226 GB, free: 32.8 MB / 494.1 MB Notification: Performance of Templates: time 0.02258/0.771, allocations: 24.09 MB / 0.7461 GB, free: 8.711 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)