Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.004683/0.004683, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.4 MB / 221.3 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008187/0.0008184, allocations: 94.84 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05913/0.05913, allocations: 12.2 MB / 330 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4009/0.4009, allocations: 78.52 MB / 459.6 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004744, allocations: 22.88 kB / 0.528 GB, free: 35.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.119, allocations: 69.25 MB / 0.5956 GB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3961/0.5151, allocations: 102.1 MB / 0.6953 GB, free: 35.75 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.5154, allocations: 77.67 kB / 0.6954 GB, free: 35.75 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1506/0.666, allocations: 66.25 MB / 0.7601 GB, free: 20.58 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.666, allocations: 0 / 0.7601 GB, free: 20.58 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001394/0.6662, allocations: 58.81 kB / 0.7602 GB, free: 20.57 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.01261/0.6788, allocations: 4.7 MB / 0.7648 GB, free: 17.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.6789, allocations: 15.58 kB / 0.7648 GB, free: 17.98 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008427/0.6797, allocations: 294.9 kB / 0.765 GB, free: 17.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009561/0.6893, allocations: 1.616 MB / 0.7666 GB, free: 17.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003984/0.6933, allocations: 1.74 MB / 0.7683 GB, free: 16.41 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004941/0.6938, allocations: 0.6877 MB / 0.769 GB, free: 15.87 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003743/0.6942, allocations: 206.8 kB / 0.7692 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005309/0.6995, allocations: 3.242 MB / 0.7724 GB, free: 15 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/0.6996, allocations: 0 / 0.7724 GB, free: 15 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002323/0.6998, allocations: 79.12 kB / 0.7724 GB, free: 15 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.6998, allocations: 50.81 kB / 0.7725 GB, free: 15 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005098/0.7049, allocations: 3.036 MB / 0.7754 GB, free: 14.52 MB / 474.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.01776/0.7227, allocations: 10.11 MB / 0.7853 GB, free: 9.391 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/0.7336, allocations: 4.778 MB / 0.79 GB, free: 5.812 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003424/0.734, allocations: 48.89 kB / 0.79 GB, free: 5.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.734, allocations: 58.81 kB / 0.7901 GB, free: 5.723 MB / 474.7 MB Notification: Performance of pre-optimization done (n=244): time 5.16e-06/0.734, allocations: 4 kB / 0.7901 GB, free: 5.719 MB / 474.7 MB Notification: Performance of matching and sorting (n=244): time 0.1153/0.8493, allocations: 33.01 MB / 0.8223 GB, free: 4.898 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.8495, allocations: 239.6 kB / 0.8226 GB, free: 4.613 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003508/0.853, allocations: 1.961 MB / 0.8245 GB, free: 2.641 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006679/0.8537, allocations: 65.7 kB / 0.8245 GB, free: 2.57 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009683/0.8547, allocations: 1.231 MB / 0.8257 GB, free: 1.328 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001216/0.8559, allocations: 0.8354 MB / 0.8266 GB, free: 492 kB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.8561, allocations: 48 kB / 0.8266 GB, free: 444 kB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.8563, allocations: 394.7 kB / 0.827 GB, free: 44 kB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003987/0.8603, allocations: 1.886 MB / 0.8288 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004273/0.8646, allocations: 2.206 MB / 0.831 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004116/0.8687, allocations: 2.119 MB / 0.833 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.8687, allocations: 0 / 0.833 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.04112/0.9099, allocations: 14.44 MB / 0.8471 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001217/0.9111, allocations: 2.878 MB / 0.85 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.9111, allocations: 8 kB / 0.85 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01935/0.9305, allocations: 6.384 MB / 0.8562 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/0.9327, allocations: 371.5 kB / 0.8565 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06151/0.9942, allocations: 27.43 MB / 0.8833 GB, free: 5.566 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004237/0.9985, allocations: 0.5211 MB / 0.8838 GB, free: 5.043 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003794/0.9989, allocations: 83.92 kB / 0.8839 GB, free: 4.961 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.9989, allocations: 4 kB / 0.8839 GB, free: 4.957 MB / 0.5574 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04152/1.04, allocations: 14.1 MB / 0.8977 GB, free: 6.773 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-05/1.04, allocations: 8 kB / 0.8977 GB, free: 6.766 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01925/1.06, allocations: 6.392 MB / 0.9039 GB, free: 372 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/1.062, allocations: 355.5 kB / 0.9043 GB, free: 16 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.336/1.398, allocations: 27.41 MB / 0.931 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004309/1.402, allocations: 0.4966 MB / 0.9315 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003927/1.403, allocations: 85.39 kB / 0.9316 GB, free: 155.8 MB / 0.5886 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.001642/1.404, allocations: 0.5826 MB / 0.9322 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008739/1.405, allocations: 300.7 kB / 0.9325 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03852/1.444, allocations: 14.56 MB / 0.9467 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.931e-05/1.444, allocations: 23.16 kB / 0.9467 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-05/1.444, allocations: 19.31 kB / 0.9467 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.885e-05/1.444, allocations: 10.59 kB / 0.9467 GB, free: 155.2 MB / 0.5886 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.04202/1.486, allocations: 18.33 MB / 0.9646 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/1.486, allocations: 3.312 kB / 0.9646 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/1.488, allocations: 277.9 kB / 0.9649 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01597/1.504, allocations: 6.03 MB / 0.9708 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007136/1.505, allocations: 47.56 kB / 0.9708 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04627/1.551, allocations: 22.68 MB / 0.993 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.551, allocations: 0 / 0.993 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04321/1.594, allocations: 17.16 MB / 1.01 GB, free: 128.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.595, allocations: 414.4 kB / 1.01 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008024/1.596, allocations: 48.17 kB / 1.01 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003122/1.599, allocations: 396.8 kB / 1.011 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001818/1.601, allocations: 0.553 MB / 1.011 GB, free: 127.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/1.601, allocations: 60 kB / 1.011 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002199/1.604, allocations: 1.528 MB / 1.013 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.453e-06/1.604, allocations: 0 / 1.013 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004967/1.609, allocations: 1.791 MB / 1.014 GB, free: 124.5 MB / 0.5886 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.04167/1.65, allocations: 17.92 MB / 1.032 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02981/1.68, allocations: 12.26 MB / 1.044 GB, free: 99.36 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.68, allocations: 0 / 1.044 GB, free: 99.36 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01277/1.693, allocations: 4.779 MB / 1.049 GB, free: 95.28 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/1.696, allocations: 233.4 kB / 1.049 GB, free: 95.06 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/1.709, allocations: 12.24 MB / 1.061 GB, free: 83.26 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/1.711, allocations: 1.91 MB / 1.063 GB, free: 81.38 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001615/1.713, allocations: 269.2 kB / 1.063 GB, free: 81.12 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/1.714, allocations: 1.21 MB / 1.064 GB, free: 79.91 MB / 0.5886 GB Notification: Performance of SimCode: time 2.124e-06/1.714, allocations: 0 / 1.064 GB, free: 79.91 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3779/2.092, allocations: 96 MB / 1.158 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/2.092, allocations: 224.6 kB / 1.158 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.965/7.057, allocations: 0 / 1.158 GB, free: 154.6 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)