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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI",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.0009996/0.0009996, allocations: 174.3 kB / 7.648 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.322/1.322, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.001031/0.001031, allocations: 98.2 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4692/0.4692, allocations: 78.95 MB / 410.2 MB, free: 6.023 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.592e-05/2.598e-05, allocations: 0 / 486 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1297, allocations: 69.52 MB / 0.5425 GB, free: 5.801 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3795/0.5093, allocations: 99.84 MB / 0.64 GB, free: 14.2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.5096, allocations: 77.09 kB / 0.6401 GB, free: 14.12 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1748/0.6844, allocations: 67.02 MB / 0.7056 GB, free: 11 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6844, allocations: 0 / 0.7056 GB, free: 11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003568/0.6848, allocations: 59.94 kB / 0.7056 GB, free: 10.94 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.01373/0.6985, allocations: 3.995 MB / 0.7095 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.6986, allocations: 8.031 kB / 0.7095 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/0.709, allocations: 1.596 MB / 0.7111 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003919/0.7129, allocations: 1.635 MB / 0.7127 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006936/0.7136, allocations: 0.6124 MB / 0.7133 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006047/0.7143, allocations: 127.9 kB / 0.7134 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004211/0.7185, allocations: 2.218 MB / 0.7156 GB, free: 500 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004115/0.7226, allocations: 2.276 MB / 0.7178 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/0.7227, allocations: 3.984 kB / 0.7178 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/0.7229, allocations: 0 / 0.7178 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/0.7229, allocations: 52.94 kB / 0.7178 GB, free: 14.08 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 preOpt removeSimpleEquations (simulation): time 0.01819/0.7411, allocations: 9.689 MB / 0.7273 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009205/0.7504, allocations: 3.943 MB / 0.7312 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00255/0.7529, allocations: 1.456 MB / 0.7326 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/0.7532, allocations: 46.05 kB / 0.7326 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.55e-05/0.7533, allocations: 60.5 kB / 0.7327 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=242): time 4.739e-06/0.7533, allocations: 3.938 kB / 0.7327 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=242): time 0.03756/0.7909, allocations: 12.06 MB / 0.7445 GB, free: 2.211 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.791, allocations: 231.6 kB / 0.7447 GB, free: 1.938 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002988/0.794, allocations: 1.688 MB / 0.7463 GB, free: 248 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006182/0.7947, allocations: 26.36 kB / 0.7464 GB, free: 216 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009559/0.7956, allocations: 1.211 MB / 0.7475 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001041/0.7967, allocations: 0.8004 MB / 0.7483 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.7969, allocations: 4 kB / 0.7483 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.7971, allocations: 386.6 kB / 0.7487 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/0.7991, allocations: 1.176 MB / 0.7498 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.8012, allocations: 1.48 MB / 0.7513 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/0.8034, allocations: 1.311 MB / 0.7526 GB, free: 9.684 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.8034, allocations: 0 / 0.7526 GB, free: 9.684 MB / 0.5573 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.3184/1.122, allocations: 12.11 MB / 0.7644 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005206/1.122, allocations: 2.859 MB / 0.7672 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/1.122, allocations: 9.656 kB / 0.7672 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01445/1.137, allocations: 4.847 MB / 0.7719 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/1.139, allocations: 375.1 kB / 0.7723 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05252/1.191, allocations: 17.17 MB / 0.7891 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005123/1.197, allocations: 477.4 kB / 0.7895 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004601/1.197, allocations: 85.45 kB / 0.7896 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/1.197, allocations: 7.094 kB / 0.7896 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05435/1.251, allocations: 11.79 MB / 0.8011 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.887e-05/1.252, allocations: 7.438 kB / 0.8011 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02501/1.277, allocations: 4.855 MB / 0.8059 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003133/1.28, allocations: 365.9 kB / 0.8062 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04983/1.33, allocations: 17.16 MB / 0.823 GB, free: 101.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003667/1.333, allocations: 455.4 kB / 0.8234 GB, free: 101.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000347/1.334, allocations: 76.92 kB / 0.8235 GB, free: 101.7 MB / 0.5573 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.0006776/1.334, allocations: 212.5 kB / 0.8237 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03325/1.368, allocations: 12.07 MB / 0.8355 GB, free: 99.25 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/1.369, allocations: 298.2 kB / 0.8357 GB, free: 99.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03296/1.402, allocations: 12.34 MB / 0.8478 GB, free: 96.69 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.974e-05/1.402, allocations: 27.38 kB / 0.8478 GB, free: 96.69 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-05/1.402, allocations: 23.48 kB / 0.8478 GB, free: 96.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.284e-05/1.402, allocations: 13.5 kB / 0.8479 GB, free: 96.68 MB / 0.5573 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.03694/1.439, allocations: 15.85 MB / 0.8633 GB, free: 90.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/1.439, allocations: 0 / 0.8633 GB, free: 90.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/1.441, allocations: 280.5 kB / 0.8636 GB, free: 90.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01341/1.454, allocations: 4.781 MB / 0.8683 GB, free: 86.43 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005326/1.455, allocations: 20.69 kB / 0.8683 GB, free: 86.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02941/1.484, allocations: 15.17 MB / 0.8831 GB, free: 72.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/1.484, allocations: 4.656 kB / 0.8831 GB, free: 72.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03578/1.52, allocations: 14.29 MB / 0.8971 GB, free: 61.28 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009022/1.521, allocations: 407 kB / 0.8975 GB, free: 60.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005809/1.521, allocations: 11.61 kB / 0.8975 GB, free: 60.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002935/1.524, allocations: 356 kB / 0.8978 GB, free: 60.65 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00165/1.526, allocations: 0.5476 MB / 0.8983 GB, free: 60.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001868/1.526, allocations: 63.56 kB / 0.8984 GB, free: 60.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001523/1.528, allocations: 1.263 MB / 0.8996 GB, free: 59.14 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.528, allocations: 0 / 0.8996 GB, free: 59.14 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004343/1.532, allocations: 1.597 MB / 0.9012 GB, free: 57.62 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 () * 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.03587/1.568, allocations: 15.02 MB / 0.9159 GB, free: 45.21 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02405/1.592, allocations: 9.711 MB / 0.9253 GB, free: 36.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/1.592, allocations: 0.5625 kB / 0.9253 GB, free: 36.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01046/1.603, allocations: 3.967 MB / 0.9292 GB, free: 32.89 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/1.604, allocations: 196 kB / 0.9294 GB, free: 32.71 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007616/1.612, allocations: 4.449 MB / 0.9337 GB, free: 28.77 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/1.613, allocations: 1.894 MB / 0.9356 GB, free: 27.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001657/1.615, allocations: 446.1 kB / 0.936 GB, free: 27.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/1.616, allocations: 1.157 MB / 0.9372 GB, free: 25.96 MB / 0.5573 GB Notification: Performance of SimCode: time 5.01e-07/1.616, allocations: 4 kB / 0.9372 GB, free: 25.95 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4026/2.018, allocations: 93.26 MB / 1.028 GB, free: 125.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001288/2.019, allocations: 140.4 kB / 1.028 GB, free: 125.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.1/7.119, allocations: 0 / 1.028 GB, free: 125.4 MB / 0.573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)