Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.006524/0.006524, 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.413/1.413, allocations: 223.2 MB / 239 MB, free: 1.793 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.0009768/0.0009764, allocations: 104.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.1.0-master/package.mo): time 0.5039/0.5039, allocations: 79.44 MB / 420.8 MB, free: 43.65 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004047, allocations: 8 kB / 0.4891 GB, free: 1.941 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4745/0.4749, allocations: 69.49 MB / 0.557 GB, free: 39.06 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.6214, allocations: 98.77 MB / 0.6534 GB, free: 6.809 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.6217, allocations: 84.59 kB / 0.6535 GB, free: 6.727 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08342/0.7052, allocations: 30.26 MB / 0.6831 GB, free: 8.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.7052, allocations: 0 / 0.6831 GB, free: 8.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001299/0.7054, allocations: 27.94 kB / 0.6831 GB, free: 8.293 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.006088/0.7115, allocations: 1.982 MB / 0.685 GB, free: 6.242 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.7115, allocations: 8.031 kB / 0.685 GB, free: 6.234 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004202/0.712, allocations: 130.5 kB / 0.6852 GB, free: 6.098 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003585/0.7156, allocations: 0.5564 MB / 0.6857 GB, free: 5.539 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.7174, allocations: 0.7995 MB / 0.6865 GB, free: 4.688 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/0.7177, allocations: 230.5 kB / 0.6867 GB, free: 4.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.7178, allocations: 76 kB / 0.6868 GB, free: 4.355 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.72, allocations: 1.146 MB / 0.6879 GB, free: 3.195 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.7201, allocations: 0 / 0.6879 GB, free: 3.195 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-05/0.7202, allocations: 32 kB / 0.6879 GB, free: 3.164 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.7202, allocations: 16 kB / 0.688 GB, free: 3.148 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.7223, allocations: 1.07 MB / 0.689 GB, free: 2.074 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.006755/0.7291, allocations: 3.84 MB / 0.6927 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007731/0.7368, allocations: 2.874 MB / 0.6956 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.737, allocations: 16.98 kB / 0.6956 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.737, allocations: 43.56 kB / 0.6956 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=92): time 4.078e-06/0.7371, allocations: 0 / 0.6956 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92): time 0.02806/0.7651, allocations: 8.03 MB / 0.7035 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.7653, allocations: 141.5 kB / 0.7036 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.7671, allocations: 0.921 MB / 0.7045 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002578/0.7673, allocations: 45.64 kB / 0.7045 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.7678, allocations: 0.509 MB / 0.705 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004174/0.7682, allocations: 327.2 kB / 0.7053 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.92e-05/0.7683, allocations: 20 kB / 0.7054 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.7684, allocations: 337.9 kB / 0.7057 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.7697, allocations: 0.6344 MB / 0.7063 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.7711, allocations: 0.776 MB / 0.7071 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.7725, allocations: 0.7431 MB / 0.7078 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.7725, allocations: 0 / 0.7078 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01348/0.786, allocations: 4.664 MB / 0.7123 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005402/0.7866, allocations: 1.21 MB / 0.7135 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.7866, allocations: 0 / 0.7135 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006307/0.793, allocations: 1.859 MB / 0.7153 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009842/0.794, allocations: 163.8 kB / 0.7155 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02132/0.8153, allocations: 9.235 MB / 0.7245 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/0.8172, allocations: 195.2 kB / 0.7247 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/0.8175, allocations: 35.98 kB / 0.7247 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.8175, allocations: 4 kB / 0.7247 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0136/0.8311, allocations: 4.515 MB / 0.7291 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.8311, allocations: 0 / 0.7291 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006154/0.8373, allocations: 1.852 MB / 0.731 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.8384, allocations: 155.7 kB / 0.7311 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02131/0.8597, allocations: 9.24 MB / 0.7401 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.8615, allocations: 183.3 kB / 0.7403 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.8618, allocations: 35.98 kB / 0.7403 GB, free: 12.62 MB / 0.5417 GB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (85): * Single equations (assignments): 82 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.001043/0.8629, allocations: 360.4 kB / 0.7407 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005308/0.8634, allocations: 122.5 kB / 0.7408 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/0.877, allocations: 4.61 MB / 0.7453 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/0.8771, allocations: 15.94 kB / 0.7453 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.651e-05/0.8771, allocations: 8 kB / 0.7453 GB, free: 7.477 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.812e-05/0.8771, allocations: 3.984 kB / 0.7453 GB, free: 7.473 MB / 0.5417 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.0177/0.8949, allocations: 6.221 MB / 0.7514 GB, free: 1.145 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.8949, allocations: 4 kB / 0.7514 GB, free: 1.141 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000843/0.8958, allocations: 115.9 kB / 0.7515 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005735/0.9015, allocations: 1.797 MB / 0.7533 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002671/0.9018, allocations: 27.94 kB / 0.7533 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01852/0.9203, allocations: 8.019 MB / 0.7611 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.9204, allocations: 0 / 0.7611 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/0.9365, allocations: 5.532 MB / 0.7665 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.9377, allocations: 223.4 kB / 0.7667 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008639/0.9386, allocations: 19.95 kB / 0.7668 GB, free: 1.207 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/0.9405, allocations: 143.9 kB / 0.7669 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008728/0.9414, allocations: 176.7 kB / 0.7671 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/0.9416, allocations: 24 kB / 0.7671 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001666/0.9433, allocations: 0.7196 MB / 0.7678 GB, free: 148 kB / 0.5573 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9433, allocations: 0 / 0.7678 GB, free: 148 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.3561/1.299, allocations: 0.662 MB / 0.7684 GB, free: 146.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.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 (66): * Single equations (assignments): 64 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01773/1.317, allocations: 6.198 MB / 0.7745 GB, free: 146 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01034/1.328, allocations: 4.173 MB / 0.7786 GB, free: 145.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.328, allocations: 0 / 0.7786 GB, free: 145.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00444/1.332, allocations: 1.672 MB / 0.7802 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/1.333, allocations: 105.4 kB / 0.7803 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005355/1.338, allocations: 5.069 MB / 0.7853 GB, free: 141.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/1.339, allocations: 1.155 MB / 0.7864 GB, free: 141 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000546/1.34, allocations: 119 kB / 0.7865 GB, free: 141 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005691/1.34, allocations: 469.8 kB / 0.7869 GB, free: 141 MB / 0.5573 GB Notification: Performance of SimCode: time 9.82e-07/1.34, allocations: 0 / 0.7869 GB, free: 141 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07337/1.414, allocations: 35.73 MB / 0.8218 GB, free: 139.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/1.414, allocations: 216.2 kB / 0.822 GB, free: 138.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.233/4.647, allocations: 0 / 0.822 GB, free: 138.9 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)