Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.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.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007513/0.007513, allocations: 171.2 kB / 15.11 MB, free: 5.969 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.239/1.239, 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.0008301/0.0008301, allocations: 93.42 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4519/0.4519, allocations: 78.59 MB / 419.9 MB, free: 44.24 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 12 kB / 499.8 MB, free: 2.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3754, allocations: 69.35 MB / 0.5558 GB, free: 38.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1239/0.4993, allocations: 99.89 MB / 0.6533 GB, free: 6.617 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.4996, allocations: 79.95 kB / 0.6534 GB, free: 6.539 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1697/0.6693, allocations: 66.85 MB / 0.7187 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6694, allocations: 0 / 0.7187 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002968/0.6697, allocations: 63.94 kB / 0.7187 GB, free: 3.25 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01467/0.6844, allocations: 4.578 MB / 0.7232 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.6844, allocations: 19.95 kB / 0.7232 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/0.6949, allocations: 1.607 MB / 0.7248 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004739/0.6997, allocations: 1.697 MB / 0.7265 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007321/0.7004, allocations: 0.6945 MB / 0.7271 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009309/0.7014, allocations: 207.9 kB / 0.7273 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008398/0.7098, allocations: 3.224 MB / 0.7305 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.304e-05/0.7099, allocations: 0 / 0.7305 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004662/0.7103, allocations: 80 kB / 0.7306 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.634e-05/0.7104, allocations: 52 kB / 0.7306 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006484/0.7169, allocations: 3.022 MB / 0.7336 GB, free: 3.707 MB / 0.5261 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.01832/0.7352, allocations: 9.989 MB / 0.7433 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/0.7463, allocations: 4.754 MB / 0.748 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003051/0.7467, allocations: 49.98 kB / 0.748 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.7467, allocations: 56.56 kB / 0.7481 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=242): time 4.017e-06/0.7467, allocations: 0 / 0.7481 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=242): time 0.3713/1.118, allocations: 28.47 MB / 0.7759 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.842e-05/1.118, allocations: 241.9 kB / 0.7761 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/1.121, allocations: 1.901 MB / 0.778 GB, free: 119 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006294/1.122, allocations: 66.48 kB / 0.778 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007792/1.123, allocations: 1.196 MB / 0.7792 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008706/1.123, allocations: 0.831 MB / 0.78 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/1.124, allocations: 46.12 kB / 0.78 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.124, allocations: 398.7 kB / 0.7804 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003593/1.127, allocations: 1.868 MB / 0.7822 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003792/1.131, allocations: 2.183 MB / 0.7844 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003717/1.135, allocations: 2.097 MB / 0.7864 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.497e-06/1.135, allocations: 2.969 kB / 0.7864 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.03969/1.175, allocations: 14.32 MB / 0.8004 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005645/1.175, allocations: 2.871 MB / 0.8032 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/1.175, allocations: 7.219 kB / 0.8032 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01984/1.195, allocations: 6.302 MB / 0.8094 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/1.197, allocations: 373.6 kB / 0.8097 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05677/1.254, allocations: 26.03 MB / 0.8352 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003758/1.258, allocations: 0.5148 MB / 0.8357 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002548/1.258, allocations: 84.48 kB / 0.8357 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/1.258, allocations: 7.047 kB / 0.8357 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03569/1.294, allocations: 14 MB / 0.8494 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.049e-05/1.294, allocations: 11.45 kB / 0.8494 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01701/1.311, allocations: 6.309 MB / 0.8556 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/1.313, allocations: 361 kB / 0.8559 GB, free: 102.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0536/1.367, allocations: 26.02 MB / 0.8813 GB, free: 80.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003766/1.371, allocations: 0.4902 MB / 0.8818 GB, free: 79.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003305/1.371, allocations: 83.89 kB / 0.8819 GB, free: 79.63 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (208): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 4 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.00144/1.372, allocations: 0.58 MB / 0.8825 GB, free: 79.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007334/1.373, allocations: 300.3 kB / 0.8828 GB, free: 78.78 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03749/1.411, allocations: 14.52 MB / 0.8969 GB, free: 67.55 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/1.411, allocations: 24 kB / 0.897 GB, free: 67.52 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.538e-05/1.411, allocations: 17.64 kB / 0.897 GB, free: 67.51 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.912e-05/1.411, allocations: 17.7 kB / 0.897 GB, free: 67.5 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.04163/1.452, allocations: 18.22 MB / 0.9148 GB, free: 51.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/1.452, allocations: 0 / 0.9148 GB, free: 51.87 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/1.454, allocations: 283.7 kB / 0.9151 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01571/1.47, allocations: 6.044 MB / 0.921 GB, free: 45.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007025/1.471, allocations: 51.98 kB / 0.921 GB, free: 45.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04631/1.517, allocations: 22.66 MB / 0.9431 GB, free: 22.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.517, allocations: 0 / 0.9431 GB, free: 22.76 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04222/1.559, allocations: 17.09 MB / 0.9598 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.56, allocations: 412.1 kB / 0.9602 GB, free: 5.184 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006502/1.561, allocations: 44 kB / 0.9603 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00287/1.564, allocations: 395.7 kB / 0.9606 GB, free: 4.754 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001825/1.566, allocations: 0.5488 MB / 0.9612 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/1.566, allocations: 70.67 kB / 0.9612 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002043/1.568, allocations: 1.476 MB / 0.9627 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.11e-07/1.568, allocations: 0 / 0.9627 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004988/1.573, allocations: 1.754 MB / 0.9644 GB, free: 0.9102 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * 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 (163): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 2 * 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: 1 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004236/1.573, allocations: 192.4 kB / 0.9646 GB, free: 0.7188 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03101/1.604, allocations: 11.92 MB / 0.9762 GB, free: 4.676 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.605, allocations: 4.562 kB / 0.9762 GB, free: 4.672 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01296/1.617, allocations: 4.771 MB / 0.9809 GB, free: 15.87 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/1.619, allocations: 233.1 kB / 0.9811 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009385/1.629, allocations: 6.483 MB / 0.9874 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/1.63, allocations: 1.889 MB / 0.9893 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001331/1.631, allocations: 272.9 kB / 0.9895 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005343/1.632, allocations: 139.4 kB / 0.9897 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/1.632, allocations: 0 / 0.9897 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of Templates: time 0.3413/1.973, allocations: 72.13 MB / 1.06 GB, free: 137.7 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)