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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 105.7 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.1 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 192.5 kB / 290.4 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5237/0.5237, allocations: 91.91 MB / 432.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 88.45 kB / 0.5734 GB, free: 33.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1805, allocations: 71.28 MB / 0.643 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.01378/0.1943, allocations: 14.06 MB / 0.6567 GB, free: 5.469 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.2045, allocations: 4.116 MB / 0.6607 GB, free: 1.34 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003553/0.2081, allocations: 20 kB / 0.6608 GB, free: 1.32 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002794/0.211, allocations: 0.6703 MB / 0.6614 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006317/0.2173, allocations: 1.594 MB / 0.663 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003456/0.2208, allocations: 1.271 MB / 0.6642 GB, free: 13.79 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006809/0.2276, allocations: 4.074 MB / 0.6682 GB, free: 9.707 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.2293, allocations: 0.775 MB / 0.669 GB, free: 8.891 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002972/0.2323, allocations: 1.63 MB / 0.6705 GB, free: 7.254 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003691/0.236, allocations: 2.132 MB / 0.6726 GB, free: 5.113 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001316/0.2373, allocations: 368 kB / 0.673 GB, free: 4.754 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.2394, allocations: 0.5155 MB / 0.6735 GB, free: 4.238 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.2408, allocations: 0.8404 MB / 0.6743 GB, free: 3.395 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00342/0.2442, allocations: 1.771 MB / 0.676 GB, free: 1.613 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007308/0.2516, allocations: 4.562 MB / 0.6805 GB, free: 13.04 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.2516, allocations: 3.984 kB / 0.6805 GB, free: 13.03 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2516, allocations: 4 kB / 0.6805 GB, free: 13.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000199/0.2518, allocations: 0 / 0.6805 GB, free: 13.03 MB / 494.1 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.02539/0.2772, allocations: 5.783 MB / 0.6861 GB, free: 7.168 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.2773, allocations: 8.031 kB / 0.6861 GB, free: 7.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01391/0.2912, allocations: 2.041 MB / 0.6881 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004912/0.2961, allocations: 2.026 MB / 0.6901 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005535/0.2967, allocations: 443.1 kB / 0.6905 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009108/0.2976, allocations: 191.9 kB / 0.6907 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006691/0.3044, allocations: 2.307 MB / 0.693 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.773e-05/0.3044, allocations: 3.938 kB / 0.693 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004427/0.3049, allocations: 72.08 kB / 0.693 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-05/0.3049, allocations: 47.94 kB / 0.6931 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005181/0.3101, allocations: 2.321 MB / 0.6954 GB, free: 13.58 MB / 0.4981 GB 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.01917/0.3293, allocations: 9.655 MB / 0.7048 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/0.3396, allocations: 4.169 MB / 0.7089 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0034/0.343, allocations: 1.617 MB / 0.7104 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/0.3434, allocations: 37.95 kB / 0.7105 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.1e-05/0.3435, allocations: 64.44 kB / 0.7105 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=223): time 4.258e-06/0.3435, allocations: 0 / 0.7105 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=223): time 0.09318/0.4367, allocations: 20.09 MB / 0.7302 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.4368, allocations: 73.41 kB / 0.7302 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005392/0.4422, allocations: 2.687 MB / 0.7328 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000724/0.4429, allocations: 65.7 kB / 0.7329 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.4441, allocations: 1.169 MB / 0.7341 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001488/0.4456, allocations: 0.8088 MB / 0.7348 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00265/0.4483, allocations: 0.5933 MB / 0.7354 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4484, allocations: 301.1 kB / 0.7357 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004236/0.4526, allocations: 1.795 MB / 0.7375 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004694/0.4574, allocations: 2.154 MB / 0.7396 GB, free: 15.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06344/0.5208, allocations: 13.07 MB / 0.7523 GB, free: 2.234 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.917e-05/0.5209, allocations: 4 kB / 0.7523 GB, free: 2.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=429) (initialization): time 0.02499/0.5459, allocations: 7.456 MB / 0.7596 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/0.546, allocations: 8 kB / 0.7596 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.546, allocations: 7.984 kB / 0.7596 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01418/0.5602, allocations: 3.217 MB / 0.7628 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008938/0.5692, allocations: 1.42 MB / 0.7642 GB, free: 6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3855/0.9548, allocations: 16.86 MB / 0.7806 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004846/0.9596, allocations: 392.2 kB / 0.781 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006709/0.9603, allocations: 116.1 kB / 0.7811 GB, free: 104.9 MB / 0.5606 GB 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 (361): * Single equations (assignments): 347 * 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.001372/0.9617, allocations: 0.5096 MB / 0.7816 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008019/0.9625, allocations: 307.3 kB / 0.7819 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02671/0.9892, allocations: 8.122 MB / 0.7898 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-05/0.9893, allocations: 19.62 kB / 0.7898 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.9893, allocations: 0 / 0.7898 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.205e-05/0.9894, allocations: 15.33 kB / 0.7899 GB, free: 102.8 MB / 0.5606 GB 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.0291/1.018, allocations: 12.11 MB / 0.8017 GB, free: 98.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-05/1.019, allocations: 0 / 0.8017 GB, free: 98.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/1.02, allocations: 229.3 kB / 0.8019 GB, free: 98.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01306/1.033, allocations: 4.169 MB / 0.806 GB, free: 96.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006556/1.034, allocations: 47.23 kB / 0.806 GB, free: 96.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03805/1.072, allocations: 16.58 MB / 0.8222 GB, free: 80.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.072, allocations: 3.984 kB / 0.8222 GB, free: 80.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02819/1.1, allocations: 10.15 MB / 0.8321 GB, free: 69.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/1.102, allocations: 459.1 kB / 0.8326 GB, free: 69.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006571/1.102, allocations: 46.94 kB / 0.8326 GB, free: 69.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002655/1.105, allocations: 167.8 kB / 0.8328 GB, free: 69.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001216/1.106, allocations: 378.5 kB / 0.8331 GB, free: 68.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/1.106, allocations: 55.98 kB / 0.8332 GB, free: 68.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00206/1.108, allocations: 1.779 MB / 0.8349 GB, free: 67.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.108, allocations: 3.062 kB / 0.8349 GB, free: 67.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003346/1.112, allocations: 1.089 MB / 0.836 GB, free: 65.95 MB / 0.5606 GB 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.0003739/1.112, allocations: 173.6 kB / 0.8362 GB, free: 65.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01321/1.125, allocations: 6.36 MB / 0.8424 GB, free: 59.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/1.125, allocations: 0 / 0.8424 GB, free: 59.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.009756/1.135, allocations: 3.384 MB / 0.8457 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/1.138, allocations: 227.3 kB / 0.8459 GB, free: 55.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008652/1.146, allocations: 5.743 MB / 0.8515 GB, free: 49.83 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009231/1.147, allocations: 1.76 MB / 0.8532 GB, free: 48.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/1.149, allocations: 175.4 kB / 0.8534 GB, free: 47.87 MB / 0.5606 GB Notification: Performance of SimCode: time 8.71e-07/1.149, allocations: 0 / 0.8534 GB, free: 47.87 MB / 0.5606 GB Notification: Performance of Templates: time 0.1158/1.264, allocations: 126.5 MB / 0.9769 GB, free: 1.16 MB / 0.6387 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile (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=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)