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.1065/0.1065, allocations: 12.58 MB / 28.22 MB, free: 0.7734 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.001314/0.001314, allocations: 107.4 kB / 31.84 MB, free: 3.906 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.401/1.401, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001328/0.001328, allocations: 198.9 kB / 290.7 MB, free: 10.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4348/0.4348, allocations: 78.51 MB / 419.3 MB, free: 10.77 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.002531/0.002532, allocations: 139.8 kB / 0.5558 GB, free: 17.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.136, allocations: 68.11 MB / 0.6224 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.007628/0.1437, allocations: 6.68 MB / 0.6289 GB, free: 6.469 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003992/0.1477, allocations: 1.994 MB / 0.6308 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005639/0.1483, allocations: 15.94 kB / 0.6308 GB, free: 4.449 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006821/0.149, allocations: 242 kB / 0.6311 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.1509, allocations: 0.7742 MB / 0.6318 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.1523, allocations: 0.6586 MB / 0.6325 GB, free: 2.785 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00162/0.1539, allocations: 1.643 MB / 0.6341 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000521/0.1545, allocations: 348.7 kB / 0.6344 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008288/0.1553, allocations: 0.6691 MB / 0.6351 GB, free: 116 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009465/0.1563, allocations: 0.8168 MB / 0.6359 GB, free: 15.29 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.1564, allocations: 124 kB / 0.636 GB, free: 15.17 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000504/0.157, allocations: 259.8 kB / 0.6362 GB, free: 14.92 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.1573, allocations: 326.6 kB / 0.6365 GB, free: 14.6 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006086/0.1579, allocations: 0.6796 MB / 0.6372 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.1597, allocations: 1.704 MB / 0.6389 GB, free: 12.2 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1597, allocations: 0 / 0.6389 GB, free: 12.2 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1597, allocations: 0 / 0.6389 GB, free: 12.2 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.378e-05/0.1597, allocations: 0 / 0.6389 GB, free: 12.2 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.008898/0.1686, allocations: 2.8 MB / 0.6416 GB, free: 9.332 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1687, allocations: 15.92 kB / 0.6416 GB, free: 9.316 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005063/0.1737, allocations: 0.7913 MB / 0.6424 GB, free: 8.523 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.1754, allocations: 0.9025 MB / 0.6433 GB, free: 7.566 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/0.1757, allocations: 252.2 kB / 0.6435 GB, free: 7.285 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.1758, allocations: 87.95 kB / 0.6436 GB, free: 7.199 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.1783, allocations: 1.176 MB / 0.6447 GB, free: 6.008 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.1783, allocations: 4 kB / 0.6448 GB, free: 6.004 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.1784, allocations: 32 kB / 0.6448 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.1785, allocations: 20 kB / 0.6448 GB, free: 5.953 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/0.1808, allocations: 1.077 MB / 0.6459 GB, free: 4.879 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.006485/0.1873, allocations: 3.673 MB / 0.6494 GB, free: 1.074 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.1899, allocations: 1.553 MB / 0.651 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.1915, allocations: 0.7853 MB / 0.6517 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.1916, allocations: 16.98 kB / 0.6517 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001814/0.1934, allocations: 0.8908 MB / 0.6526 GB, free: 13.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 3.116e-06/0.1935, allocations: 4 kB / 0.6526 GB, free: 13.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.02764/0.2211, allocations: 6.965 MB / 0.6594 GB, free: 6.648 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.2212, allocations: 115.8 kB / 0.6595 GB, free: 6.512 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.2229, allocations: 1.031 MB / 0.6605 GB, free: 5.465 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002338/0.2231, allocations: 45.7 kB / 0.6606 GB, free: 5.414 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/0.2236, allocations: 0.5092 MB / 0.6611 GB, free: 4.898 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004479/0.224, allocations: 392.6 kB / 0.6614 GB, free: 4.512 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004975/0.2245, allocations: 247.6 kB / 0.6617 GB, free: 4.266 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2247, allocations: 357.9 kB / 0.662 GB, free: 3.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.2264, allocations: 0.7652 MB / 0.6628 GB, free: 3.145 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.2282, allocations: 0.9037 MB / 0.6637 GB, free: 2.207 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02121/0.2494, allocations: 5.417 MB / 0.6689 GB, free: 12.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.2495, allocations: 0 / 0.6689 GB, free: 12.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.0147/0.2642, allocations: 4.527 MB / 0.6734 GB, free: 8.152 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.273e-05/0.2643, allocations: 63.39 kB / 0.6734 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.2644, allocations: 0 / 0.6734 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006873/0.2712, allocations: 1.854 MB / 0.6752 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.2726, allocations: 251.7 kB / 0.6755 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3216/0.5942, allocations: 9.454 MB / 0.6847 GB, free: 50.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/0.5962, allocations: 196.9 kB / 0.6849 GB, free: 50.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.5963, allocations: 48.02 kB / 0.6849 GB, free: 50.29 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.0005628/0.5969, allocations: 293.2 kB / 0.6852 GB, free: 50.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.5971, allocations: 131.3 kB / 0.6853 GB, free: 50.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/0.6119, allocations: 4.195 MB / 0.6894 GB, free: 49.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/0.612, allocations: 14.41 kB / 0.6895 GB, free: 49.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.612, allocations: 0.9062 kB / 0.6895 GB, free: 49.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-05/0.612, allocations: 6.047 kB / 0.6895 GB, free: 49.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01644/0.6285, allocations: 5.966 MB / 0.6953 GB, free: 47.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/0.6285, allocations: 3.594 kB / 0.6953 GB, free: 47.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007307/0.6292, allocations: 103.6 kB / 0.6954 GB, free: 47.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006206/0.6355, allocations: 1.831 MB / 0.6972 GB, free: 47.35 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002305/0.6357, allocations: 25.38 kB / 0.6972 GB, free: 47.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02166/0.6574, allocations: 10.32 MB / 0.7073 GB, free: 41.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6574, allocations: 0 / 0.7073 GB, free: 41.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01508/0.6725, allocations: 5.136 MB / 0.7123 GB, free: 39.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000449/0.673, allocations: 233.5 kB / 0.7125 GB, free: 39.42 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/0.6732, allocations: 19.56 kB / 0.7125 GB, free: 39.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.6744, allocations: 113.9 kB / 0.7126 GB, free: 39.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006773/0.6751, allocations: 208.3 kB / 0.7128 GB, free: 39.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.151e-05/0.6752, allocations: 31.58 kB / 0.7129 GB, free: 39.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001021/0.6762, allocations: 0.7005 MB / 0.7136 GB, free: 38.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6762, allocations: 0 / 0.7136 GB, free: 38.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001501/0.6777, allocations: 490.4 kB / 0.714 GB, free: 38.76 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.0002403/0.678, allocations: 133 kB / 0.7142 GB, free: 38.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0065/0.6845, allocations: 2.704 MB / 0.7168 GB, free: 37.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6845, allocations: 2.438 kB / 0.7168 GB, free: 37.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004518/0.689, allocations: 1.803 MB / 0.7186 GB, free: 36.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008889/0.69, allocations: 117.2 kB / 0.7187 GB, free: 35.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.6935, allocations: 2.394 MB / 0.721 GB, free: 33.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.6939, allocations: 1.13 MB / 0.7221 GB, free: 32.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003819/0.6943, allocations: 111.9 kB / 0.7222 GB, free: 32.31 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.6945, allocations: 75.41 kB / 0.7223 GB, free: 32.24 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6946, allocations: 2.953 kB / 0.7223 GB, free: 32.24 MB / 494.1 MB Notification: Performance of Templates: time 0.03215/0.7267, allocations: 26.64 MB / 0.7483 GB, free: 5.641 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)