Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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.009437/0.009437, allocations: 171.1 kB / 15.11 MB, free: 5.988 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.371/1.371, allocations: 223.2 MB / 239 MB, free: 56 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.0009452/0.0009447, allocations: 96.12 kB / 290.2 MB, free: 4.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4831/0.4831, allocations: 78.52 MB / 419.8 MB, free: 36.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003883, allocations: 12 kB / 499.8 MB, free: 6.988 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1313, allocations: 69.37 MB / 0.5558 GB, free: 1.621 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4194/0.5508, allocations: 100.5 MB / 0.654 GB, free: 1.621 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.5511, allocations: 83.42 kB / 0.6541 GB, free: 1.578 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.178/0.7291, allocations: 68.06 MB / 0.7205 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7292, allocations: 4 kB / 0.7205 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000323/0.7295, allocations: 59.94 kB / 0.7206 GB, free: 13.68 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.0159/0.7454, allocations: 4.693 MB / 0.7252 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.7455, allocations: 8.031 kB / 0.7252 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001141/0.7466, allocations: 299.2 kB / 0.7255 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/0.7569, allocations: 1.619 MB / 0.727 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005496/0.7624, allocations: 1.725 MB / 0.7287 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008207/0.7633, allocations: 0.6867 MB / 0.7294 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001041/0.7644, allocations: 219.9 kB / 0.7296 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009405/0.7738, allocations: 3.236 MB / 0.7328 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.7739, allocations: 7.984 kB / 0.7328 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000649/0.7746, allocations: 80 kB / 0.7329 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/0.7747, allocations: 48 kB / 0.7329 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007317/0.782, allocations: 3.038 MB / 0.7359 GB, free: 13.66 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.02266/0.8047, allocations: 10.11 MB / 0.7457 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01243/0.8171, allocations: 4.779 MB / 0.7504 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000536/0.8177, allocations: 46.03 kB / 0.7504 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.645e-05/0.8178, allocations: 64.5 kB / 0.7505 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=244): time 4.228e-06/0.8178, allocations: 1.781 kB / 0.7505 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=244): time 0.1404/0.9582, allocations: 33.01 MB / 0.7827 GB, free: 12.98 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002317/0.9585, allocations: 231.6 kB / 0.783 GB, free: 12.71 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006584/0.9651, allocations: 1.956 MB / 0.7849 GB, free: 10.74 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001179/0.9664, allocations: 69.7 kB / 0.7849 GB, free: 10.66 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001885/0.9683, allocations: 1.223 MB / 0.7861 GB, free: 9.43 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002109/0.9704, allocations: 0.8354 MB / 0.787 GB, free: 8.582 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007965/0.9713, allocations: 44 kB / 0.787 GB, free: 8.539 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003613/0.9716, allocations: 394.7 kB / 0.7874 GB, free: 8.148 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006705/0.9784, allocations: 1.886 MB / 0.7892 GB, free: 6.258 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007022/0.9854, allocations: 2.206 MB / 0.7914 GB, free: 3.945 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006766/0.9922, allocations: 2.115 MB / 0.7934 GB, free: 1.773 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/0.9923, allocations: 0 / 0.7934 GB, free: 1.773 MB / 0.573 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.3509/1.343, allocations: 14.43 MB / 0.8075 GB, free: 123 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006066/1.344, allocations: 2.874 MB / 0.8103 GB, free: 120 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/1.344, allocations: 7.219 kB / 0.8103 GB, free: 120 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0202/1.364, allocations: 6.39 MB / 0.8166 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/1.366, allocations: 367.2 kB / 0.8169 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06055/1.427, allocations: 27.42 MB / 0.8437 GB, free: 116.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0043/1.431, allocations: 0.5146 MB / 0.8442 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004911/1.432, allocations: 85.09 kB / 0.8443 GB, free: 116.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/1.432, allocations: 5.75 kB / 0.8443 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04166/1.473, allocations: 14.1 MB / 0.8581 GB, free: 115.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-05/1.474, allocations: 7.75 kB / 0.8581 GB, free: 115.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0239/1.497, allocations: 6.395 MB / 0.8643 GB, free: 115.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002587/1.5, allocations: 351.7 kB / 0.8647 GB, free: 115.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0667/1.567, allocations: 27.43 MB / 0.8915 GB, free: 104.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004307/1.571, allocations: 0.4905 MB / 0.8919 GB, free: 104.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003927/1.572, allocations: 87.08 kB / 0.892 GB, free: 104.3 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 variables: 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 Syn2.delta:VARIABLE(start = Syn2.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 (211): * Single equations (assignments): 205 * 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: 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.001495/1.573, allocations: 0.5813 MB / 0.8926 GB, free: 103.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007796/1.574, allocations: 300.2 kB / 0.8929 GB, free: 103.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03947/1.613, allocations: 14.55 MB / 0.9071 GB, free: 92.27 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.791e-05/1.613, allocations: 24 kB / 0.9071 GB, free: 92.25 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.707e-05/1.613, allocations: 25.39 kB / 0.9071 GB, free: 92.22 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.211e-05/1.614, allocations: 15.25 kB / 0.9071 GB, free: 92.22 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.04443/1.658, allocations: 18.32 MB / 0.925 GB, free: 78.23 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/1.658, allocations: 7.953 kB / 0.925 GB, free: 78.23 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001872/1.66, allocations: 275.7 kB / 0.9253 GB, free: 77.99 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0168/1.677, allocations: 6.029 MB / 0.9312 GB, free: 73.32 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007215/1.677, allocations: 51.75 kB / 0.9312 GB, free: 73.27 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04897/1.726, allocations: 22.68 MB / 0.9534 GB, free: 53.89 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.727, allocations: 0 / 0.9534 GB, free: 53.89 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0443/1.771, allocations: 17.16 MB / 0.9701 GB, free: 37.24 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/1.772, allocations: 422.5 kB / 0.9705 GB, free: 36.84 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007754/1.773, allocations: 51.98 kB / 0.9706 GB, free: 36.79 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003099/1.776, allocations: 395.7 kB / 0.971 GB, free: 36.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001859/1.778, allocations: 0.5529 MB / 0.9715 GB, free: 35.85 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001982/1.778, allocations: 65.38 kB / 0.9716 GB, free: 35.79 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002119/1.78, allocations: 1.519 MB / 0.9731 GB, free: 34.27 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.78, allocations: 0 / 0.9731 GB, free: 34.27 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005146/1.785, allocations: 1.777 MB / 0.9748 GB, free: 32.56 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (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.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 (165): * Single equations (assignments): 162 * 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 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04346/1.829, allocations: 17.94 MB / 0.9923 GB, free: 14.57 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0297/1.858, allocations: 12.25 MB / 1.004 GB, free: 2.18 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/1.859, allocations: 1.75 kB / 1.004 GB, free: 2.18 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01334/1.872, allocations: 4.775 MB / 1.009 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/1.874, allocations: 243.1 kB / 1.009 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01716/1.892, allocations: 12.23 MB / 1.021 GB, free: 0.6328 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2539/2.146, allocations: 1.897 MB / 1.023 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001735/2.147, allocations: 270.1 kB / 1.023 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/2.149, allocations: 1.208 MB / 1.024 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.383e-06/2.149, allocations: 0 / 1.024 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1531/2.302, allocations: 95.96 MB / 1.118 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/2.302, allocations: 209.3 kB / 1.118 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.471/7.773, allocations: 0 / 1.118 GB, free: 117.8 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)