Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_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.006563/0.006563, allocations: 170.3 kB / 15.11 MB, free: 6.039 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.489/1.489, allocations: 223.2 MB / 239 MB, free: 1.805 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.000922/0.0009219, allocations: 98.72 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4989/0.4989, allocations: 79.44 MB / 420.8 MB, free: 43.67 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005525/0.0005526, allocations: 8 kB / 0.4891 GB, free: 1.918 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4151, allocations: 69.5 MB / 0.557 GB, free: 38.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1375/0.5527, allocations: 99.76 MB / 0.6544 GB, free: 5.797 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.553, allocations: 85.78 kB / 0.6545 GB, free: 5.715 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1764/0.7294, allocations: 67.56 MB / 0.7205 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7295, allocations: 0 / 0.7205 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003218/0.7298, allocations: 59.94 kB / 0.7205 GB, free: 1.727 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01611/0.7459, allocations: 4.59 MB / 0.725 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.746, allocations: 12.02 kB / 0.725 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00122/0.7472, allocations: 299.1 kB / 0.7253 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.7576, allocations: 1.607 MB / 0.7269 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005147/0.7628, allocations: 1.693 MB / 0.7285 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007952/0.7636, allocations: 0.6905 MB / 0.7292 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009769/0.7646, allocations: 207.9 kB / 0.7294 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008736/0.7733, allocations: 3.22 MB / 0.7326 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.406e-05/0.7734, allocations: 0 / 0.7326 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005169/0.7739, allocations: 80 kB / 0.7326 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.595e-05/0.774, allocations: 48 kB / 0.7327 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006925/0.7809, allocations: 3.026 MB / 0.7356 GB, free: 1.891 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.02143/0.8024, allocations: 9.985 MB / 0.7454 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/0.8148, allocations: 4.743 MB / 0.75 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006238/0.8155, allocations: 45.97 kB / 0.7501 GB, free: 2.535 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.212e-05/0.8156, allocations: 60.56 kB / 0.7501 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=241): time 8.696e-06/0.8156, allocations: 4 kB / 0.7501 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of matching and sorting (n=241): time 0.4183/1.234, allocations: 30.12 MB / 0.7795 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/1.234, allocations: 236.2 kB / 0.7798 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003942/1.238, allocations: 1.912 MB / 0.7816 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009151/1.239, allocations: 63.45 kB / 0.7817 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001171/1.24, allocations: 1.21 MB / 0.7829 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001198/1.241, allocations: 0.8271 MB / 0.7837 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/1.242, allocations: 48.78 kB / 0.7837 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.242, allocations: 387.9 kB / 0.7841 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003601/1.245, allocations: 1.871 MB / 0.7859 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003754/1.249, allocations: 2.179 MB / 0.788 GB, free: 118 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003677/1.253, allocations: 2.092 MB / 0.7901 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/1.253, allocations: 0 / 0.7901 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.04348/1.296, allocations: 14.32 MB / 0.8041 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000935/1.297, allocations: 2.871 MB / 0.8069 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.003e-05/1.297, allocations: 15.08 kB / 0.8069 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02271/1.32, allocations: 6.315 MB / 0.8131 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/1.323, allocations: 376.3 kB / 0.8134 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05977/1.382, allocations: 26.05 MB / 0.8389 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004177/1.387, allocations: 0.5173 MB / 0.8394 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003884/1.387, allocations: 83.61 kB / 0.8394 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.387, allocations: 3.75 kB / 0.8394 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03764/1.425, allocations: 14 MB / 0.8531 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.615e-05/1.425, allocations: 8 kB / 0.8531 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01738/1.442, allocations: 6.322 MB / 0.8593 GB, free: 98.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/1.444, allocations: 353.6 kB / 0.8596 GB, free: 98.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05545/1.5, allocations: 26.06 MB / 0.8851 GB, free: 75.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004265/1.504, allocations: 0.4941 MB / 0.8856 GB, free: 75.53 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006148/1.505, allocations: 83.83 kB / 0.8856 GB, free: 75.46 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.delta:VARIABLE(start = order3_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 (206): * Single equations (assignments): 201 * 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.00213/1.507, allocations: 0.5769 MB / 0.8862 GB, free: 74.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.508, allocations: 292.3 kB / 0.8865 GB, free: 74.61 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03856/1.547, allocations: 14.5 MB / 0.9006 GB, free: 63.39 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/1.547, allocations: 25.53 kB / 0.9007 GB, free: 63.37 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.056e-05/1.547, allocations: 16 kB / 0.9007 GB, free: 63.35 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.119e-05/1.547, allocations: 19.7 kB / 0.9007 GB, free: 63.34 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.04486/1.592, allocations: 18.22 MB / 0.9185 GB, free: 47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.208e-05/1.592, allocations: 0 / 0.9185 GB, free: 47 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/1.594, allocations: 282.1 kB / 0.9188 GB, free: 46.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0158/1.609, allocations: 6.073 MB / 0.9247 GB, free: 40.71 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006256/1.61, allocations: 51.94 kB / 0.9247 GB, free: 40.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0491/1.659, allocations: 22.66 MB / 0.9469 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.659, allocations: 4 kB / 0.9469 GB, free: 17.85 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04396/1.703, allocations: 17.06 MB / 0.9635 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.705, allocations: 416.9 kB / 0.9639 GB, free: 300 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006392/1.705, allocations: 52 kB / 0.964 GB, free: 248 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002959/1.708, allocations: 395.7 kB / 0.9644 GB, free: 15.86 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002007/1.71, allocations: 0.5487 MB / 0.9649 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/1.711, allocations: 63.98 kB / 0.965 GB, free: 15.25 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002548/1.713, allocations: 1.476 MB / 0.9664 GB, free: 13.77 MB / 0.573 GB Notification: Performance of sort global known variables: time 2e-07/1.713, allocations: 4 kB / 0.9664 GB, free: 13.76 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005686/1.719, allocations: 1.756 MB / 0.9681 GB, free: 12.01 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (162): * Single equations (assignments): 159 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04766/1.766, allocations: 17.86 MB / 0.9856 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.3417/2.108, allocations: 11.9 MB / 0.9972 GB, free: 142.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/2.108, allocations: 2 kB / 0.9972 GB, free: 142.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01552/2.124, allocations: 4.773 MB / 1.002 GB, free: 142.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/2.126, allocations: 240.6 kB / 1.002 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/2.14, allocations: 11.87 MB / 1.014 GB, free: 134.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/2.142, allocations: 1.892 MB / 1.016 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001374/2.143, allocations: 266.8 kB / 1.016 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/2.145, allocations: 1.187 MB / 1.017 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of SimCode: time 8.32e-07/2.145, allocations: 1.875 kB / 1.017 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1426/2.287, allocations: 94.56 MB / 1.109 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001402/2.287, allocations: 212.2 kB / 1.109 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.246/7.533, allocations: 4 kB / 1.109 GB, free: 104.9 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)