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.001161/0.001161, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.3 MB / 213.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008655/0.0008655, allocations: 82.38 kB / 261.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06095/0.06095, allocations: 12.2 MB / 321.5 MB, free: 15.6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4169/0.4169, allocations: 78.04 MB / 450.3 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.485e-05/1.487e-05, allocations: 2.625 kB / 0.5142 GB, free: 42.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1477, allocations: 69.26 MB / 0.5819 GB, free: 1.289 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.2914, allocations: 100.7 MB / 0.6802 GB, free: 12.44 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.2917, allocations: 83.95 kB / 0.6803 GB, free: 12.36 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.443/0.7348, allocations: 63.99 MB / 0.7428 GB, free: 69.62 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.7348, allocations: 0 / 0.7428 GB, free: 69.62 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001553/0.735, allocations: 63.94 kB / 0.7428 GB, free: 69.56 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.01054/0.7455, allocations: 4.006 MB / 0.7467 GB, free: 65.47 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.7456, allocations: 8.031 kB / 0.7468 GB, free: 65.46 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009129/0.7547, allocations: 1.592 MB / 0.7483 GB, free: 63.86 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.758, allocations: 1.65 MB / 0.7499 GB, free: 62.15 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004747/0.7585, allocations: 0.6163 MB / 0.7505 GB, free: 61.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/0.7588, allocations: 119.9 kB / 0.7506 GB, free: 61.31 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003413/0.7622, allocations: 2.222 MB / 0.7528 GB, free: 59.08 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/0.7657, allocations: 2.272 MB / 0.755 GB, free: 56.73 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.206e-05/0.7657, allocations: 4 kB / 0.755 GB, free: 56.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002132/0.7659, allocations: 0 / 0.755 GB, free: 56.73 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/0.766, allocations: 48 kB / 0.7551 GB, free: 56.68 MB / 474.7 MB 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.01516/0.7811, allocations: 9.657 MB / 0.7645 GB, free: 46.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007633/0.7888, allocations: 3.951 MB / 0.7684 GB, free: 42.52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.7906, allocations: 1.468 MB / 0.7698 GB, free: 41.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002749/0.7909, allocations: 38.03 kB / 0.7698 GB, free: 41.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.791, allocations: 64.52 kB / 0.7699 GB, free: 40.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=242): time 5.119e-06/0.791, allocations: 0 / 0.7699 GB, free: 40.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=242): time 0.03288/0.8239, allocations: 12.07 MB / 0.7817 GB, free: 28.84 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/0.824, allocations: 235.6 kB / 0.7819 GB, free: 28.56 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00284/0.8269, allocations: 1.685 MB / 0.7836 GB, free: 26.87 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007458/0.8276, allocations: 25.7 kB / 0.7836 GB, free: 26.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000776/0.8284, allocations: 1.211 MB / 0.7848 GB, free: 25.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008659/0.8293, allocations: 0.8042 MB / 0.7855 GB, free: 24.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.8295, allocations: 0 / 0.7855 GB, free: 24.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.8296, allocations: 394.6 kB / 0.7859 GB, free: 24.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.8312, allocations: 1.172 MB / 0.7871 GB, free: 23.23 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/0.833, allocations: 1.484 MB / 0.7885 GB, free: 21.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.8348, allocations: 1.294 MB / 0.7898 GB, free: 20.32 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.8348, allocations: 4 kB / 0.7898 GB, free: 20.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.03224/0.867, allocations: 12.11 MB / 0.8016 GB, free: 8.133 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005827/0.8677, allocations: 2.87 MB / 0.8044 GB, free: 5.035 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.8677, allocations: 4 kB / 0.8044 GB, free: 5.031 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01412/0.8818, allocations: 4.86 MB / 0.8092 GB, free: 168 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/0.8842, allocations: 379.5 kB / 0.8095 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03929/0.9235, allocations: 17.17 MB / 0.8263 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004572/0.9282, allocations: 473.8 kB / 0.8267 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006412/0.9288, allocations: 83.98 kB / 0.8268 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.9289, allocations: 4 kB / 0.8268 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0357/0.9646, allocations: 11.79 MB / 0.8384 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-05/0.9647, allocations: 8 kB / 0.8384 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01535/0.98, allocations: 4.848 MB / 0.8431 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/0.9822, allocations: 359.5 kB / 0.8434 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03835/1.021, allocations: 17.16 MB / 0.8602 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004424/1.025, allocations: 453.9 kB / 0.8606 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005092/1.026, allocations: 83.97 kB / 0.8607 GB, free: 11.04 MB / 0.5261 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.0008463/1.026, allocations: 213.5 kB / 0.8609 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03718/1.064, allocations: 12.06 MB / 0.8727 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001482/1.065, allocations: 292.3 kB / 0.873 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03705/1.102, allocations: 12.34 MB / 0.885 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.121e-05/1.102, allocations: 27.98 kB / 0.8851 GB, free: 2.035 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.173e-05/1.102, allocations: 20 kB / 0.8851 GB, free: 2.016 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001018/1.103, allocations: 11.95 kB / 0.8851 GB, free: 2.004 MB / 0.5417 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.04346/1.146, allocations: 15.85 MB / 0.9006 GB, free: 2.035 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-05/1.146, allocations: 0 / 0.9006 GB, free: 2.035 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/1.148, allocations: 271.6 kB / 0.9008 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3206/1.468, allocations: 4.784 MB / 0.9055 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004959/1.469, allocations: 18.41 kB / 0.9055 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03323/1.502, allocations: 15.18 MB / 0.9203 GB, free: 147.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/1.502, allocations: 0 / 0.9203 GB, free: 147.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03545/1.538, allocations: 14.28 MB / 0.9343 GB, free: 146.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009302/1.539, allocations: 406.7 kB / 0.9347 GB, free: 146.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005927/1.539, allocations: 14.62 kB / 0.9347 GB, free: 146.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002916/1.542, allocations: 353.7 kB / 0.935 GB, free: 146.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001723/1.544, allocations: 0.5507 MB / 0.9356 GB, free: 146.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/1.544, allocations: 64 kB / 0.9356 GB, free: 146.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001577/1.546, allocations: 1.256 MB / 0.9369 GB, free: 145.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.41e-07/1.546, allocations: 0 / 0.9369 GB, free: 145.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004027/1.55, allocations: 1.601 MB / 0.9384 GB, free: 145.9 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.03775/1.588, allocations: 15.02 MB / 0.9531 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0252/1.613, allocations: 9.71 MB / 0.9626 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/1.613, allocations: 0 / 0.9626 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01163/1.625, allocations: 3.975 MB / 0.9664 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/1.627, allocations: 194.9 kB / 0.9666 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009618/1.637, allocations: 4.447 MB / 0.971 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/1.638, allocations: 1.898 MB / 0.9728 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001852/1.64, allocations: 445.9 kB / 0.9733 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/1.641, allocations: 1.161 MB / 0.9744 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of SimCode: time 2.254e-06/1.641, allocations: 0 / 0.9744 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1328/1.774, allocations: 93.34 MB / 1.066 GB, free: 36.36 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/1.774, allocations: 153.6 kB / 1.066 GB, free: 36.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.368/7.143, allocations: 0 / 1.066 GB, free: 36.16 MB / 0.5573 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)