Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.008261/0.008261, allocations: 171 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 221.3 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008243/0.0008243, allocations: 102.8 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06237/0.06237, allocations: 12.58 MB / 330.4 MB, free: 10.31 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4457/0.4457, allocations: 78.52 MB / 460 MB, free: 3.465 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00051/0.00051, allocations: 17.62 kB / 0.5285 GB, free: 35.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.146, allocations: 69.33 MB / 0.5962 GB, free: 3.816 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4559/0.602, allocations: 101.6 MB / 0.6954 GB, free: 35.62 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.6023, allocations: 69.39 kB / 0.6954 GB, free: 35.62 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.164/0.7663, allocations: 71.47 MB / 0.7652 GB, free: 18.03 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.7664, allocations: 3.938 kB / 0.7652 GB, free: 18.03 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001335/0.7665, allocations: 52.81 kB / 0.7653 GB, free: 18.02 MB / 474.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.01195/0.7785, allocations: 4.255 MB / 0.7695 GB, free: 15.69 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.7785, allocations: 11.8 kB / 0.7695 GB, free: 15.68 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009314/0.7879, allocations: 1.465 MB / 0.7709 GB, free: 15.14 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003881/0.7918, allocations: 1.754 MB / 0.7726 GB, free: 14.31 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003312/0.7921, allocations: 447.8 kB / 0.773 GB, free: 14 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003418/0.7925, allocations: 183.6 kB / 0.7732 GB, free: 14 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004312/0.7968, allocations: 2.406 MB / 0.7756 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.7969, allocations: 3.938 kB / 0.7756 GB, free: 13.44 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/0.7971, allocations: 72.78 kB / 0.7756 GB, free: 13.44 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/0.7971, allocations: 39.06 kB / 0.7757 GB, free: 13.44 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003995/0.8011, allocations: 2.425 MB / 0.778 GB, free: 13.11 MB / 474.7 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.01527/0.8164, allocations: 9.525 MB / 0.7873 GB, free: 8.133 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008674/0.8251, allocations: 4.725 MB / 0.792 GB, free: 3.648 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003281/0.8254, allocations: 45.91 kB / 0.792 GB, free: 3.605 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.8255, allocations: 56.56 kB / 0.7921 GB, free: 3.543 MB / 474.7 MB Notification: Performance of pre-optimization done (n=223): time 5.38e-06/0.8255, allocations: 4 kB / 0.7921 GB, free: 3.539 MB / 474.7 MB Notification: Performance of matching and sorting (n=223): time 0.09223/0.9177, allocations: 23.26 MB / 0.8148 GB, free: 12.22 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.9178, allocations: 77.41 kB / 0.8148 GB, free: 12.13 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004383/0.9222, allocations: 2.271 MB / 0.8171 GB, free: 9.855 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008147/0.9231, allocations: 57.7 kB / 0.8171 GB, free: 9.793 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/0.9241, allocations: 1.221 MB / 0.8183 GB, free: 8.559 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.00116/0.9252, allocations: 0.7815 MB / 0.8191 GB, free: 7.766 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.9254, allocations: 40 kB / 0.8191 GB, free: 7.727 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.9256, allocations: 390.1 kB / 0.8195 GB, free: 7.34 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002768/0.9284, allocations: 1.418 MB / 0.8209 GB, free: 5.918 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003088/0.9315, allocations: 1.694 MB / 0.8225 GB, free: 4.129 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.9343, allocations: 1.544 MB / 0.824 GB, free: 2.586 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.9343, allocations: 4 kB / 0.824 GB, free: 2.582 MB / 0.4949 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01971/0.954, allocations: 7.103 MB / 0.831 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.9541, allocations: 8 kB / 0.831 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.9541, allocations: 4 kB / 0.831 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01469/0.9688, allocations: 3.833 MB / 0.8347 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006913/0.9758, allocations: 1.502 MB / 0.8362 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03128/1.007, allocations: 19.54 MB / 0.8553 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004486/1.012, allocations: 369.8 kB / 0.8556 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002816/1.012, allocations: 79.97 kB / 0.8557 GB, free: 1.09 MB / 0.5261 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.001552/1.014, allocations: 476.3 kB / 0.8562 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007243/1.014, allocations: 312.1 kB / 0.8565 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02751/1.042, allocations: 9.63 MB / 0.8659 GB, free: 6.652 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.888e-05/1.042, allocations: 24 kB / 0.8659 GB, free: 6.629 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.042, allocations: 3.953 kB / 0.8659 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.493e-05/1.042, allocations: 15.95 kB / 0.8659 GB, free: 6.609 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 postOpt removeSimpleEquations (simulation): time 0.03408/1.076, allocations: 13.58 MB / 0.8792 GB, free: 8.805 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.017e-05/1.076, allocations: 0 / 0.8792 GB, free: 8.805 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/1.078, allocations: 223.7 kB / 0.8794 GB, free: 8.586 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01452/1.093, allocations: 4.68 MB / 0.8839 GB, free: 3.898 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007476/1.093, allocations: 44 kB / 0.884 GB, free: 3.855 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04534/1.139, allocations: 17.55 MB / 0.9011 GB, free: 2.156 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.139, allocations: 3.938 kB / 0.9011 GB, free: 2.152 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03551/1.174, allocations: 11.72 MB / 0.9126 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002241/1.177, allocations: 476.6 kB / 0.913 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001916/1.179, allocations: 40 kB / 0.9131 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004679/1.183, allocations: 223.8 kB / 0.9133 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002259/1.186, allocations: 374.3 kB / 0.9136 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005487/1.186, allocations: 59.98 kB / 0.9137 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.004468/1.191, allocations: 1.747 MB / 0.9154 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.044e-06/1.191, allocations: 0 / 0.9154 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005479/1.196, allocations: 1.01 MB / 0.9164 GB, free: 2.465 MB / 0.5886 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.001068/1.197, allocations: 322.8 kB / 0.9167 GB, free: 2.137 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.3024/1.5, allocations: 6.24 MB / 0.9228 GB, free: 166.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.5, allocations: 0 / 0.9228 GB, free: 166.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01109/1.511, allocations: 3.659 MB / 0.9264 GB, free: 165.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002981/1.514, allocations: 220.9 kB / 0.9266 GB, free: 165.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/1.526, allocations: 6.73 MB / 0.9331 GB, free: 163 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002068/1.528, allocations: 1.821 MB / 0.9349 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001537/1.529, allocations: 203.3 kB / 0.9351 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007439/1.53, allocations: 136.5 kB / 0.9353 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of SimCode: time 2.365e-06/1.53, allocations: 1.406 kB / 0.9353 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.0663/1.596, allocations: 49.18 MB / 0.9833 GB, free: 154 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)