Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005323/0.005323, allocations: 170 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.146/1.146, allocations: 223.2 MB / 239 MB, free: 1.805 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007811/0.0007812, allocations: 101.8 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4012/0.4012, allocations: 78.52 MB / 419.8 MB, free: 44.06 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003291, allocations: 12 kB / 499.7 MB, free: 2.773 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2866, allocations: 69.35 MB / 0.5557 GB, free: 38.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.3888, allocations: 100 MB / 0.6534 GB, free: 6.375 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.389, allocations: 75.97 kB / 0.6535 GB, free: 6.301 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1778/0.5669, allocations: 73.58 MB / 0.7253 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5669, allocations: 0 / 0.7253 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002708/0.5672, allocations: 59.94 kB / 0.7254 GB, free: 12.17 MB / 0.5261 GB 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.01245/0.5797, allocations: 4.247 MB / 0.7295 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.5797, allocations: 8.031 kB / 0.7295 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008555/0.5883, allocations: 1.479 MB / 0.731 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/0.592, allocations: 1.752 MB / 0.7327 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004404/0.5924, allocations: 446.8 kB / 0.7331 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005974/0.593, allocations: 183.9 kB / 0.7333 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005016/0.5981, allocations: 2.393 MB / 0.7356 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.5981, allocations: 0 / 0.7356 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002375/0.5984, allocations: 75.94 kB / 0.7357 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.5984, allocations: 40 kB / 0.7357 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004397/0.6028, allocations: 2.431 MB / 0.7381 GB, free: 14.92 MB / 0.5417 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.0154/0.6182, allocations: 9.531 MB / 0.7474 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009642/0.6279, allocations: 4.725 MB / 0.752 GB, free: 16 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.6281, allocations: 33.95 kB / 0.7521 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.6281, allocations: 60.44 kB / 0.7521 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=223): time 4.299e-06/0.6281, allocations: 4 kB / 0.7521 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=223): time 0.3137/0.9418, allocations: 23.25 MB / 0.7748 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.9419, allocations: 80.41 kB / 0.7749 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003073/0.945, allocations: 2.271 MB / 0.7771 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003768/0.9454, allocations: 58.55 kB / 0.7772 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008436/0.9462, allocations: 1.228 MB / 0.7784 GB, free: 117 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006157/0.9469, allocations: 0.7769 MB / 0.7791 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.947, allocations: 45.28 kB / 0.7792 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.9471, allocations: 381.5 kB / 0.7795 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/0.9495, allocations: 1.415 MB / 0.7809 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002403/0.9519, allocations: 1.693 MB / 0.7826 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00237/0.9543, allocations: 1.549 MB / 0.7841 GB, free: 116 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.9543, allocations: 7.422 kB / 0.7841 GB, free: 116 MB / 0.5573 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01656/0.9709, allocations: 7.104 MB / 0.791 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.9709, allocations: 12.38 kB / 0.7911 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.9709, allocations: 5.594 kB / 0.7911 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0127/0.9836, allocations: 3.826 MB / 0.7948 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005795/0.9894, allocations: 1.502 MB / 0.7963 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02613/1.016, allocations: 19.55 MB / 0.8154 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/1.019, allocations: 372.4 kB / 0.8157 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/1.019, allocations: 73.75 kB / 0.8158 GB, free: 105.6 MB / 0.5573 GB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g4.order6_1.e2d:VARIABLE(start = g4.order6_1.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real g4.order6_1.delta:VARIABLE(start = g4.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real g3.order6_1.e2d:VARIABLE(start = g3.order6_1.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real g3.order6_1.delta:VARIABLE(start = g3.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (203): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 9 {(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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,75.0%) 2,(4,75.0%) 2,(1,100.0%) 1,(3,88.9%) 17,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {8 22} Notification: Performance of prepare postOptimizeDAE: time 0.001135/1.02, allocations: 477.5 kB / 0.8162 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005853/1.021, allocations: 307.3 kB / 0.8165 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02518/1.046, allocations: 9.634 MB / 0.8259 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/1.046, allocations: 25.12 kB / 0.826 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.046, allocations: 4.547 kB / 0.826 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.383e-05/1.046, allocations: 10.69 kB / 0.826 GB, free: 103.4 MB / 0.5573 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.0302/1.076, allocations: 13.6 MB / 0.8393 GB, free: 98.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/1.076, allocations: 0 / 0.8393 GB, free: 98.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/1.078, allocations: 218.6 kB / 0.8395 GB, free: 98.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01209/1.09, allocations: 4.681 MB / 0.844 GB, free: 98.22 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002598/1.09, allocations: 46.36 kB / 0.8441 GB, free: 98.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03361/1.124, allocations: 17.54 MB / 0.8612 GB, free: 91.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.124, allocations: 3.953 kB / 0.8612 GB, free: 91.06 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02693/1.151, allocations: 11.73 MB / 0.8727 GB, free: 83.43 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/1.152, allocations: 486.9 kB / 0.8731 GB, free: 82.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007735/1.153, allocations: 44 kB / 0.8732 GB, free: 82.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002668/1.155, allocations: 218.2 kB / 0.8734 GB, free: 82.78 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001077/1.156, allocations: 374.4 kB / 0.8737 GB, free: 82.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/1.157, allocations: 56 kB / 0.8738 GB, free: 82.53 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002439/1.159, allocations: 1.749 MB / 0.8755 GB, free: 81.03 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.91e-07/1.159, allocations: 0 / 0.8755 GB, free: 81.03 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003012/1.162, allocations: 0.9991 MB / 0.8765 GB, free: 80.04 MB / 0.5573 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {54 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005418/1.163, allocations: 321.8 kB / 0.8768 GB, free: 79.78 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01144/1.174, allocations: 6.255 MB / 0.8829 GB, free: 73.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.174, allocations: 0 / 0.8829 GB, free: 73.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008486/1.183, allocations: 3.662 MB / 0.8865 GB, free: 70.76 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/1.185, allocations: 213.4 kB / 0.8867 GB, free: 70.55 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008771/1.193, allocations: 6.74 MB / 0.8932 GB, free: 64.45 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/1.194, allocations: 1.825 MB / 0.895 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00108/1.196, allocations: 202.5 kB / 0.8952 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006991/1.196, allocations: 135.3 kB / 0.8954 GB, free: 62.76 MB / 0.5573 GB Notification: Performance of SimCode: time 8.01e-07/1.196, allocations: 0 / 0.8954 GB, free: 62.76 MB / 0.5573 GB Notification: Performance of Templates: time 0.05749/1.254, allocations: 49.14 MB / 0.9433 GB, free: 21.06 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)