Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007433/0.007432, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.369/1.369, allocations: 223.2 MB / 239 MB, free: 1.809 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.0009324/0.0009324, allocations: 106.8 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4873/0.4873, allocations: 78.53 MB / 419.8 MB, free: 43.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003879, allocations: 12 kB / 499.8 MB, free: 2.672 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.452, allocations: 69.35 MB / 0.5558 GB, free: 38.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.5854, allocations: 99.31 MB / 0.6528 GB, free: 7.078 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/0.5858, allocations: 79.95 kB / 0.6529 GB, free: 7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1627/0.7486, allocations: 62.26 MB / 0.7137 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.605e-06/0.7486, allocations: 0 / 0.7137 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001388/0.7488, allocations: 48 kB / 0.7137 GB, free: 8.332 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01423/0.763, allocations: 4.318 MB / 0.7179 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.7631, allocations: 12.03 kB / 0.7179 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00121/0.7643, allocations: 290.4 kB / 0.7182 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.7747, allocations: 1.584 MB / 0.7198 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004974/0.7797, allocations: 1.507 MB / 0.7212 GB, free: 492 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007976/0.7806, allocations: 0.6748 MB / 0.7219 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007221/0.7813, allocations: 196 kB / 0.7221 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006462/0.7878, allocations: 3.09 MB / 0.7251 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.7879, allocations: 3.938 kB / 0.7251 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/0.7881, allocations: 83.94 kB / 0.7252 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.933e-05/0.7882, allocations: 51.94 kB / 0.7252 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006167/0.7943, allocations: 2.885 MB / 0.728 GB, free: 9.383 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.02032/0.8147, allocations: 9.718 MB / 0.7375 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/0.8268, allocations: 4.807 MB / 0.7422 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005252/0.8274, allocations: 41.95 kB / 0.7423 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.381e-05/0.8274, allocations: 56.56 kB / 0.7423 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=230): time 6.021e-06/0.8275, allocations: 4 kB / 0.7423 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=230): time 0.4184/1.246, allocations: 31.78 MB / 0.7734 GB, free: 121.3 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/1.246, allocations: 128.1 kB / 0.7735 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/1.248, allocations: 1.697 MB / 0.7751 GB, free: 121 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000635/1.249, allocations: 61.23 kB / 0.7752 GB, free: 121 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000746/1.25, allocations: 1.127 MB / 0.7763 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008273/1.251, allocations: 0.7882 MB / 0.7771 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/1.251, allocations: 43.12 kB / 0.7771 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.251, allocations: 388.8 kB / 0.7775 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003544/1.255, allocations: 1.816 MB / 0.7792 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003907/1.258, allocations: 2.123 MB / 0.7813 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003623/1.262, allocations: 1.934 MB / 0.7832 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/1.262, allocations: 2.594 kB / 0.7832 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.0405/1.303, allocations: 14.21 MB / 0.7971 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006424/1.303, allocations: 2.738 MB / 0.7998 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/1.303, allocations: 7.031 kB / 0.7998 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02114/1.325, allocations: 6.512 MB / 0.8061 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/1.327, allocations: 315.3 kB / 0.8064 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.061/1.388, allocations: 27.85 MB / 0.8336 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003797/1.391, allocations: 495.2 kB / 0.8341 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003192/1.392, allocations: 75.77 kB / 0.8342 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/1.392, allocations: 5 kB / 0.8342 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03732/1.429, allocations: 13.89 MB / 0.8477 GB, free: 106.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.055e-05/1.429, allocations: 6 kB / 0.8477 GB, free: 106.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01825/1.447, allocations: 6.522 MB / 0.8541 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/1.449, allocations: 297.3 kB / 0.8544 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05718/1.506, allocations: 27.84 MB / 0.8816 GB, free: 80.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003665/1.51, allocations: 470.4 kB / 0.882 GB, free: 80.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002835/1.51, allocations: 79.27 kB / 0.8821 GB, free: 80.11 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.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 (189): * 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): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001303/1.512, allocations: 486.4 kB / 0.8826 GB, free: 79.64 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005783/1.512, allocations: 276.3 kB / 0.8828 GB, free: 79.37 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0356/1.548, allocations: 14.32 MB / 0.8968 GB, free: 68.31 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/1.548, allocations: 24 kB / 0.8968 GB, free: 68.29 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.483e-05/1.548, allocations: 16 kB / 0.8969 GB, free: 68.27 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.894e-05/1.548, allocations: 14.55 kB / 0.8969 GB, free: 68.27 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.04094/1.589, allocations: 17.86 MB / 0.9143 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/1.589, allocations: 3.953 kB / 0.9143 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/1.591, allocations: 255.6 kB / 0.9146 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01606/1.607, allocations: 6.084 MB / 0.9205 GB, free: 46.89 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007261/1.608, allocations: 44 kB / 0.9205 GB, free: 46.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04544/1.653, allocations: 22.65 MB / 0.9427 GB, free: 24.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.653, allocations: 4 kB / 0.9427 GB, free: 24.05 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04028/1.693, allocations: 16.87 MB / 0.9591 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009901/1.695, allocations: 385.3 kB / 0.9595 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005213/1.695, allocations: 46.62 kB / 0.9596 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002654/1.698, allocations: 359.7 kB / 0.9599 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001739/1.699, allocations: 0.5488 MB / 0.9604 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/1.7, allocations: 59.98 kB / 0.9605 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001512/1.701, allocations: 1.314 MB / 0.9618 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/1.701, allocations: 0 / 0.9618 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004361/1.706, allocations: 1.723 MB / 0.9635 GB, free: 2.676 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * 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 (149): * Single equations (assignments): 148 * 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: 1 {(66,7.7%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04534/1.751, allocations: 17.76 MB / 0.9808 GB, free: 0.8711 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2922/2.043, allocations: 11.63 MB / 0.9922 GB, free: 131.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/2.043, allocations: 2.594 kB / 0.9922 GB, free: 131.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01246/2.056, allocations: 4.639 MB / 0.9967 GB, free: 131.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/2.058, allocations: 194.6 kB / 0.9969 GB, free: 131.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/2.07, allocations: 11.76 MB / 1.008 GB, free: 123.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/2.071, allocations: 1.797 MB / 1.01 GB, free: 122.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001139/2.072, allocations: 206.6 kB / 1.01 GB, free: 122.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/2.073, allocations: 1.093 MB / 1.011 GB, free: 122.8 MB / 0.573 GB Notification: Performance of SimCode: time 9.32e-07/2.073, allocations: 4 kB / 1.011 GB, free: 122.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.14/2.213, allocations: 92.71 MB / 1.102 GB, free: 87.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001251/2.213, allocations: 216.5 kB / 1.102 GB, free: 87.06 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.341/7.554, allocations: 0 / 1.102 GB, free: 87.06 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)