Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.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_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.338/1.338, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0008735/0.0008734, allocations: 92.48 kB / 266.6 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06212/0.06212, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2744/0.2744, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.202e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.119, allocations: 69.24 MB / 0.5889 GB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3933/0.5124, allocations: 100.7 MB / 0.6873 GB, free: 15.57 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.5127, allocations: 81.83 kB / 0.6874 GB, free: 15.53 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.158/0.6707, allocations: 60.28 MB / 0.7462 GB, free: 12.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.6707, allocations: 3.938 kB / 0.7463 GB, free: 12.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000214/0.6709, allocations: 52 kB / 0.7463 GB, free: 12.51 MB / 490.7 MB 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.01239/0.6833, allocations: 3.787 MB / 0.75 GB, free: 8.969 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.6834, allocations: 19.98 kB / 0.75 GB, free: 8.949 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009537/0.6844, allocations: 283.4 kB / 0.7503 GB, free: 8.793 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/0.6945, allocations: 1.578 MB / 0.7518 GB, free: 7.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003637/0.6982, allocations: 1.495 MB / 0.7533 GB, free: 6.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006955/0.6989, allocations: 0.6769 MB / 0.754 GB, free: 5.457 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007578/0.6997, allocations: 199.3 kB / 0.7541 GB, free: 5.328 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005703/0.7054, allocations: 2.431 MB / 0.7565 GB, free: 3.105 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.954e-05/0.7055, allocations: 4 kB / 0.7565 GB, free: 3.102 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002695/0.7058, allocations: 76 kB / 0.7566 GB, free: 3.027 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-05/0.7058, allocations: 51.94 kB / 0.7566 GB, free: 2.977 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004194/0.71, allocations: 2.187 MB / 0.7588 GB, free: 0.7891 MB / 490.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.0172/0.7273, allocations: 9.713 MB / 0.7683 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009496/0.7368, allocations: 4.076 MB / 0.7722 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002533/0.7394, allocations: 1.444 MB / 0.7737 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/0.7397, allocations: 41.94 kB / 0.7737 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.7397, allocations: 64.55 kB / 0.7738 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=230): time 4.358e-06/0.7397, allocations: 4 kB / 0.7738 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of matching and sorting (n=230): time 0.03634/0.7761, allocations: 12.1 MB / 0.7856 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/0.7762, allocations: 128.8 kB / 0.7857 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/0.7789, allocations: 1.676 MB / 0.7873 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005998/0.7795, allocations: 65.7 kB / 0.7874 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007499/0.7803, allocations: 1.121 MB / 0.7885 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001133/0.7814, allocations: 0.8008 MB / 0.7893 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.7816, allocations: 40 kB / 0.7893 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.7818, allocations: 390.2 kB / 0.7897 GB, free: 500 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/0.7838, allocations: 1.176 MB / 0.7908 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.7861, allocations: 1.471 MB / 0.7923 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/0.7882, allocations: 1.291 MB / 0.7935 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.7883, allocations: 3.938 kB / 0.7935 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03703/0.8253, allocations: 12.32 MB / 0.8056 GB, free: 96 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008776/0.8262, allocations: 2.738 MB / 0.8082 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.8262, allocations: 8 kB / 0.8082 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01724/0.8435, allocations: 5.298 MB / 0.8134 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.8452, allocations: 315.5 kB / 0.8137 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04281/0.888, allocations: 19.27 MB / 0.8325 GB, free: 3.953 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004735/0.8928, allocations: 497.7 kB / 0.833 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009957/0.8939, allocations: 75.98 kB / 0.8331 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.8939, allocations: 4 kB / 0.8331 GB, free: 3.387 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03677/0.9307, allocations: 12.05 MB / 0.8449 GB, free: 7.324 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.472e-05/0.9308, allocations: 7.984 kB / 0.8449 GB, free: 7.316 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01735/0.9481, allocations: 5.31 MB / 0.85 GB, free: 1.996 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.9499, allocations: 303.6 kB / 0.8503 GB, free: 1.699 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2962/1.246, allocations: 19.25 MB / 0.8691 GB, free: 155 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003867/1.25, allocations: 470.5 kB / 0.8696 GB, free: 155 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004719/1.251, allocations: 77.72 kB / 0.8697 GB, free: 155 MB / 0.5886 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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 (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.0006241/1.251, allocations: 228.1 kB / 0.8699 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007606/1.252, allocations: 284 kB / 0.8701 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03833/1.29, allocations: 12.43 MB / 0.8823 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-05/1.29, allocations: 23.38 kB / 0.8823 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.856e-05/1.29, allocations: 18.44 kB / 0.8823 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.189e-05/1.291, allocations: 11.2 kB / 0.8823 GB, free: 154.7 MB / 0.5886 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.04295/1.333, allocations: 15.97 MB / 0.8979 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/1.334, allocations: 3.969 kB / 0.8979 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/1.335, allocations: 251.8 kB / 0.8982 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01462/1.35, allocations: 4.873 MB / 0.9029 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006252/1.351, allocations: 45.06 kB / 0.903 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03111/1.382, allocations: 15.35 MB / 0.918 GB, free: 151.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.382, allocations: 7.891 kB / 0.918 GB, free: 151.4 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03658/1.418, allocations: 14.35 MB / 0.932 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009928/1.419, allocations: 385 kB / 0.9324 GB, free: 147.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006485/1.42, allocations: 44.97 kB / 0.9324 GB, free: 147.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002924/1.423, allocations: 362.1 kB / 0.9327 GB, free: 147.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001833/1.425, allocations: 0.55 MB / 0.9333 GB, free: 147.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002699/1.425, allocations: 57.81 kB / 0.9333 GB, free: 147.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001629/1.427, allocations: 1.282 MB / 0.9346 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.21e-07/1.427, allocations: 0 / 0.9346 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005122/1.432, allocations: 1.724 MB / 0.9363 GB, free: 146.6 MB / 0.5886 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 () * 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.03694/1.469, allocations: 15.23 MB / 0.9511 GB, free: 134.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02469/1.494, allocations: 9.705 MB / 0.9606 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.494, allocations: 0 / 0.9606 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0109/1.505, allocations: 3.937 MB / 0.9645 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/1.506, allocations: 197.2 kB / 0.9647 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/1.517, allocations: 4.599 MB / 0.9691 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/1.518, allocations: 1.804 MB / 0.9709 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001733/1.52, allocations: 358.9 kB / 0.9712 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.521, allocations: 1.078 MB / 0.9723 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.022e-06/1.521, allocations: 0 / 0.9723 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1186/1.639, allocations: 97.63 MB / 1.068 GB, free: 25.38 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001234/1.64, allocations: 190.1 kB / 1.068 GB, free: 25.15 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.527/7.166, allocations: 0 / 1.068 GB, free: 25.15 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)