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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.345/1.345, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008531/0.000853, allocations: 83.61 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4518/0.4518, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.723e-05/2.725e-05, allocations: 4 kB / 492.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4121, allocations: 69.5 MB / 0.5491 GB, free: 19.63 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.5422, allocations: 100.6 MB / 0.6474 GB, free: 14.98 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.5426, allocations: 75.95 kB / 0.6474 GB, free: 14.91 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6991/1.242, allocations: 74.17 MB / 0.7199 GB, free: 87.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.276e-06/1.242, allocations: 0 / 0.7199 GB, free: 87.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003092/1.242, allocations: 48 kB / 0.7199 GB, free: 87.87 MB / 490.7 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.0151/1.257, allocations: 3.463 MB / 0.7233 GB, free: 84.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/1.257, allocations: 11.97 kB / 0.7233 GB, free: 84.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/1.272, allocations: 1.457 MB / 0.7247 GB, free: 82.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006017/1.278, allocations: 1.728 MB / 0.7264 GB, free: 81.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/1.278, allocations: 458.7 kB / 0.7269 GB, free: 80.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003758/1.279, allocations: 183.9 kB / 0.727 GB, free: 80.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003574/1.282, allocations: 2.022 MB / 0.729 GB, free: 78.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/1.282, allocations: 0 / 0.729 GB, free: 78.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/1.282, allocations: 76 kB / 0.7291 GB, free: 78.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/1.282, allocations: 40 kB / 0.7291 GB, free: 78.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003178/1.286, allocations: 2.049 MB / 0.7311 GB, free: 76.21 MB / 490.7 MB 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.01482/1.3, allocations: 9.52 MB / 0.7404 GB, free: 66.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008098/1.309, allocations: 4.331 MB / 0.7446 GB, free: 61.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002142/1.311, allocations: 1.359 MB / 0.746 GB, free: 60.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/1.311, allocations: 41.95 kB / 0.746 GB, free: 60.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/1.311, allocations: 48.56 kB / 0.7461 GB, free: 60.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=223): time 5.54e-06/1.311, allocations: 4 kB / 0.7461 GB, free: 60.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=223): time 0.02279/1.334, allocations: 8.279 MB / 0.7542 GB, free: 51.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/1.334, allocations: 81.36 kB / 0.7542 GB, free: 51.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003815/1.338, allocations: 2.24 MB / 0.7564 GB, free: 49.58 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007715/1.339, allocations: 61.7 kB / 0.7565 GB, free: 49.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007536/1.339, allocations: 1.233 MB / 0.7577 GB, free: 48.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008949/1.34, allocations: 0.7776 MB / 0.7584 GB, free: 47.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/1.34, allocations: 43.94 kB / 0.7585 GB, free: 47.44 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/1.34, allocations: 398.2 kB / 0.7589 GB, free: 47.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/1.342, allocations: 1.055 MB / 0.7599 GB, free: 45.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/1.344, allocations: 1.335 MB / 0.7612 GB, free: 44.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/1.346, allocations: 1.185 MB / 0.7624 GB, free: 43.37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/1.346, allocations: 8 kB / 0.7624 GB, free: 43.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01628/1.362, allocations: 6.131 MB / 0.7683 GB, free: 37.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/1.362, allocations: 4 kB / 0.7684 GB, free: 37.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/1.362, allocations: 8 kB / 0.7684 GB, free: 37.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01252/1.374, allocations: 3.299 MB / 0.7716 GB, free: 33.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006813/1.381, allocations: 1.498 MB / 0.773 GB, free: 32.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02239/1.404, allocations: 17.61 MB / 0.7902 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004144/1.408, allocations: 377.9 kB / 0.7906 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004288/1.408, allocations: 79.97 kB / 0.7907 GB, free: 13.3 MB / 490.7 MB 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.0006039/1.409, allocations: 237.8 kB / 0.7909 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008517/1.41, allocations: 312.1 kB / 0.7912 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02315/1.433, allocations: 8.588 MB / 0.7996 GB, free: 4.141 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-05/1.433, allocations: 23.95 kB / 0.7996 GB, free: 4.117 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.433, allocations: 0 / 0.7996 GB, free: 4.117 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.233e-05/1.433, allocations: 11.95 kB / 0.7996 GB, free: 4.105 MB / 490.7 MB 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.03099/1.464, allocations: 12.54 MB / 0.8119 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/1.464, allocations: 0 / 0.8119 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/1.466, allocations: 215.7 kB / 0.8121 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01289/1.479, allocations: 3.98 MB / 0.816 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007443/1.48, allocations: 51.94 kB / 0.816 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02957/1.509, allocations: 13.21 MB / 0.8289 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/1.509, allocations: 4 kB / 0.8289 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03029/1.54, allocations: 10.32 MB / 0.839 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001788/1.542, allocations: 472.6 kB / 0.8394 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006781/1.542, allocations: 44 kB / 0.8395 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002732/1.545, allocations: 223.8 kB / 0.8397 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001349/1.546, allocations: 386.1 kB / 0.8401 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000177/1.547, allocations: 48 kB / 0.8401 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002805/1.549, allocations: 1.725 MB / 0.8418 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/1.549, allocations: 0 / 0.8418 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003497/1.553, allocations: 0.995 MB / 0.8428 GB, free: 7.477 MB / 0.5261 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.0006655/1.554, allocations: 321.7 kB / 0.8431 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01191/1.565, allocations: 5.466 MB / 0.8484 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/1.566, allocations: 0 / 0.8484 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0092/1.575, allocations: 3.255 MB / 0.8516 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/1.577, allocations: 218.1 kB / 0.8518 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008838/1.586, allocations: 4.745 MB / 0.8564 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/1.587, allocations: 1.821 MB / 0.8582 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001254/1.589, allocations: 199.4 kB / 0.8584 GB, free: 7.098 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006685/1.589, allocations: 135.4 kB / 0.8585 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of SimCode: time 1.072e-06/1.589, allocations: 4 kB / 0.8585 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of Templates: time 0.4439/2.033, allocations: 49.62 MB / 0.907 GB, free: 167.7 MB / 0.573 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)