Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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.001512/0.001512, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.9299/0.9299, allocations: 177.2 MB / 200.3 MB, free: 5.672 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.001288/0.001288, allocations: 156.6 kB / 257 MB, free: 12.96 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.4284/0.4284, allocations: 83.3 MB / 343.6 MB, free: 6.203 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.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 387.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.892e-05, allocations: 2.312 kB / 387.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.0115/0.01153, allocations: 12.87 MB / 400.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007306/0.01883, allocations: 4.267 MB / 405 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.01994, allocations: 20 kB / 405.1 MB, free: 9.344 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.02109, allocations: 0.6897 MB / 405.7 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.0239, allocations: 1.807 MB / 407.6 MB, free: 6.832 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.02555, allocations: 1.259 MB / 408.8 MB, free: 5.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003009/0.02856, allocations: 4.205 MB / 413 MB, free: 1.352 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006203/0.02918, allocations: 0.5296 MB / 413.5 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.03114, allocations: 2.361 MB / 415.9 MB, free: 14.4 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.03257, allocations: 1.733 MB / 417.6 MB, free: 12.66 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003603/0.03293, allocations: 372 kB / 418 MB, free: 12.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005734/0.0335, allocations: 0.527 MB / 418.5 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004352/0.03394, allocations: 0.8597 MB / 419.4 MB, free: 10.91 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007681/0.03471, allocations: 1.203 MB / 420.6 MB, free: 9.699 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.03665, allocations: 2.965 MB / 423.6 MB, free: 6.723 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.03666, allocations: 0 / 423.6 MB, free: 6.723 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.03666, allocations: 3.938 kB / 423.6 MB, free: 6.719 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.03668, allocations: 0 / 423.6 MB, free: 6.719 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: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.008317/0.04499, allocations: 5.87 MB / 429.4 MB, free: 0.793 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.04503, allocations: 8.031 kB / 429.4 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006356/0.05138, allocations: 2.524 MB / 432 MB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.05284, allocations: 1.219 MB / 433.2 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/0.05315, allocations: 482.5 kB / 433.7 MB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/0.05339, allocations: 195.9 kB / 433.8 MB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.05483, allocations: 1.28 MB / 435.1 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.05486, allocations: 3.984 kB / 435.1 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.05499, allocations: 72 kB / 435.2 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.05502, allocations: 44 kB / 435.2 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.05602, allocations: 0.6722 MB / 435.9 MB, free: 10.16 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.006045/0.06207, allocations: 4.468 MB / 440.4 MB, free: 5.582 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/0.06463, allocations: 1.559 MB / 441.9 MB, free: 4.016 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005637/0.0652, allocations: 0.4977 MB / 442.4 MB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.06533, allocations: 41.98 kB / 442.5 MB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.06536, allocations: 60.56 kB / 442.5 MB, free: 3.402 MB / 410.7 MB Notification: Performance of pre-optimization done (n=223): time 3.286e-06/0.06536, allocations: 0 / 442.5 MB, free: 3.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=223): time 0.2237/0.2891, allocations: 14.84 MB / 457.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.2891, allocations: 75.47 kB / 457.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/0.2908, allocations: 2.033 MB / 459.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001764/0.291, allocations: 69.67 kB / 459.6 MB, free: 44.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.2913, allocations: 0.7641 MB / 460.3 MB, free: 44.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004502/0.2918, allocations: 0.8512 MB / 461.2 MB, free: 44.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005845/0.2924, allocations: 0.5617 MB / 461.7 MB, free: 44.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.122e-05/0.2924, allocations: 306.8 kB / 462 MB, free: 43.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009214/0.2933, allocations: 0.6379 MB / 462.7 MB, free: 43.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.2944, allocations: 1.007 MB / 463.7 MB, free: 43.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/0.2974, allocations: 2.908 MB / 466.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.2974, allocations: 6.469 kB / 466.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.006155/0.3036, allocations: 4.02 MB / 470.6 MB, free: 39.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.3036, allocations: 9.094 kB / 470.6 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.3036, allocations: 11.94 kB / 470.6 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006488/0.3101, allocations: 2.889 MB / 473.5 MB, free: 36.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002803/0.3129, allocations: 1.128 MB / 474.6 MB, free: 35.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008275/0.3212, allocations: 10.05 MB / 484.7 MB, free: 26.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.3229, allocations: 342.6 kB / 485 MB, free: 25.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.323, allocations: 84.25 kB / 485.1 MB, free: 25.69 MB / 410.7 MB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real g3.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real g2.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real g1.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real g1.order6_1.delta:VARIABLE(flow=false start = g1.order6_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real g1.order6_1.e1d:VARIABLE(start = g1.order6_1.e1d0 unit = \"1\" fixed = true ) \"d-axis transient voltage\" type: Real g2.order6_1.delta:VARIABLE(flow=false start = g2.order6_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real g2.order6_1.e1d:VARIABLE(start = g2.order6_1.e1d0 unit = \"1\" fixed = true ) \"d-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (341): * Single equations (assignments): 327 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 9 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,2,75.0%), (4,2,75.0%), (1,1,100.0%), (3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0005806/0.3236, allocations: 285.7 kB / 485.4 MB, free: 25.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.3239, allocations: 252.9 kB / 485.6 MB, free: 25.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008031/0.3319, allocations: 4.766 MB / 490.4 MB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.3319, allocations: 27.98 kB / 490.4 MB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.3319, allocations: 0 / 490.4 MB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.332, allocations: 9.172 kB / 490.4 MB, free: 20.85 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.008829/0.3408, allocations: 6.044 MB / 496.5 MB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3408, allocations: 0 / 496.5 MB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006186/0.3414, allocations: 222.2 kB / 496.7 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01247/0.3539, allocations: 4.582 MB / 0.4895 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001984/0.3541, allocations: 45.81 kB / 0.4896 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01265/0.3667, allocations: 6.921 MB / 0.4963 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3667, allocations: 0 / 0.4963 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/0.3782, allocations: 5.29 MB / 0.5015 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008863/0.3791, allocations: 277.5 kB / 0.5018 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/0.3794, allocations: 44 kB / 0.5018 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.3807, allocations: 131.9 kB / 0.5019 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007923/0.3815, allocations: 375 kB / 0.5023 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.3816, allocations: 39.98 kB / 0.5023 GB, free: 13.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00113/0.3827, allocations: 1.108 MB / 0.5034 GB, free: 12.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3827, allocations: 0 / 0.5034 GB, free: 12.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002313/0.385, allocations: 1.073 MB / 0.5045 GB, free: 11.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 24 (g1.order6_1.delta,g1.order6_1.w,g1.order6_1.e1q,g1.order6_1.e1d,g1.order6_1.e2q,g1.order6_1.e2d,g2.order6_1.delta,g2.order6_1.w,g2.order6_1.e1q,g2.order6_1.e1d,g2.order6_1.e2q,g2.order6_1.e2d,g3.order6_1.delta,g3.order6_1.w,g3.order6_1.e1q,g3.order6_1.e1d,g3.order6_1.e2q,g3.order6_1.e2d,g4.order6_1.delta,g4.order6_1.w,g4.order6_1.e1q,g4.order6_1.e1d,g4.order6_1.e2q,g4.order6_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * 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 {(54,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003254/0.3854, allocations: 155.1 kB / 0.5046 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00561/0.391, allocations: 3.254 MB / 0.5078 GB, free: 8.395 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.995e-05/0.391, allocations: 24 kB / 0.5078 GB, free: 8.371 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003149/0.3941, allocations: 2.207 MB / 0.51 GB, free: 6.223 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008307/0.395, allocations: 246.4 kB / 0.5102 GB, free: 5.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005637/0.4006, allocations: 4.58 MB / 0.5147 GB, free: 1.422 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.401, allocations: 0.4969 MB / 0.5152 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005411/0.4015, allocations: 252.9 kB / 0.5154 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006302/0.4021, allocations: 328.2 kB / 0.5157 GB, free: 348 kB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4021, allocations: 0 / 0.5157 GB, free: 348 kB / 426.7 MB Notification: Performance of Templates: time 0.05946/0.4616, allocations: 59.75 MB / 0.5741 GB, free: 5.102 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.829479489009827]