Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.002225/0.002225, allocations: 88.72 kB / 19.44 MB, free: 352 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.521/1.521, allocations: 177.1 MB / 199.7 MB, free: 4.789 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.001674/0.001674, allocations: 167.3 kB / 256.3 MB, free: 368 kB / 234.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.5737/0.5737, allocations: 80.26 MB / 393 MB, free: 9.973 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.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 489.1 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.212e-05/3.354e-05, allocations: 5.828 kB / 489.1 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.008368/0.008401, allocations: 5.82 MB / 494.9 MB, free: 4.352 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005235/0.01364, allocations: 1.931 MB / 496.9 MB, free: 2.414 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009772/0.01461, allocations: 12 kB / 496.9 MB, free: 2.402 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008995/0.01551, allocations: 233.9 kB / 497.1 MB, free: 2.172 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0027/0.01821, allocations: 0.8582 MB / 498 MB, free: 1.309 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.01982, allocations: 0.6393 MB / 498.6 MB, free: 0.668 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2145/0.2344, allocations: 1.577 MB / 0.4885 GB, free: 44.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005899/0.2349, allocations: 213.4 kB / 0.4887 GB, free: 44.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.2363, allocations: 0.9081 MB / 0.4895 GB, free: 44.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008139/0.2372, allocations: 0.6629 MB / 0.4902 GB, free: 44.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.2374, allocations: 121.9 kB / 0.4903 GB, free: 44.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005777/0.2379, allocations: 279.1 kB / 0.4906 GB, free: 44.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.2382, allocations: 328 kB / 0.4909 GB, free: 44.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.2385, allocations: 460.5 kB / 0.4913 GB, free: 44.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.24, allocations: 1.734 MB / 0.493 GB, free: 44.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.24, allocations: 3.469 kB / 0.493 GB, free: 44.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.24, allocations: 0.625 kB / 0.493 GB, free: 44.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.24, allocations: 0 / 0.493 GB, free: 44.25 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.008129/0.2481, allocations: 2.799 MB / 0.4958 GB, free: 43.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2481, allocations: 8.469 kB / 0.4958 GB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004826/0.253, allocations: 0.9144 MB / 0.4967 GB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.2543, allocations: 0.8406 MB / 0.4975 GB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.2545, allocations: 338.8 kB / 0.4978 GB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.2547, allocations: 88.23 kB / 0.4979 GB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.2568, allocations: 1.115 MB / 0.499 GB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.2568, allocations: 0 / 0.499 GB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.491e-05/0.2569, allocations: 30.5 kB / 0.499 GB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.2569, allocations: 17.25 kB / 0.499 GB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.2587, allocations: 1.007 MB / 0.5 GB, free: 41.42 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.005715/0.2644, allocations: 2.898 MB / 0.5028 GB, free: 40.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007043/0.2715, allocations: 2.017 MB / 0.5048 GB, free: 39.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.2728, allocations: 0.6465 MB / 0.5054 GB, free: 39.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.785e-05/0.2729, allocations: 20.62 kB / 0.5055 GB, free: 39.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/0.2743, allocations: 0.8417 MB / 0.5063 GB, free: 39.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.805e-06/0.2743, allocations: 1.219 kB / 0.5063 GB, free: 39.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.02796/0.3023, allocations: 6.994 MB / 0.5131 GB, free: 37.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.3024, allocations: 114.1 kB / 0.5132 GB, free: 37.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.3038, allocations: 1.064 MB / 0.5143 GB, free: 37.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002037/0.304, allocations: 44.52 kB / 0.5143 GB, free: 37.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/0.3042, allocations: 0.4984 MB / 0.5148 GB, free: 36.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003209/0.3046, allocations: 373 kB / 0.5151 GB, free: 36.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004237/0.305, allocations: 271.5 kB / 0.5154 GB, free: 36.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.488e-05/0.305, allocations: 305.2 kB / 0.5157 GB, free: 36.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.3064, allocations: 0.8074 MB / 0.5165 GB, free: 35.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.3079, allocations: 0.9773 MB / 0.5174 GB, free: 35.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02435/0.3322, allocations: 5.757 MB / 0.5231 GB, free: 33.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.3323, allocations: 2.188 kB / 0.5231 GB, free: 33.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01364/0.3459, allocations: 4.398 MB / 0.5273 GB, free: 32.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.432e-05/0.346, allocations: 59.78 kB / 0.5274 GB, free: 32.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.346, allocations: 3.375 kB / 0.5274 GB, free: 32.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/0.3566, allocations: 2.244 MB / 0.5296 GB, free: 32.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.3581, allocations: 290.2 kB / 0.5299 GB, free: 32.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01743/0.3755, allocations: 8 MB / 0.5377 GB, free: 26.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.3775, allocations: 199.1 kB / 0.5379 GB, free: 26.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.3776, allocations: 55.97 kB / 0.5379 GB, free: 26.39 MB / 410.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.0005656/0.3782, allocations: 294 kB / 0.5382 GB, free: 26.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/0.3785, allocations: 167.1 kB / 0.5384 GB, free: 25.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/0.3904, allocations: 3.871 MB / 0.5422 GB, free: 22.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.3904, allocations: 12 kB / 0.5422 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.3904, allocations: 4.562 kB / 0.5422 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.3904, allocations: 7.984 kB / 0.5422 GB, free: 22.04 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 postOpt removeSimpleEquations (simulation): time 0.01346/0.4039, allocations: 4.901 MB / 0.547 GB, free: 17.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.4039, allocations: 0 / 0.547 GB, free: 17.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006493/0.4046, allocations: 103.4 kB / 0.5471 GB, free: 17.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01053/0.4151, allocations: 2.357 MB / 0.5494 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002816/0.4154, allocations: 24 kB / 0.5494 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01828/0.4337, allocations: 9.227 MB / 0.5584 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.4337, allocations: 4 kB / 0.5584 GB, free: 5.246 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/0.447, allocations: 4.796 MB / 0.5631 GB, free: 448 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004789/0.4475, allocations: 146.9 kB / 0.5632 GB, free: 300 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.4477, allocations: 24 kB / 0.5632 GB, free: 276 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.4488, allocations: 107.9 kB / 0.5633 GB, free: 168 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006475/0.4495, allocations: 202.7 kB / 0.5635 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-05/0.4496, allocations: 27.98 kB / 0.5636 GB, free: 15.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001254/0.4508, allocations: 0.715 MB / 0.5643 GB, free: 15.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4508, allocations: 0 / 0.5643 GB, free: 15.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001597/0.4524, allocations: 471.6 kB / 0.5647 GB, free: 14.76 MB / 426.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.0003378/0.4528, allocations: 139 kB / 0.5648 GB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007229/0.46, allocations: 2.439 MB / 0.5672 GB, free: 12.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.46, allocations: 0 / 0.5672 GB, free: 12.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004906/0.4649, allocations: 1.555 MB / 0.5687 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.4664, allocations: 142.8 kB / 0.5689 GB, free: 10.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004865/0.4713, allocations: 2.231 MB / 0.5711 GB, free: 8.207 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007062/0.472, allocations: 0.5315 MB / 0.5716 GB, free: 7.637 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000538/0.4725, allocations: 116.5 kB / 0.5717 GB, free: 7.523 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/0.4728, allocations: 84.47 kB / 0.5718 GB, free: 7.441 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4728, allocations: 0 / 0.5718 GB, free: 7.441 MB / 426.7 MB Notification: Performance of Templates: time 0.048/0.5208, allocations: 25.78 MB / 0.597 GB, free: 13.89 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.737198943970725]