Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.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.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",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.00591/0.00591, 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.319/1.319, allocations: 223.2 MB / 239 MB, free: 72 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.0009625/0.0009624, allocations: 94.77 kB / 290.2 MB, free: 4.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4763/0.4763, allocations: 79.44 MB / 420.8 MB, free: 36.33 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004155, allocations: 8 kB / 0.4891 GB, free: 6.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1412, allocations: 69.51 MB / 0.557 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4198/0.5611, allocations: 99.88 MB / 0.6545 GB, free: 1.285 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.5614, allocations: 84.66 kB / 0.6546 GB, free: 1.203 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1624/0.7238, allocations: 63.12 MB / 0.7163 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7239, allocations: 0 / 0.7163 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002712/0.7241, allocations: 48 kB / 0.7163 GB, free: 1.891 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01515/0.7393, allocations: 4.319 MB / 0.7205 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.7394, allocations: 12.03 kB / 0.7205 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001162/0.7405, allocations: 286.3 kB / 0.7208 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.7508, allocations: 1.593 MB / 0.7224 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00444/0.7553, allocations: 1.499 MB / 0.7238 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008005/0.7561, allocations: 0.6787 MB / 0.7245 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009733/0.7571, allocations: 192 kB / 0.7247 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00828/0.7654, allocations: 3.101 MB / 0.7277 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.053e-05/0.7655, allocations: 0 / 0.7277 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004969/0.766, allocations: 79.95 kB / 0.7278 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.707e-05/0.7661, allocations: 48 kB / 0.7278 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006781/0.7729, allocations: 2.885 MB / 0.7306 GB, free: 2.945 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.02194/0.7949, allocations: 9.706 MB / 0.7401 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/0.8073, allocations: 4.815 MB / 0.7448 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004814/0.8078, allocations: 41.94 kB / 0.7449 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/0.8079, allocations: 62.44 kB / 0.7449 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=230): time 6.563e-06/0.8079, allocations: 4 kB / 0.7449 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=230): time 0.1172/0.9251, allocations: 31.77 MB / 0.776 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.9253, allocations: 132.8 kB / 0.7761 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003442/0.9287, allocations: 1.697 MB / 0.7777 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000689/0.9295, allocations: 65.69 kB / 0.7778 GB, free: 1.996 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009654/0.9304, allocations: 1.117 MB / 0.7789 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001402/0.9318, allocations: 0.7891 MB / 0.7797 GB, free: 68 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000437/0.9323, allocations: 44 kB / 0.7797 GB, free: 24 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002385/0.9326, allocations: 386.3 kB / 0.7801 GB, free: 15.64 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004096/0.9367, allocations: 1.82 MB / 0.7819 GB, free: 13.82 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004275/0.9409, allocations: 2.122 MB / 0.7839 GB, free: 11.59 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004229/0.9452, allocations: 1.931 MB / 0.7858 GB, free: 9.656 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/0.9452, allocations: 4 kB / 0.7858 GB, free: 9.652 MB / 0.573 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.3278/1.273, allocations: 14.2 MB / 0.7997 GB, free: 122.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00062/1.274, allocations: 2.733 MB / 0.8024 GB, free: 119.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/1.274, allocations: 10.34 kB / 0.8024 GB, free: 119.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02059/1.294, allocations: 6.518 MB / 0.8087 GB, free: 119.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/1.296, allocations: 314.9 kB / 0.809 GB, free: 119.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06058/1.357, allocations: 27.84 MB / 0.8362 GB, free: 116.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/1.361, allocations: 494.8 kB / 0.8367 GB, free: 116.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003764/1.361, allocations: 78.2 kB / 0.8368 GB, free: 116.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/1.361, allocations: 3.875 kB / 0.8368 GB, free: 116.1 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04067/1.402, allocations: 13.89 MB / 0.8503 GB, free: 115.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.644e-05/1.402, allocations: 13.12 kB / 0.8503 GB, free: 115.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01988/1.422, allocations: 6.512 MB / 0.8567 GB, free: 115.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/1.424, allocations: 302.4 kB / 0.857 GB, free: 115.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05808/1.482, allocations: 27.84 MB / 0.8842 GB, free: 105.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003742/1.485, allocations: 462.9 kB / 0.8846 GB, free: 105.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003412/1.486, allocations: 84.34 kB / 0.8847 GB, free: 105.1 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.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 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 (189): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001396/1.487, allocations: 495.1 kB / 0.8852 GB, free: 104.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005762/1.488, allocations: 278.3 kB / 0.8854 GB, free: 104.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03673/1.525, allocations: 14.32 MB / 0.8994 GB, free: 98.68 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/1.525, allocations: 24 kB / 0.8994 GB, free: 98.65 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.35e-05/1.525, allocations: 16 kB / 0.8995 GB, free: 98.64 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.118e-05/1.525, allocations: 13.78 kB / 0.8995 GB, free: 98.64 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.04153/1.566, allocations: 17.86 MB / 0.9169 GB, free: 85.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.429e-05/1.566, allocations: 4 kB / 0.9169 GB, free: 85.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/1.568, allocations: 253.9 kB / 0.9172 GB, free: 84.82 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0166/1.585, allocations: 6.093 MB / 0.9231 GB, free: 80.09 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006009/1.585, allocations: 44 kB / 0.9232 GB, free: 80.05 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04701/1.632, allocations: 22.64 MB / 0.9453 GB, free: 60.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.632, allocations: 5.156 kB / 0.9453 GB, free: 60.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04224/1.675, allocations: 16.87 MB / 0.9617 GB, free: 46.08 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.676, allocations: 391.2 kB / 0.9621 GB, free: 45.71 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005748/1.676, allocations: 47.34 kB / 0.9622 GB, free: 45.66 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002731/1.679, allocations: 363.7 kB / 0.9625 GB, free: 45.31 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001763/1.681, allocations: 0.5488 MB / 0.963 GB, free: 44.76 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/1.681, allocations: 59.98 kB / 0.9631 GB, free: 44.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00153/1.683, allocations: 1.307 MB / 0.9644 GB, free: 43.39 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/1.683, allocations: 0 / 0.9644 GB, free: 43.39 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00448/1.687, allocations: 1.716 MB / 0.9661 GB, free: 41.73 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * 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 (149): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * 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 {(66,7.7%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04206/1.729, allocations: 17.77 MB / 0.9834 GB, free: 23.92 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02946/1.759, allocations: 11.63 MB / 0.9948 GB, free: 12.26 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.759, allocations: 1.75 kB / 0.9948 GB, free: 12.26 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0121/1.771, allocations: 4.644 MB / 0.9993 GB, free: 7.613 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/1.773, allocations: 198.6 kB / 0.9995 GB, free: 7.418 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/1.784, allocations: 11.74 MB / 1.011 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/1.786, allocations: 1.798 MB / 1.013 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001201/1.787, allocations: 212.5 kB / 1.013 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/1.788, allocations: 1.093 MB / 1.014 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of SimCode: time 7.21e-07/1.788, allocations: 0 / 1.014 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3994/2.188, allocations: 92.72 MB / 1.105 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001346/2.188, allocations: 221.8 kB / 1.105 GB, free: 125.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.088/7.276, allocations: 0 / 1.105 GB, free: 125.3 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)