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.001735/0.001735, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0008742/0.0008742, allocations: 81.73 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4662/0.4662, allocations: 78.06 MB / 409.3 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.384e-05/1.387e-05, allocations: 0 / 484.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1407, allocations: 69.36 MB / 0.5413 GB, free: 6.875 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.426/0.5667, allocations: 99.29 MB / 0.6382 GB, free: 356 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.5671, allocations: 73.36 kB / 0.6383 GB, free: 284 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1936/0.7607, allocations: 72.33 MB / 0.7089 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.717e-06/0.7608, allocations: 0 / 0.7089 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002393/0.761, allocations: 49.09 kB / 0.709 GB, free: 7.672 MB / 0.5105 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.01196/0.773, allocations: 3.457 MB / 0.7124 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.7731, allocations: 12.03 kB / 0.7124 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009791/0.7829, allocations: 1.456 MB / 0.7138 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006262/0.7892, allocations: 1.728 MB / 0.7155 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006422/0.7899, allocations: 386.8 kB / 0.7159 GB, free: 472 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.791, allocations: 115.9 kB / 0.716 GB, free: 356 kB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005583/0.7966, allocations: 1.952 MB / 0.7179 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004999/0.8017, allocations: 1.778 MB / 0.7196 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.63e-05/0.8017, allocations: 0 / 0.7196 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.8019, allocations: 3.984 kB / 0.7196 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.813e-05/0.802, allocations: 40 kB / 0.7196 GB, free: 12.56 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.01877/0.8207, allocations: 9.226 MB / 0.7287 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009246/0.83, allocations: 4.264 MB / 0.7328 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002823/0.8329, allocations: 1.284 MB / 0.7341 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004827/0.8334, allocations: 41.95 kB / 0.7341 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/0.8335, allocations: 60.56 kB / 0.7342 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=223): time 5.42e-06/0.8335, allocations: 0 / 0.7342 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of matching and sorting (n=223): time 0.02652/0.86, allocations: 8.119 MB / 0.7421 GB, free: 4.895 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.8601, allocations: 77.41 kB / 0.7422 GB, free: 4.809 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004813/0.8649, allocations: 2.062 MB / 0.7442 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007135/0.8657, allocations: 30.64 kB / 0.7442 GB, free: 2.703 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.8669, allocations: 1.217 MB / 0.7454 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001505/0.8685, allocations: 0.7582 MB / 0.7461 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004879/0.869, allocations: 0 / 0.7461 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002379/0.8692, allocations: 382.2 kB / 0.7465 GB, free: 332 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/0.8712, allocations: 1.016 MB / 0.7475 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.8731, allocations: 1.285 MB / 0.7488 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.875, allocations: 1.142 MB / 0.7499 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.875, allocations: 4 kB / 0.7499 GB, free: 12.78 MB / 0.5573 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01713/0.8921, allocations: 5.924 MB / 0.7557 GB, free: 6.793 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/0.8923, allocations: 9.969 kB / 0.7557 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.8923, allocations: 4 kB / 0.7557 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01288/0.9052, allocations: 3.248 MB / 0.7588 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006808/0.9121, allocations: 1.498 MB / 0.7603 GB, free: 1.988 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3644/1.276, allocations: 17.09 MB / 0.777 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004462/1.281, allocations: 314.8 kB / 0.7773 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005815/1.282, allocations: 83.5 kB / 0.7774 GB, free: 107.5 MB / 0.5573 GB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g4.order6_1.e2d:VARIABLE(start = g4.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g4.order6_1.delta:VARIABLE(start = g4.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real g3.order6_1.e2d:VARIABLE(start = g3.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g3.order6_1.delta:VARIABLE(start = g3.order6_1.delta0 unit = "rad" ) "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 () * 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.0006742/1.282, allocations: 161.2 kB / 0.7775 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/1.283, allocations: 303.2 kB / 0.7778 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02398/1.307, allocations: 8.367 MB / 0.786 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/1.307, allocations: 20.09 kB / 0.786 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.307, allocations: 0 / 0.786 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.807e-05/1.308, allocations: 14.95 kB / 0.786 GB, free: 107.1 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.03284/1.34, allocations: 12.13 MB / 0.7979 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/1.34, allocations: 2.094 kB / 0.7979 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002024/1.343, allocations: 219.8 kB / 0.7981 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01328/1.356, allocations: 3.943 MB / 0.8019 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006547/1.357, allocations: 19.98 kB / 0.802 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0328/1.389, allocations: 13.02 MB / 0.8147 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/1.389, allocations: 1.469 kB / 0.8147 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02839/1.418, allocations: 10.12 MB / 0.8246 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001676/1.42, allocations: 469.3 kB / 0.825 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001213/1.421, allocations: 7.188 kB / 0.825 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003001/1.424, allocations: 185.7 kB / 0.8252 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001408/1.425, allocations: 372.3 kB / 0.8255 GB, free: 101.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/1.425, allocations: 61.23 kB / 0.8256 GB, free: 101.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002334/1.428, allocations: 1.556 MB / 0.8271 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.428, allocations: 4 kB / 0.8271 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003805/1.432, allocations: 0.9066 MB / 0.828 GB, free: 100.8 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 () * 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.0005609/1.432, allocations: 285.6 kB / 0.8283 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01022/1.442, allocations: 5.275 MB / 0.8334 GB, free: 97.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.442, allocations: 5.344 kB / 0.8334 GB, free: 97.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009687/1.452, allocations: 3.157 MB / 0.8365 GB, free: 96.56 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/1.454, allocations: 179.3 kB / 0.8367 GB, free: 96.44 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007679/1.462, allocations: 4.63 MB / 0.8412 GB, free: 94.11 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/1.463, allocations: 1.819 MB / 0.843 GB, free: 93.32 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001273/1.465, allocations: 198.3 kB / 0.8432 GB, free: 93.29 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006174/1.465, allocations: 132.8 kB / 0.8433 GB, free: 93.27 MB / 0.5573 GB Notification: Performance of SimCode: time 2.234e-06/1.465, allocations: 0 / 0.8433 GB, free: 93.27 MB / 0.5573 GB Notification: Performance of Templates: time 0.06666/1.532, allocations: 44.11 MB / 0.8864 GB, free: 78.75 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)