Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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.001413/0.001413, allocations: 84.73 kB / 19.44 MB, free: 360 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 1.507/1.507, allocations: 177.1 MB / 199.7 MB, free: 5.82 MB / 186.7 MB " [Timeout remaining time 178] 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.001665/0.001665, allocations: 160.6 kB / 256.3 MB, free: 13.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.4621/0.4621, allocations: 80.38 MB / 393.1 MB, free: 2.16 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 489.2 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.714e-05/3.959e-05, allocations: 2.312 kB / 489.2 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.009604/0.009643, allocations: 5.833 MB / 495.1 MB, free: 6.012 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005357/0.015, allocations: 1.937 MB / 497 MB, free: 4.082 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.01622, allocations: 8 kB / 497 MB, free: 4.074 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.01724, allocations: 242.6 kB / 497.2 MB, free: 3.836 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002889/0.02013, allocations: 0.8586 MB / 498.1 MB, free: 2.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.02178, allocations: 0.6348 MB / 498.7 MB, free: 2.355 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002692/0.02447, allocations: 1.576 MB / 0.4886 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005179/0.02499, allocations: 216.4 kB / 0.4888 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.02647, allocations: 0.904 MB / 0.4897 GB, free: 15.64 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.02752, allocations: 0.6659 MB / 0.4903 GB, free: 14.97 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.02774, allocations: 124 kB / 0.4904 GB, free: 14.85 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007036/0.02845, allocations: 272.7 kB / 0.4907 GB, free: 14.59 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003796/0.02883, allocations: 334.5 kB / 0.491 GB, free: 14.26 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006076/0.02943, allocations: 459 kB / 0.4915 GB, free: 13.81 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.03191, allocations: 1.738 MB / 0.4932 GB, free: 12.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.03191, allocations: 0 / 0.4932 GB, free: 12.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.03191, allocations: 0 / 0.4932 GB, free: 12.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.354e-05/0.03194, allocations: 0 / 0.4932 GB, free: 12.07 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.009885/0.04182, allocations: 2.799 MB / 0.4959 GB, free: 9.242 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.201e-05/0.04188, allocations: 8.031 kB / 0.4959 GB, free: 9.234 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005252/0.04713, allocations: 0.9187 MB / 0.4968 GB, free: 8.324 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.04909, allocations: 0.8464 MB / 0.4976 GB, free: 7.441 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004466/0.04954, allocations: 341.3 kB / 0.498 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.04974, allocations: 87.95 kB / 0.498 GB, free: 6.969 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/0.05227, allocations: 1.112 MB / 0.4991 GB, free: 5.836 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.05229, allocations: 0 / 0.4991 GB, free: 5.836 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.0524, allocations: 35.94 kB / 0.4992 GB, free: 5.801 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.05242, allocations: 19.94 kB / 0.4992 GB, free: 5.781 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.05476, allocations: 1.013 MB / 0.5002 GB, free: 4.762 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.007663/0.06242, allocations: 2.89 MB / 0.503 GB, free: 1.809 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007905/0.07033, allocations: 2.018 MB / 0.505 GB, free: 15.76 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.07211, allocations: 0.6448 MB / 0.5056 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.07223, allocations: 20.98 kB / 0.5056 GB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001914/0.07414, allocations: 0.839 MB / 0.5064 GB, free: 14.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 2.645e-06/0.07414, allocations: 3.938 kB / 0.5064 GB, free: 14.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.03123/0.1054, allocations: 6.986 MB / 0.5133 GB, free: 7.199 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.1055, allocations: 123.8 kB / 0.5134 GB, free: 7.051 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/0.1077, allocations: 1.05 MB / 0.5144 GB, free: 5.984 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002876/0.1079, allocations: 41.7 kB / 0.5144 GB, free: 5.938 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005302/0.1085, allocations: 0.5052 MB / 0.5149 GB, free: 5.426 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005315/0.109, allocations: 372.9 kB / 0.5153 GB, free: 5.059 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005562/0.1096, allocations: 267.5 kB / 0.5155 GB, free: 4.793 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003069/0.1099, allocations: 309.1 kB / 0.5158 GB, free: 4.488 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.1117, allocations: 0.8076 MB / 0.5166 GB, free: 3.668 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.1138, allocations: 0.9766 MB / 0.5176 GB, free: 2.641 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02612/0.1399, allocations: 5.759 MB / 0.5232 GB, free: 12.79 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/0.1399, allocations: 3.938 kB / 0.5232 GB, free: 12.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01477/0.1547, allocations: 4.402 MB / 0.5275 GB, free: 8.348 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.1548, allocations: 61.91 kB / 0.5276 GB, free: 8.277 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.1548, allocations: 4 kB / 0.5276 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/0.166, allocations: 2.245 MB / 0.5298 GB, free: 6.027 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/0.1678, allocations: 283.6 kB / 0.53 GB, free: 5.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02158/0.1894, allocations: 8.004 MB / 0.5378 GB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.1914, allocations: 195.1 kB / 0.538 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/0.1915, allocations: 55.97 kB / 0.5381 GB, free: 13.39 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (159): * Single equations (assignments): 156 * 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): 1 system {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007169/0.1923, allocations: 300.1 kB / 0.5384 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003889/0.1927, allocations: 171.1 kB / 0.5385 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/0.2065, allocations: 3.855 MB / 0.5423 GB, free: 9.023 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/0.2065, allocations: 8 kB / 0.5423 GB, free: 9.016 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.2066, allocations: 8 kB / 0.5423 GB, free: 9.008 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.537e-05/0.2066, allocations: 11.98 kB / 0.5423 GB, free: 8.996 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.0164/0.223, allocations: 4.911 MB / 0.5471 GB, free: 4.023 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.223, allocations: 4 kB / 0.5471 GB, free: 4.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006218/0.2236, allocations: 91.91 kB / 0.5472 GB, free: 3.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01157/0.2352, allocations: 2.366 MB / 0.5495 GB, free: 1.555 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/0.2354, allocations: 20 kB / 0.5495 GB, free: 1.535 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02286/0.2582, allocations: 9.227 MB / 0.5586 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2582, allocations: 0 / 0.5586 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/0.2743, allocations: 4.801 MB / 0.5632 GB, free: 3.234 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005453/0.2748, allocations: 143 kB / 0.5634 GB, free: 3.094 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.275, allocations: 16 kB / 0.5634 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.2762, allocations: 107.9 kB / 0.5635 GB, free: 2.973 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006986/0.2769, allocations: 212.6 kB / 0.5637 GB, free: 2.766 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.105e-05/0.277, allocations: 28.05 kB / 0.5637 GB, free: 2.738 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00129/0.2783, allocations: 0.711 MB / 0.5644 GB, free: 2.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2783, allocations: 0 / 0.5644 GB, free: 2.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001765/0.2801, allocations: 475.6 kB / 0.5649 GB, free: 1.555 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.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): 1 system {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003816/0.2805, allocations: 151.1 kB / 0.565 GB, free: 1.398 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007137/0.2876, allocations: 2.439 MB / 0.5674 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.2876, allocations: 0 / 0.5674 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004857/0.2925, allocations: 1.552 MB / 0.5689 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.2936, allocations: 132.4 kB / 0.569 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/0.2984, allocations: 2.227 MB / 0.5712 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006712/0.299, allocations: 0.5276 MB / 0.5717 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004598/0.2995, allocations: 111.9 kB / 0.5718 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.2998, allocations: 88.47 kB / 0.5719 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of SimCode: time 1.583e-06/0.2998, allocations: 4 kB / 0.5719 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of Templates: time 0.0476/0.3474, allocations: 25.77 MB / 0.5971 GB, free: 492 kB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.857095547020435]