Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.ThreeArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.006462/0.006462, allocations: 170.6 kB / 15.11 MB, free: 5.969 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.45/1.45, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.001027/0.001027, allocations: 94.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07609/0.07609, allocations: 12.19 MB / 330 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4466/0.4466, allocations: 78.53 MB / 459.6 MB, free: 3.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005342/0.0005342, allocations: 21.09 kB / 0.528 GB, free: 35.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1331, allocations: 69.25 MB / 0.5956 GB, free: 4.262 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.428/0.5611, allocations: 101.5 MB / 0.6947 GB, free: 35.62 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.5614, allocations: 84.38 kB / 0.6948 GB, free: 35.62 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1583/0.7197, allocations: 65.05 MB / 0.7583 GB, free: 21.33 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.7198, allocations: 0 / 0.7583 GB, free: 21.33 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003796/0.7202, allocations: 58.44 kB / 0.7584 GB, free: 21.32 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01513/0.7353, allocations: 4.592 MB / 0.7629 GB, free: 18.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.7354, allocations: 15.67 kB / 0.7629 GB, free: 18.78 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001326/0.7367, allocations: 292.7 kB / 0.7632 GB, free: 18.69 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.7469, allocations: 1.619 MB / 0.7647 GB, free: 18.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005708/0.7526, allocations: 1.709 MB / 0.7664 GB, free: 17.21 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006702/0.7533, allocations: 0.6834 MB / 0.7671 GB, free: 16.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/0.7544, allocations: 206.5 kB / 0.7673 GB, free: 16.67 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008264/0.7627, allocations: 3.214 MB / 0.7704 GB, free: 15.82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.858e-05/0.7628, allocations: 7.781 kB / 0.7704 GB, free: 15.81 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005938/0.7634, allocations: 82.84 kB / 0.7705 GB, free: 15.81 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.454e-05/0.7635, allocations: 53.83 kB / 0.7705 GB, free: 15.81 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006486/0.77, allocations: 3.019 MB / 0.7735 GB, free: 15.32 MB / 474.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.02076/0.7908, allocations: 10 MB / 0.7833 GB, free: 10.23 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/0.8014, allocations: 4.744 MB / 0.7879 GB, free: 7.812 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004431/0.8019, allocations: 41.67 kB / 0.7879 GB, free: 7.777 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/0.802, allocations: 59 kB / 0.788 GB, free: 7.727 MB / 474.7 MB Notification: Performance of pre-optimization done (n=242): time 5.511e-06/0.802, allocations: 0 / 0.788 GB, free: 7.727 MB / 474.7 MB Notification: Performance of matching and sorting (n=242): time 0.1004/0.9024, allocations: 28.48 MB / 0.8158 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.9026, allocations: 235.6 kB / 0.816 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00518/0.9078, allocations: 1.908 MB / 0.8179 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001071/0.9089, allocations: 69.7 kB / 0.818 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.9102, allocations: 1.2 MB / 0.8191 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001679/0.9119, allocations: 0.8276 MB / 0.8199 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005707/0.9124, allocations: 48 kB / 0.82 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002769/0.9127, allocations: 390.6 kB / 0.8204 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00447/0.9172, allocations: 1.871 MB / 0.8222 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004547/0.9218, allocations: 2.182 MB / 0.8243 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004199/0.926, allocations: 2.097 MB / 0.8264 GB, free: 452 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.926, allocations: 0 / 0.8264 GB, free: 452 kB / 0.4948 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.04047/0.9665, allocations: 14.33 MB / 0.8404 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001162/0.9677, allocations: 2.879 MB / 0.8432 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.9677, allocations: 4 kB / 0.8432 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01867/0.9864, allocations: 6.309 MB / 0.8493 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/0.9887, allocations: 375.5 kB / 0.8497 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06037/1.049, allocations: 26.03 MB / 0.8751 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00469/1.054, allocations: 0.5173 MB / 0.8756 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006929/1.055, allocations: 79.98 kB / 0.8757 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.055, allocations: 4 kB / 0.8757 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04007/1.095, allocations: 14 MB / 0.8894 GB, free: 15.37 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.265e-05/1.095, allocations: 15.88 kB / 0.8894 GB, free: 15.35 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01849/1.113, allocations: 6.309 MB / 0.8955 GB, free: 9.039 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/1.115, allocations: 359.5 kB / 0.8959 GB, free: 8.688 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3544/1.47, allocations: 26.01 MB / 0.9213 GB, free: 159.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004227/1.474, allocations: 0.4925 MB / 0.9218 GB, free: 159.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000366/1.474, allocations: 81.23 kB / 0.9218 GB, free: 159.2 MB / 0.5886 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.001409/1.476, allocations: 0.5836 MB / 0.9224 GB, free: 158.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006894/1.477, allocations: 305.4 kB / 0.9227 GB, free: 158.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04168/1.518, allocations: 14.51 MB / 0.9369 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.829e-05/1.518, allocations: 28.75 kB / 0.9369 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.609e-05/1.518, allocations: 18.41 kB / 0.9369 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.794e-05/1.518, allocations: 11.2 kB / 0.9369 GB, free: 158.7 MB / 0.5886 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.04248/1.561, allocations: 18.22 MB / 0.9547 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/1.561, allocations: 0 / 0.9547 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/1.563, allocations: 280.3 kB / 0.955 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01567/1.578, allocations: 6.047 MB / 0.9609 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005153/1.579, allocations: 47.67 kB / 0.961 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0467/1.626, allocations: 22.67 MB / 0.9831 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.626, allocations: 2.531 kB / 0.9831 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0434/1.669, allocations: 17.08 MB / 0.9998 GB, free: 138.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/1.67, allocations: 410.4 kB / 1 GB, free: 138 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001247/1.672, allocations: 51.89 kB / 1 GB, free: 137.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0036/1.675, allocations: 394.1 kB / 1.001 GB, free: 137.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002169/1.678, allocations: 0.5547 MB / 1.001 GB, free: 137.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004442/1.678, allocations: 63.23 kB / 1.001 GB, free: 137.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002844/1.681, allocations: 1.472 MB / 1.003 GB, free: 136 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.81e-07/1.681, allocations: 0 / 1.003 GB, free: 136 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00643/1.687, allocations: 1.764 MB / 1.004 GB, free: 134.3 MB / 0.5886 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.04346/1.731, allocations: 17.86 MB / 1.022 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02891/1.76, allocations: 11.93 MB / 1.033 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.76, allocations: 0 / 1.033 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01186/1.772, allocations: 4.78 MB / 1.038 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/1.774, allocations: 230.5 kB / 1.038 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/1.788, allocations: 11.96 MB / 1.05 GB, free: 93.73 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/1.79, allocations: 1.903 MB / 1.052 GB, free: 92.25 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001365/1.791, allocations: 273.3 kB / 1.052 GB, free: 92.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/1.792, allocations: 1.181 MB / 1.053 GB, free: 90.99 MB / 0.5886 GB Notification: Performance of SimCode: time 1.012e-06/1.792, allocations: 0 / 1.053 GB, free: 90.99 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4151/2.208, allocations: 94.52 MB / 1.146 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/2.208, allocations: 222.7 kB / 1.146 GB, free: 155 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.028/7.236, allocations: 3.797 kB / 1.146 GB, free: 155 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)