Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.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/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/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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006797/0.006797, allocations: 170.8 kB / 15.11 MB, free: 5.984 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.36/1.36, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0008077/0.0008078, allocations: 90.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/package.mo): time 0.05885/0.05885, allocations: 12.2 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4165/0.4165, allocations: 78.53 MB / 459.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004926, allocations: 22.69 kB / 0.528 GB, free: 35.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.125, allocations: 69.24 MB / 0.5956 GB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3676/0.4927, allocations: 102.6 MB / 0.6958 GB, free: 99.19 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.493, allocations: 80.02 kB / 0.6959 GB, free: 99.19 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2027/0.6957, allocations: 95.83 MB / 0.7895 GB, free: 19.61 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.706e-06/0.6957, allocations: 0 / 0.7895 GB, free: 19.61 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001864/0.6959, allocations: 95.88 kB / 0.7896 GB, free: 19.52 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: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.0181/0.714, allocations: 6.531 MB / 0.796 GB, free: 12.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.7141, allocations: 15.98 kB / 0.796 GB, free: 12.88 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001611/0.7157, allocations: 488.7 kB / 0.7965 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01667/0.7324, allocations: 2.803 MB / 0.7992 GB, free: 9.582 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005561/0.738, allocations: 2.302 MB / 0.8014 GB, free: 7.203 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006626/0.7387, allocations: 0.9634 MB / 0.8024 GB, free: 6.109 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007575/0.7394, allocations: 336 kB / 0.8027 GB, free: 5.781 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008439/0.7479, allocations: 4.938 MB / 0.8075 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.719e-05/0.748, allocations: 3.953 kB / 0.8075 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003481/0.7483, allocations: 144 kB / 0.8077 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.842e-05/0.7484, allocations: 84 kB / 0.8077 GB, free: 0.582 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009278/0.7577, allocations: 4.505 MB / 0.8121 GB, free: 12.07 MB / 490.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.03493/0.7926, allocations: 18.62 MB / 0.8303 GB, free: 8.254 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01303/0.8057, allocations: 5.65 MB / 0.8359 GB, free: 2.52 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006101/0.8064, allocations: 70.88 kB / 0.8359 GB, free: 2.449 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.031e-05/0.8064, allocations: 69.53 kB / 0.836 GB, free: 2.371 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=379): time 7.124e-06/0.8065, allocations: 3.938 kB / 0.836 GB, free: 2.367 MB / 0.4949 GB Notification: Performance of matching and sorting (n=379): time 0.2915/1.098, allocations: 76.59 MB / 0.9108 GB, free: 5.602 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/1.098, allocations: 171.5 kB / 0.911 GB, free: 5.402 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004313/1.102, allocations: 2.706 MB / 0.9136 GB, free: 2.684 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009821/1.103, allocations: 85.7 kB / 0.9137 GB, free: 2.594 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001461/1.105, allocations: 1.998 MB / 0.9156 GB, free: 0.5781 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.2874/1.392, allocations: 1.279 MB / 0.9169 GB, free: 128 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003113/1.393, allocations: 68.56 kB / 0.9169 GB, free: 128 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001986/1.393, allocations: 442.3 kB / 0.9174 GB, free: 127.7 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00497/1.398, allocations: 2.651 MB / 0.92 GB, free: 127.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005318/1.403, allocations: 3.236 MB / 0.9231 GB, free: 127.2 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005147/1.408, allocations: 2.902 MB / 0.9259 GB, free: 127.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/1.408, allocations: 2.062 kB / 0.9259 GB, free: 127.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.05447/1.463, allocations: 20.1 MB / 0.9456 GB, free: 126.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001496/1.464, allocations: 6.679 MB / 0.9521 GB, free: 119.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.246e-05/1.464, allocations: 19.75 kB / 0.9521 GB, free: 119.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02477/1.489, allocations: 8.504 MB / 0.9604 GB, free: 119.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002869/1.492, allocations: 0.5342 MB / 0.961 GB, free: 119.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08273/1.575, allocations: 36.88 MB / 0.997 GB, free: 108 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006023/1.581, allocations: 0.6903 MB / 0.9976 GB, free: 107.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/1.582, allocations: 127.7 kB / 0.9978 GB, free: 107.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.582, allocations: 4 kB / 0.9978 GB, free: 107.4 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0519/1.634, allocations: 19.67 MB / 1.017 GB, free: 92.24 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-05/1.634, allocations: 16 kB / 1.017 GB, free: 92.22 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02441/1.659, allocations: 8.497 MB / 1.025 GB, free: 85.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002856/1.661, allocations: 0.5335 MB / 1.026 GB, free: 85.31 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08016/1.742, allocations: 36.86 MB / 1.062 GB, free: 54.01 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00672/1.748, allocations: 0.6569 MB / 1.062 GB, free: 53.52 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/1.75, allocations: 127.3 kB / 1.063 GB, free: 53.4 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (320): * Single equations (assignments): 317 * 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: 0 * Non-linear torn systems: 1 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.003575/1.753, allocations: 0.7311 MB / 1.063 GB, free: 52.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00197/1.755, allocations: 458.3 kB / 1.064 GB, free: 52.24 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05434/1.81, allocations: 20.43 MB / 1.084 GB, free: 35.09 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-05/1.81, allocations: 36 kB / 1.084 GB, free: 35.06 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.854e-05/1.81, allocations: 31.95 kB / 1.084 GB, free: 35.03 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000112/1.81, allocations: 19.44 kB / 1.084 GB, free: 35.01 MB / 0.573 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.06409/1.874, allocations: 25.67 MB / 1.109 GB, free: 9.316 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.235e-05/1.874, allocations: 6.609 kB / 1.109 GB, free: 9.312 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002481/1.877, allocations: 399.5 kB / 1.109 GB, free: 8.922 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02393/1.9, allocations: 8.553 MB / 1.118 GB, free: 364 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00111/1.902, allocations: 67.98 kB / 1.118 GB, free: 296 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3582/2.26, allocations: 32.26 MB / 1.149 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/2.26, allocations: 2 kB / 1.149 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06398/2.324, allocations: 24.07 MB / 1.173 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/2.326, allocations: 0.5573 MB / 1.173 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000867/2.326, allocations: 61.25 kB / 1.173 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003805/2.33, allocations: 490.5 kB / 1.174 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002606/2.333, allocations: 0.7655 MB / 1.174 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002785/2.333, allocations: 91.47 kB / 1.175 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002672/2.336, allocations: 2.074 MB / 1.177 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.22e-07/2.336, allocations: 0 / 1.177 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.007484/2.343, allocations: 2.865 MB / 1.179 GB, free: 148.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.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 (249): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 1 * 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 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05868/2.402, allocations: 24.8 MB / 1.204 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.04453/2.447, allocations: 16.91 MB / 1.22 GB, free: 143.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/2.447, allocations: 4.125 kB / 1.22 GB, free: 143.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01929/2.466, allocations: 6.901 MB / 1.227 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003929/2.47, allocations: 311.9 kB / 1.227 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02706/2.497, allocations: 21.04 MB / 1.248 GB, free: 117.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002805/2.5, allocations: 2.587 MB / 1.25 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002764/2.503, allocations: 365.8 kB / 1.251 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002569/2.505, allocations: 1.962 MB / 1.252 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.383e-06/2.505, allocations: 0 / 1.252 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4716/2.977, allocations: 139.4 MB / 1.389 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/2.977, allocations: 213.4 kB / 1.389 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/9.997, allocations: 0 / 1.389 GB, free: 145.3 MB / 0.6042 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)