Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.000924/0.0009241, allocations: 172.5 kB / 7.646 MB, free: 1.422 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.218/1.218, allocations: 221.5 MB / 229.6 MB, free: 3.184 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.0008632/0.000863, allocations: 94.28 kB / 280.5 MB, free: 1.137 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.444/0.444, allocations: 78.94 MB / 410.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.568e-05/1.565e-05, allocations: 4 kB / 485.9 MB, free: 3.258 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3329, allocations: 69.52 MB / 0.5424 GB, free: 21.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.4657, allocations: 99.86 MB / 0.64 GB, free: 3.906 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.466, allocations: 79.95 kB / 0.64 GB, free: 3.828 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4614/0.9274, allocations: 67 MB / 0.7055 GB, free: 97.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.9275, allocations: 0 / 0.7055 GB, free: 97.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001487/0.9276, allocations: 63.56 kB / 0.7055 GB, free: 97.79 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01122/0.9388, allocations: 3.985 MB / 0.7094 GB, free: 95.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.9389, allocations: 9.875 kB / 0.7094 GB, free: 95.35 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009714/0.9486, allocations: 1.603 MB / 0.711 GB, free: 94.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003427/0.9521, allocations: 1.623 MB / 0.7126 GB, free: 93.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005255/0.9526, allocations: 0.6152 MB / 0.7132 GB, free: 92.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004333/0.9531, allocations: 130.4 kB / 0.7133 GB, free: 92.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003713/0.9568, allocations: 2.228 MB / 0.7155 GB, free: 91.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003583/0.9604, allocations: 2.268 MB / 0.7177 GB, free: 90.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.36e-05/0.9604, allocations: 3.938 kB / 0.7177 GB, free: 90.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/0.9607, allocations: 0 / 0.7177 GB, free: 90.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.066e-05/0.9607, allocations: 48 kB / 0.7177 GB, free: 90.22 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.01726/0.978, allocations: 9.692 MB / 0.7272 GB, free: 80.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008079/0.9861, allocations: 3.949 MB / 0.7311 GB, free: 76.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002075/0.9882, allocations: 1.452 MB / 0.7325 GB, free: 74.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002887/0.9885, allocations: 47.41 kB / 0.7325 GB, free: 74.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.9885, allocations: 56.56 kB / 0.7326 GB, free: 74.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 4.268e-06/0.9885, allocations: 0 / 0.7326 GB, free: 74.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.03409/1.023, allocations: 12.07 MB / 0.7444 GB, free: 62.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/1.023, allocations: 240.5 kB / 0.7446 GB, free: 62.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/1.025, allocations: 1.677 MB / 0.7462 GB, free: 60.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000615/1.026, allocations: 25.7 kB / 0.7463 GB, free: 60.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006583/1.027, allocations: 1.203 MB / 0.7474 GB, free: 59.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008682/1.027, allocations: 0.8043 MB / 0.7482 GB, free: 58.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/1.028, allocations: 0 / 0.7482 GB, free: 58.44 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/1.028, allocations: 390.6 kB / 0.7486 GB, free: 58.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/1.029, allocations: 1.188 MB / 0.7497 GB, free: 56.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/1.031, allocations: 1.472 MB / 0.7512 GB, free: 55.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/1.033, allocations: 1.298 MB / 0.7525 GB, free: 53.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/1.033, allocations: 7.938 kB / 0.7525 GB, free: 53.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.03358/1.067, allocations: 12.11 MB / 0.7643 GB, free: 41.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008959/1.068, allocations: 2.862 MB / 0.7671 GB, free: 38.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/1.068, allocations: 7.953 kB / 0.7671 GB, free: 38.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01496/1.083, allocations: 4.854 MB / 0.7718 GB, free: 33.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/1.085, allocations: 379.4 kB / 0.7722 GB, free: 33.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03434/1.119, allocations: 17.17 MB / 0.789 GB, free: 16.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00428/1.124, allocations: 473.8 kB / 0.7894 GB, free: 15.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003802/1.124, allocations: 91.97 kB / 0.7895 GB, free: 15.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/1.124, allocations: 4 kB / 0.7895 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03315/1.157, allocations: 11.79 MB / 0.801 GB, free: 3.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.858e-05/1.157, allocations: 8 kB / 0.801 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01458/1.172, allocations: 4.848 MB / 0.8058 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002049/1.174, allocations: 363.5 kB / 0.8061 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03854/1.213, allocations: 17.17 MB / 0.8229 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004162/1.217, allocations: 446 kB / 0.8233 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003404/1.217, allocations: 79.97 kB / 0.8234 GB, free: 12.73 MB / 0.5105 GB Warning: Assuming fixed start value for the following 7 variables: order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(start = order4_1.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * 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.0007461/1.218, allocations: 217.2 kB / 0.8236 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007993/1.219, allocations: 292.3 kB / 0.8239 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03711/1.256, allocations: 12.34 MB / 0.8359 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.681e-05/1.256, allocations: 24 kB / 0.8359 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.56e-05/1.256, allocations: 20 kB / 0.836 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.367e-05/1.256, allocations: 15.95 kB / 0.836 GB, free: 15.79 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 postOpt removeSimpleEquations (simulation): time 0.04388/1.3, allocations: 15.85 MB / 0.8514 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/1.3, allocations: 0 / 0.8514 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/1.302, allocations: 275.7 kB / 0.8517 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01533/1.317, allocations: 4.783 MB / 0.8564 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007223/1.318, allocations: 23.92 kB / 0.8564 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03495/1.353, allocations: 15.17 MB / 0.8712 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/1.353, allocations: 3.984 kB / 0.8712 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04223/1.395, allocations: 14.29 MB / 0.8852 GB, free: 13.15 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.397, allocations: 401.1 kB / 0.8856 GB, free: 12.73 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007275/1.397, allocations: 8 kB / 0.8856 GB, free: 12.73 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003083/1.4, allocations: 359.6 kB / 0.8859 GB, free: 12.38 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001881/1.402, allocations: 0.5564 MB / 0.8865 GB, free: 11.82 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002035/1.402, allocations: 63.94 kB / 0.8865 GB, free: 11.75 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001986/1.404, allocations: 1.264 MB / 0.8877 GB, free: 10.48 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.404, allocations: 0 / 0.8877 GB, free: 10.48 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005506/1.41, allocations: 1.599 MB / 0.8893 GB, free: 8.883 MB / 0.573 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 () * 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.0004944/1.411, allocations: 150.9 kB / 0.8895 GB, free: 8.723 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.3442/1.755, allocations: 9.703 MB / 0.8989 GB, free: 176.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.755, allocations: 2.688 kB / 0.8989 GB, free: 176.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01285/1.768, allocations: 3.969 MB / 0.9028 GB, free: 176 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/1.77, allocations: 195.2 kB / 0.903 GB, free: 176 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008359/1.778, allocations: 4.058 MB / 0.907 GB, free: 174.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/1.78, allocations: 1.896 MB / 0.9088 GB, free: 174.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002296/1.783, allocations: 445.5 kB / 0.9092 GB, free: 174.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/1.783, allocations: 112.5 kB / 0.9093 GB, free: 174.1 MB / 0.573 GB Notification: Performance of SimCode: time 1.733e-06/1.783, allocations: 1.062 kB / 0.9093 GB, free: 174.1 MB / 0.573 GB Notification: Performance of Templates: time 0.09345/1.876, allocations: 70.63 MB / 0.9783 GB, free: 132.2 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)