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.00108/0.00108, allocations: 111.5 kB / 16.37 MB, free: 6.012 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.3/1.3, allocations: 222.9 MB / 240 MB, free: 4.52 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.001355/0.001355, allocations: 192.5 kB / 290.3 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5071/0.5071, allocations: 91.89 MB / 432.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 75.89 kB / 0.5033 GB, free: 6.984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.348, allocations: 71.27 MB / 0.5729 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.009326/0.3573, allocations: 14.06 MB / 0.5866 GB, free: 27.31 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007824/0.3652, allocations: 4.128 MB / 0.5906 GB, free: 24.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00369/0.3689, allocations: 20.09 kB / 0.5907 GB, free: 24.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.3713, allocations: 0.6696 MB / 0.5913 GB, free: 23.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005797/0.3771, allocations: 1.589 MB / 0.5929 GB, free: 22.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002945/0.3801, allocations: 1.268 MB / 0.5941 GB, free: 22.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005656/0.3858, allocations: 4.081 MB / 0.5981 GB, free: 20.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.3872, allocations: 0.7663 MB / 0.5988 GB, free: 19.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002852/0.3901, allocations: 1.635 MB / 0.6004 GB, free: 18.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003179/0.3933, allocations: 2.123 MB / 0.6025 GB, free: 17.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001298/0.3946, allocations: 373.8 kB / 0.6029 GB, free: 17.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.3966, allocations: 0.5116 MB / 0.6034 GB, free: 17.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.3978, allocations: 0.8401 MB / 0.6042 GB, free: 17.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003137/0.4009, allocations: 1.769 MB / 0.6059 GB, free: 16.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006248/0.4072, allocations: 4.568 MB / 0.6104 GB, free: 14.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4072, allocations: 1 kB / 0.6104 GB, free: 14.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4072, allocations: 0 / 0.6104 GB, free: 14.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001276/0.4074, allocations: 0 / 0.6104 GB, free: 14.08 MB / 430.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.02141/0.4288, allocations: 5.783 MB / 0.616 GB, free: 11.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.4288, allocations: 9.719 kB / 0.616 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/0.442, allocations: 2.04 MB / 0.618 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004424/0.4464, allocations: 2.035 MB / 0.62 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003804/0.4468, allocations: 437.2 kB / 0.6204 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000574/0.4474, allocations: 198.6 kB / 0.6206 GB, free: 9.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004564/0.452, allocations: 2.313 MB / 0.6229 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/0.452, allocations: 0 / 0.6229 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/0.4523, allocations: 74.53 kB / 0.6229 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-05/0.4523, allocations: 47.25 kB / 0.623 GB, free: 8.477 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004075/0.4564, allocations: 2.322 MB / 0.6253 GB, free: 7.355 MB / 430.1 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.01506/0.4714, allocations: 9.648 MB / 0.6347 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008907/0.4804, allocations: 4.184 MB / 0.6388 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002868/0.4833, allocations: 1.607 MB / 0.6403 GB, free: 8.551 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/0.4835, allocations: 41.88 kB / 0.6404 GB, free: 8.516 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.4836, allocations: 56.5 kB / 0.6404 GB, free: 8.449 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.198e-06/0.4836, allocations: 0 / 0.6404 GB, free: 8.449 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.0811/0.5647, allocations: 20.09 MB / 0.66 GB, free: 4.301 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.5648, allocations: 77.41 kB / 0.6601 GB, free: 4.215 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00423/0.569, allocations: 2.691 MB / 0.6627 GB, free: 1.512 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006841/0.5697, allocations: 65.7 kB / 0.6628 GB, free: 1.441 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009049/0.5706, allocations: 1.173 MB / 0.664 GB, free: 264 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00116/0.5718, allocations: 0.805 MB / 0.6647 GB, free: 15.44 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/0.5729, allocations: 0.5894 MB / 0.6653 GB, free: 14.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.573, allocations: 309.1 kB / 0.6656 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003245/0.5763, allocations: 1.787 MB / 0.6674 GB, free: 12.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003465/0.5798, allocations: 2.158 MB / 0.6695 GB, free: 10.51 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05436/0.6341, allocations: 13.07 MB / 0.6822 GB, free: 13.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/0.6342, allocations: 0 / 0.6822 GB, free: 13.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=429) (initialization): time 0.02007/0.6543, allocations: 7.448 MB / 0.6895 GB, free: 5.785 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.6543, allocations: 8 kB / 0.6895 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.6544, allocations: 8 kB / 0.6895 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0121/0.6665, allocations: 3.227 MB / 0.6927 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007757/0.6743, allocations: 1.424 MB / 0.6941 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02607/0.7004, allocations: 16.87 MB / 0.7105 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004634/0.705, allocations: 397.1 kB / 0.7109 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007543/0.7058, allocations: 115.9 kB / 0.711 GB, free: 14.99 MB / 0.5137 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.002066/0.7079, allocations: 0.5072 MB / 0.7115 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/0.7091, allocations: 308.1 kB / 0.7118 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02364/0.7327, allocations: 8.122 MB / 0.7197 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/0.7328, allocations: 20 kB / 0.7198 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.7328, allocations: 0 / 0.7198 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.333e-05/0.7329, allocations: 15.94 kB / 0.7198 GB, free: 5.992 MB / 0.5137 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.03341/0.7663, allocations: 12.11 MB / 0.7316 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/0.7664, allocations: 0 / 0.7316 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/0.7682, allocations: 219.7 kB / 0.7318 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01293/0.7811, allocations: 4.168 MB / 0.7359 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007112/0.7819, allocations: 51.92 kB / 0.7359 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03781/0.8197, allocations: 16.56 MB / 0.7521 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.8197, allocations: 0 / 0.7521 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02797/0.8477, allocations: 10.16 MB / 0.762 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/0.8494, allocations: 460.6 kB / 0.7625 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006871/0.8501, allocations: 44 kB / 0.7625 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002512/0.8526, allocations: 171.8 kB / 0.7627 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001246/0.8538, allocations: 382.4 kB / 0.763 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/0.854, allocations: 52 kB / 0.7631 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002486/0.8565, allocations: 1.775 MB / 0.7648 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8565, allocations: 0 / 0.7648 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003336/0.8599, allocations: 1.1 MB / 0.7659 GB, free: 6.309 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.0003957/0.8603, allocations: 164.8 kB / 0.7661 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2466/1.107, allocations: 6.357 MB / 0.7723 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/1.107, allocations: 0 / 0.7723 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01014/1.117, allocations: 3.387 MB / 0.7756 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/1.12, allocations: 226.2 kB / 0.7758 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008188/1.128, allocations: 5.679 MB / 0.7813 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009678/1.129, allocations: 1.762 MB / 0.783 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001243/1.13, allocations: 259.6 kB / 0.7833 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006849/1.131, allocations: 163.3 kB / 0.7835 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.343e-06/1.131, allocations: 2.078 kB / 0.7835 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.08207/1.213, allocations: 56.11 MB / 0.8382 GB, free: 131.1 MB / 0.5606 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 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)