Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_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.005807/0.005807, allocations: 170.2 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.348/1.348, allocations: 223.2 MB / 239 MB, free: 52 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008836/0.0008836, allocations: 101.1 kB / 290.2 MB, free: 4.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4823/0.4823, allocations: 78.52 MB / 419.8 MB, free: 36.6 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.0004119, allocations: 12 kB / 499.8 MB, free: 7.004 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.15, allocations: 69.36 MB / 0.5558 GB, free: 1.648 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4116/0.5616, allocations: 99.16 MB / 0.6527 GB, free: 2.98 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.5619, allocations: 82.94 kB / 0.6527 GB, free: 2.938 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1725/0.7344, allocations: 66.71 MB / 0.7179 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.735e-06/0.7345, allocations: 0 / 0.7179 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001761/0.7347, allocations: 56 kB / 0.7179 GB, free: 456 kB / 0.4948 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.01526/0.75, allocations: 4.595 MB / 0.7224 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.75, allocations: 8.031 kB / 0.7224 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001194/0.7512, allocations: 299.1 kB / 0.7227 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009946/0.7612, allocations: 1.607 MB / 0.7243 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004878/0.7661, allocations: 1.681 MB / 0.7259 GB, free: 8.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007332/0.7669, allocations: 0.7021 MB / 0.7266 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006133/0.7675, allocations: 213.4 kB / 0.7268 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006963/0.7745, allocations: 3.212 MB / 0.7299 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.287e-05/0.7745, allocations: 0 / 0.7299 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/0.7748, allocations: 80 kB / 0.73 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.01e-05/0.7748, allocations: 48 kB / 0.7301 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00649/0.7813, allocations: 3.026 MB / 0.733 GB, free: 0.6133 MB / 0.5105 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.02069/0.8021, allocations: 9.984 MB / 0.7428 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01152/0.8136, allocations: 4.747 MB / 0.7474 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004856/0.8141, allocations: 38.03 kB / 0.7474 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/0.8142, allocations: 68.5 kB / 0.7475 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=241): time 4.659e-06/0.8142, allocations: 0 / 0.7475 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of matching and sorting (n=241): time 0.1114/0.9256, allocations: 30.12 MB / 0.7769 GB, free: 2.988 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001931/0.9259, allocations: 235.6 kB / 0.7771 GB, free: 2.711 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004111/0.93, allocations: 1.912 MB / 0.779 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009586/0.931, allocations: 65.7 kB / 0.7791 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/0.9322, allocations: 1.212 MB / 0.7803 GB, free: 15.5 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001367/0.9336, allocations: 0.8289 MB / 0.7811 GB, free: 14.66 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.9338, allocations: 40 kB / 0.7811 GB, free: 14.62 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002183/0.934, allocations: 398.6 kB / 0.7815 GB, free: 14.23 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004045/0.9381, allocations: 1.867 MB / 0.7833 GB, free: 12.36 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004269/0.9423, allocations: 2.178 MB / 0.7854 GB, free: 10.07 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004164/0.9465, allocations: 2.087 MB / 0.7875 GB, free: 7.926 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.9465, allocations: 4 kB / 0.7875 GB, free: 7.922 MB / 0.573 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.3514/1.298, allocations: 14.32 MB / 0.8015 GB, free: 121.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008791/1.299, allocations: 2.868 MB / 0.8043 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/1.299, allocations: 6 kB / 0.8043 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02028/1.319, allocations: 6.316 MB / 0.8104 GB, free: 118.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002264/1.322, allocations: 379.8 kB / 0.8108 GB, free: 118.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05923/1.381, allocations: 26.05 MB / 0.8362 GB, free: 116.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004052/1.385, allocations: 0.515 MB / 0.8367 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002567/1.385, allocations: 82.97 kB / 0.8368 GB, free: 116.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.385, allocations: 11.77 kB / 0.8368 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04065/1.426, allocations: 13.99 MB / 0.8505 GB, free: 116 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.023e-05/1.426, allocations: 6.688 kB / 0.8505 GB, free: 116 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01872/1.445, allocations: 6.317 MB / 0.8567 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/1.447, allocations: 360.2 kB / 0.857 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05654/1.503, allocations: 26.05 MB / 0.8825 GB, free: 107.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004137/1.508, allocations: 497.5 kB / 0.8829 GB, free: 107.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003212/1.508, allocations: 88.06 kB / 0.883 GB, free: 107.7 MB / 0.573 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.001631/1.51, allocations: 0.5797 MB / 0.8836 GB, free: 107.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007874/1.51, allocations: 297.5 kB / 0.8839 GB, free: 107.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03909/1.549, allocations: 14.51 MB / 0.898 GB, free: 100.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.075e-05/1.55, allocations: 24 kB / 0.8981 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.512e-05/1.55, allocations: 20 kB / 0.8981 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.333e-05/1.55, allocations: 11.34 kB / 0.8981 GB, free: 100.5 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.04556/1.595, allocations: 18.23 MB / 0.9159 GB, free: 86.62 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.602e-05/1.595, allocations: 0 / 0.9159 GB, free: 86.62 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/1.597, allocations: 271.2 kB / 0.9161 GB, free: 86.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01675/1.614, allocations: 6.073 MB / 0.9221 GB, free: 81.68 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000718/1.615, allocations: 51.52 kB / 0.9221 GB, free: 81.63 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04671/1.662, allocations: 22.66 MB / 0.9443 GB, free: 62.29 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.662, allocations: 0 / 0.9443 GB, free: 62.29 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04243/1.704, allocations: 17.08 MB / 0.9609 GB, free: 46.97 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/1.705, allocations: 406.3 kB / 0.9613 GB, free: 46.59 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006171/1.706, allocations: 51.98 kB / 0.9614 GB, free: 46.54 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002722/1.709, allocations: 391.7 kB / 0.9617 GB, free: 46.16 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001842/1.71, allocations: 0.554 MB / 0.9623 GB, free: 45.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/1.711, allocations: 59.98 kB / 0.9623 GB, free: 45.54 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002037/1.713, allocations: 1.487 MB / 0.9638 GB, free: 44.05 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/1.713, allocations: 0 / 0.9638 GB, free: 44.05 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004675/1.717, allocations: 1.757 MB / 0.9655 GB, free: 42.36 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.04142/1.759, allocations: 17.85 MB / 0.9829 GB, free: 24.46 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02745/1.786, allocations: 11.91 MB / 0.9946 GB, free: 12.45 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/1.786, allocations: 0 / 0.9946 GB, free: 12.45 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01206/1.798, allocations: 4.779 MB / 0.9992 GB, free: 7.633 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/1.801, allocations: 240.9 kB / 0.9995 GB, free: 7.398 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/1.815, allocations: 11.88 MB / 1.011 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/1.817, allocations: 1.885 MB / 1.013 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001367/1.818, allocations: 269.8 kB / 1.013 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001463/1.82, allocations: 1.187 MB / 1.014 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of SimCode: time 7.61e-07/1.82, allocations: 0 / 1.014 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4404/2.26, allocations: 94.55 MB / 1.107 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/2.26, allocations: 212.7 kB / 1.107 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.544/7.804, allocations: 0 / 1.107 GB, free: 123.7 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)