Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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 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_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.007594/0.007594, allocations: 170.6 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.206/1.206, allocations: 223.2 MB / 239 MB, free: 1.797 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.000848/0.000848, allocations: 98.92 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4407/0.4407, allocations: 78.58 MB / 419.9 MB, free: 44.17 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 16 kB / 499.8 MB, free: 2.973 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3125, allocations: 69.33 MB / 0.5558 GB, free: 38.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.4242, allocations: 100 MB / 0.6534 GB, free: 6.504 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.4244, allocations: 71.97 kB / 0.6535 GB, free: 6.434 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1843/0.6087, allocations: 73.58 MB / 0.7254 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6088, allocations: 0 / 0.7254 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000137/0.6089, allocations: 55.94 kB / 0.7254 GB, free: 12.32 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.01155/0.6205, allocations: 4.247 MB / 0.7296 GB, free: 8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.6205, allocations: 8.031 kB / 0.7296 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008793/0.6293, allocations: 1.479 MB / 0.731 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003358/0.6327, allocations: 1.752 MB / 0.7327 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003848/0.6331, allocations: 446.8 kB / 0.7332 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000334/0.6335, allocations: 187.8 kB / 0.7333 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00457/0.638, allocations: 2.389 MB / 0.7357 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.6381, allocations: 0 / 0.7357 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/0.6383, allocations: 72 kB / 0.7357 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.6383, allocations: 44 kB / 0.7358 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004433/0.6428, allocations: 2.427 MB / 0.7382 GB, free: 15.07 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.0155/0.6583, allocations: 9.539 MB / 0.7475 GB, free: 5.09 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009755/0.6681, allocations: 4.728 MB / 0.7521 GB, free: 136 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.6683, allocations: 33.97 kB / 0.7521 GB, free: 104 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.6683, allocations: 56.56 kB / 0.7522 GB, free: 40 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=223): time 3.656e-06/0.6683, allocations: 3.938 kB / 0.7522 GB, free: 36 kB / 0.5417 GB Notification: Performance of matching and sorting (n=223): time 0.3094/0.9777, allocations: 23.25 MB / 0.7749 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.9778, allocations: 84.92 kB / 0.775 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003134/0.981, allocations: 2.269 MB / 0.7772 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003672/0.9813, allocations: 61.42 kB / 0.7772 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008375/0.9822, allocations: 1.223 MB / 0.7784 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006811/0.9829, allocations: 0.7822 MB / 0.7792 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.983, allocations: 39.56 kB / 0.7792 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.9831, allocations: 387.1 kB / 0.7796 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002468/0.9856, allocations: 1.413 MB / 0.781 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002585/0.9882, allocations: 1.688 MB / 0.7826 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002585/0.9908, allocations: 1.554 MB / 0.7841 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.9908, allocations: 3.953 kB / 0.7842 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01755/1.008, allocations: 7.107 MB / 0.7911 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/1.008, allocations: 11.86 kB / 0.7911 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/1.008, allocations: 6 kB / 0.7911 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01377/1.022, allocations: 3.821 MB / 0.7948 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006417/1.029, allocations: 1.502 MB / 0.7963 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02808/1.057, allocations: 19.55 MB / 0.8154 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003828/1.061, allocations: 370.3 kB / 0.8158 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002505/1.061, allocations: 80.86 kB / 0.8158 GB, free: 106.1 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.001248/1.062, allocations: 477.2 kB / 0.8163 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005639/1.063, allocations: 311.6 kB / 0.8166 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02744/1.09, allocations: 9.636 MB / 0.826 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/1.09, allocations: 24.88 kB / 0.826 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.09, allocations: 0 / 0.826 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.153e-05/1.09, allocations: 14.27 kB / 0.826 GB, free: 104 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.03023/1.121, allocations: 13.59 MB / 0.8393 GB, free: 99.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/1.121, allocations: 0 / 0.8393 GB, free: 99.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.122, allocations: 222.5 kB / 0.8395 GB, free: 99.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01299/1.135, allocations: 4.676 MB / 0.8441 GB, free: 98.88 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004826/1.136, allocations: 46.09 kB / 0.8441 GB, free: 98.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03542/1.171, allocations: 17.55 MB / 0.8613 GB, free: 91.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.171, allocations: 3.953 kB / 0.8613 GB, free: 91.71 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02892/1.2, allocations: 11.73 MB / 0.8727 GB, free: 84.32 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.201, allocations: 476.8 kB / 0.8732 GB, free: 83.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000509/1.202, allocations: 44 kB / 0.8732 GB, free: 83.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002551/1.204, allocations: 215.9 kB / 0.8734 GB, free: 83.68 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001074/1.205, allocations: 382.6 kB / 0.8738 GB, free: 83.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/1.206, allocations: 55.66 kB / 0.8738 GB, free: 83.42 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00238/1.208, allocations: 1.75 MB / 0.8755 GB, free: 81.92 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.6e-07/1.208, allocations: 4 kB / 0.8756 GB, free: 81.92 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002705/1.211, allocations: 0.9967 MB / 0.8765 GB, free: 80.93 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.0004874/1.211, allocations: 324.4 kB / 0.8768 GB, free: 80.67 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01191/1.223, allocations: 6.245 MB / 0.8829 GB, free: 74.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.223, allocations: 0 / 0.8829 GB, free: 74.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009084/1.232, allocations: 3.672 MB / 0.8865 GB, free: 71.65 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.234, allocations: 210 kB / 0.8867 GB, free: 71.45 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007761/1.242, allocations: 6.738 MB / 0.8933 GB, free: 65.35 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008644/1.243, allocations: 1.822 MB / 0.8951 GB, free: 63.92 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009788/1.244, allocations: 202.7 kB / 0.8953 GB, free: 63.79 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005968/1.245, allocations: 134.7 kB / 0.8954 GB, free: 63.66 MB / 0.5573 GB Notification: Performance of SimCode: time 9.12e-07/1.245, allocations: 0 / 0.8954 GB, free: 63.66 MB / 0.5573 GB Notification: Performance of Templates: time 0.06328/1.308, allocations: 49.15 MB / 0.9434 GB, free: 21.96 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)