Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.0009192/0.0009192, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.8682/0.8682, allocations: 177.2 MB / 200.3 MB, free: 5.375 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.001106/0.001106, allocations: 167.3 kB / 257 MB, free: 12.82 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.3977/0.3977, allocations: 83.3 MB / 343.6 MB, free: 6.633 MB / 314.7 MB " [Timeout remaining time 180] 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.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 388 MB, free: 10.66 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.053e-05, allocations: 6.312 kB / 388 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.0145/0.01452, allocations: 12.66 MB / 400.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.02455, allocations: 3.718 MB / 404.4 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003256/0.0278, allocations: 32 kB / 404.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.02945, allocations: 0.5847 MB / 405 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004284/0.03374, allocations: 1.661 MB / 406.6 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002624/0.03636, allocations: 1.54 MB / 408.2 MB, free: 6.379 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004299/0.04066, allocations: 3.835 MB / 412 MB, free: 2.531 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000891/0.04155, allocations: 0.6167 MB / 412.6 MB, free: 1.836 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003048/0.0446, allocations: 2.189 MB / 414.8 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00176/0.04636, allocations: 1.624 MB / 416.4 MB, free: 14.01 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006165/0.04698, allocations: 296 kB / 416.7 MB, free: 13.72 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007578/0.04774, allocations: 459.8 kB / 417.2 MB, free: 13.27 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004559/0.04819, allocations: 0.7972 MB / 418 MB, free: 12.47 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.04939, allocations: 1.113 MB / 419.1 MB, free: 11.36 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002976/0.05236, allocations: 2.937 MB / 422 MB, free: 8.406 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.05237, allocations: 0 / 422 MB, free: 8.406 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.05237, allocations: 0 / 422 MB, free: 8.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.834e-05/0.05244, allocations: 0 / 422 MB, free: 8.406 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01074/0.06318, allocations: 6.728 MB / 428.8 MB, free: 1.605 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.06322, allocations: 8.031 kB / 428.8 MB, free: 1.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00739/0.07061, allocations: 2.907 MB / 431.7 MB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.0726, allocations: 1.232 MB / 432.9 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000416/0.07301, allocations: 0.8179 MB / 433.7 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003116/0.07333, allocations: 220 kB / 433.9 MB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.07535, allocations: 1.845 MB / 435.8 MB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.07538, allocations: 3.938 kB / 435.8 MB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.07552, allocations: 88 kB / 435.9 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.07555, allocations: 48 kB / 435.9 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.07693, allocations: 0.8922 MB / 436.8 MB, free: 9.195 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.0077/0.08463, allocations: 4.998 MB / 441.8 MB, free: 4.039 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00298/0.08761, allocations: 1.844 MB / 443.7 MB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007445/0.08835, allocations: 0.6307 MB / 444.3 MB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.08853, allocations: 53.98 kB / 444.3 MB, free: 1.449 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.08961, allocations: 1.185 MB / 445.5 MB, free: 236 kB / 410.7 MB Notification: Performance of pre-optimization done (n=250): time 4.899e-06/0.08961, allocations: 0 / 445.5 MB, free: 236 kB / 410.7 MB Notification: Performance of matching and sorting (n=250): time 0.2017/0.2913, allocations: 20.57 MB / 466.1 MB, free: 50.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.2914, allocations: 186 kB / 466.3 MB, free: 50.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.2928, allocations: 1.853 MB / 468.1 MB, free: 49.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000414/0.2933, allocations: 76.14 kB / 468.2 MB, free: 49.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004044/0.2937, allocations: 0.8082 MB / 469 MB, free: 48.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007926/0.2945, allocations: 0.9347 MB / 470 MB, free: 48.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007563/0.2952, allocations: 0.5641 MB / 470.5 MB, free: 47.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.2953, allocations: 305.1 kB / 470.8 MB, free: 47.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.2965, allocations: 0.8292 MB / 471.6 MB, free: 46.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.2977, allocations: 1.201 MB / 472.8 MB, free: 45.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003522/0.3012, allocations: 3.438 MB / 476.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/0.3012, allocations: 4 kB / 476.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.01286/0.3141, allocations: 7.707 MB / 484 MB, free: 34.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.367e-05/0.3141, allocations: 121.5 kB / 484.1 MB, free: 34.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.3142, allocations: 8 kB / 484.1 MB, free: 34.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01186/0.326, allocations: 5.152 MB / 489.3 MB, free: 29.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.3277, allocations: 0.568 MB / 489.8 MB, free: 29.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/0.3418, allocations: 8.085 MB / 497.9 MB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/0.3441, allocations: 410.3 kB / 498.3 MB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/0.3443, allocations: 87.95 kB / 498.4 MB, free: 21.2 MB / 410.7 MB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 325 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0007704/0.3451, allocations: 343.4 kB / 498.7 MB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/0.3456, allocations: 263.7 kB / 499 MB, free: 20.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/0.3571, allocations: 7.035 MB / 0.4942 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.3571, allocations: 28 kB / 0.4942 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.842e-05/0.3572, allocations: 21.64 kB / 0.4942 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.673e-05/0.3572, allocations: 11.95 kB / 0.4942 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/0.3721, allocations: 8.451 MB / 0.5025 GB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.3721, allocations: 4.062 kB / 0.5025 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009719/0.3731, allocations: 247.6 kB / 0.5027 GB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01238/0.3854, allocations: 5.161 MB / 0.5078 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005441/0.386, allocations: 47.98 kB / 0.5078 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01572/0.4017, allocations: 10.49 MB / 0.5181 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.4017, allocations: 4 kB / 0.5181 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/0.4166, allocations: 7.71 MB / 0.5256 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009008/0.4175, allocations: 306.5 kB / 0.5259 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005087/0.418, allocations: 48 kB / 0.5259 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.4194, allocations: 219.7 kB / 0.5261 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001321/0.4207, allocations: 0.5643 MB / 0.5267 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/0.4209, allocations: 47.98 kB / 0.5267 GB, free: 11.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001043/0.4219, allocations: 0.9933 MB / 0.5277 GB, free: 10.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4219, allocations: 0 / 0.5277 GB, free: 10.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003523/0.4254, allocations: 1.192 MB / 0.5289 GB, free: 9.508 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004402/0.4259, allocations: 164.1 kB / 0.529 GB, free: 9.348 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006936/0.4328, allocations: 4.028 MB / 0.533 GB, free: 5.195 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.805e-05/0.4328, allocations: 27.94 kB / 0.533 GB, free: 5.168 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004969/0.4378, allocations: 2.875 MB / 0.5358 GB, free: 2.195 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.4395, allocations: 316.4 kB / 0.5361 GB, free: 1.895 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008039/0.4475, allocations: 4.91 MB / 0.5409 GB, free: 12.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/0.4481, allocations: 0.5417 MB / 0.5414 GB, free: 12.39 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001019/0.4492, allocations: 258.5 kB / 0.5417 GB, free: 12.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000785/0.4499, allocations: 363.3 kB / 0.542 GB, free: 11.78 MB / 458.7 MB Notification: Performance of SimCode: time 2.565e-06/0.4499, allocations: 0 / 0.542 GB, free: 11.78 MB / 458.7 MB Notification: Performance of Templates: time 0.07687/0.5268, allocations: 72.45 MB / 0.6128 GB, free: 3.84 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.682951647788286]