Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_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.005025/0.005025, allocations: 170.7 kB / 15.11 MB, free: 5.973 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.414/1.414, 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.0009219/0.0009219, allocations: 94.78 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07023/0.07023, allocations: 12.19 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4352/0.4352, allocations: 78.52 MB / 459.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004903, allocations: 21.75 kB / 0.528 GB, free: 35.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1319, allocations: 69.25 MB / 0.5956 GB, free: 4.277 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.395/0.5269, allocations: 104 MB / 0.6972 GB, free: 99.87 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.5272, allocations: 81.16 kB / 0.6973 GB, free: 99.87 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2137/0.7409, allocations: 97.29 MB / 0.7923 GB, free: 16.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.158e-06/0.741, allocations: 0 / 0.7923 GB, free: 16.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004378/0.7414, allocations: 99.81 kB / 0.7924 GB, free: 16.67 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.02019/0.7616, allocations: 6.621 MB / 0.7988 GB, free: 9.961 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.7617, allocations: 15.97 kB / 0.7988 GB, free: 9.945 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001853/0.7636, allocations: 492.8 kB / 0.7993 GB, free: 9.453 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01629/0.7799, allocations: 2.807 MB / 0.8021 GB, free: 6.637 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006556/0.7865, allocations: 2.337 MB / 0.8043 GB, free: 4.223 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009066/0.7874, allocations: 0.9595 MB / 0.8053 GB, free: 3.133 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0015/0.7889, allocations: 348 kB / 0.8056 GB, free: 2.793 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01336/0.8023, allocations: 4.958 MB / 0.8105 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/0.8025, allocations: 0 / 0.8105 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001066/0.8036, allocations: 147.9 kB / 0.8106 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.085e-05/0.8037, allocations: 84 kB / 0.8107 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.8149, allocations: 4.525 MB / 0.8151 GB, free: 9.043 MB / 490.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.04053/0.8554, allocations: 18.73 MB / 0.8334 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01363/0.8691, allocations: 5.693 MB / 0.8389 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000855/0.87, allocations: 74.92 kB / 0.839 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.748e-05/0.8701, allocations: 69.56 kB / 0.8391 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=382): time 7.173e-06/0.8701, allocations: 0 / 0.8391 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=382): time 0.3036/1.174, allocations: 78.99 MB / 0.9162 GB, free: 16 kB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3019/1.476, allocations: 168 kB / 0.9164 GB, free: 128.6 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004757/1.48, allocations: 2.75 MB / 0.9191 GB, free: 128.3 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001227/1.482, allocations: 87.95 kB / 0.9192 GB, free: 128.3 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00153/1.483, allocations: 2.01 MB / 0.9211 GB, free: 128.1 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002164/1.485, allocations: 1.301 MB / 0.9224 GB, free: 127.4 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/1.486, allocations: 69.47 kB / 0.9225 GB, free: 127.4 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.486, allocations: 444.8 kB / 0.9229 GB, free: 127.1 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005202/1.491, allocations: 2.673 MB / 0.9255 GB, free: 127.1 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005861/1.497, allocations: 3.263 MB / 0.9287 GB, free: 126.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006439/1.503, allocations: 2.92 MB / 0.9315 GB, free: 126.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.711e-05/1.504, allocations: 3.156 kB / 0.9315 GB, free: 126.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.06084/1.564, allocations: 20.21 MB / 0.9513 GB, free: 125.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001442/1.566, allocations: 6.699 MB / 0.9578 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.897e-05/1.566, allocations: 11.47 kB / 0.9578 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02813/1.594, allocations: 8.58 MB / 0.9662 GB, free: 118.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/1.597, allocations: 0.5341 MB / 0.9667 GB, free: 118.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08191/1.679, allocations: 38.26 MB / 1.004 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005766/1.685, allocations: 0.6941 MB / 1.005 GB, free: 102 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009219/1.686, allocations: 127.5 kB / 1.005 GB, free: 101.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/1.686, allocations: 8 kB / 1.005 GB, free: 101.9 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05207/1.738, allocations: 19.77 MB / 1.024 GB, free: 86.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-05/1.738, allocations: 18.03 kB / 1.024 GB, free: 86.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02633/1.764, allocations: 8.585 MB / 1.033 GB, free: 80.15 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/1.767, allocations: 0.5263 MB / 1.033 GB, free: 79.71 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08755/1.855, allocations: 38.23 MB / 1.07 GB, free: 46.95 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006091/1.861, allocations: 0.6672 MB / 1.071 GB, free: 46.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009379/1.862, allocations: 127.9 kB / 1.071 GB, free: 46.28 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (325): * Single equations (assignments): 321 * 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: 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.003138/1.865, allocations: 0.7308 MB / 1.072 GB, free: 45.56 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001632/1.867, allocations: 462.3 kB / 1.072 GB, free: 45.11 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05434/1.921, allocations: 20.47 MB / 1.092 GB, free: 27.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.893e-05/1.921, allocations: 36 kB / 1.092 GB, free: 27.36 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001326/1.921, allocations: 28 kB / 1.092 GB, free: 27.34 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001493/1.921, allocations: 23.92 kB / 1.092 GB, free: 27.31 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.07131/1.993, allocations: 25.76 MB / 1.118 GB, free: 1.469 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.634e-05/1.993, allocations: 0 / 1.118 GB, free: 1.469 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002751/1.995, allocations: 411.4 kB / 1.118 GB, free: 1.066 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02706/2.023, allocations: 8.527 MB / 1.126 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001425/2.024, allocations: 70.42 kB / 1.126 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4014/2.425, allocations: 32.25 MB / 1.158 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/2.426, allocations: 3.094 kB / 1.158 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06551/2.491, allocations: 24.15 MB / 1.181 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/2.493, allocations: 0.5628 MB / 1.182 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00187/2.495, allocations: 64.34 kB / 1.182 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005415/2.5, allocations: 492.6 kB / 1.183 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003547/2.504, allocations: 0.7697 MB / 1.183 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008824/2.505, allocations: 95.84 kB / 1.183 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.004125/2.509, allocations: 2.103 MB / 1.185 GB, free: 143.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.81e-07/2.509, allocations: 3.391 kB / 1.185 GB, free: 143.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01235/2.521, allocations: 2.896 MB / 1.188 GB, free: 143.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.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 (252): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 1 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06441/2.586, allocations: 24.88 MB / 1.213 GB, free: 141.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0452/2.631, allocations: 17.25 MB / 1.229 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/2.631, allocations: 0.5 kB / 1.229 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01892/2.65, allocations: 6.92 MB / 1.236 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003711/2.654, allocations: 309.5 kB / 1.236 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02531/2.679, allocations: 21.4 MB / 1.257 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002843/2.682, allocations: 2.594 MB / 1.26 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002793/2.685, allocations: 367.1 kB / 1.26 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002732/2.688, allocations: 1.939 MB / 1.262 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.263e-06/2.688, allocations: 4 kB / 1.262 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4885/3.176, allocations: 140.7 MB / 1.4 GB, free: 136.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/3.176, allocations: 217.5 kB / 1.4 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.275/10.45, allocations: 0 / 1.4 GB, free: 136.6 MB / 0.6042 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)