Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.005133/0.005133, allocations: 171 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.323/1.323, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0008947/0.0008944, allocations: 98.84 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.06154/0.06154, allocations: 12.2 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4186/0.4186, allocations: 78.52 MB / 459.6 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000509/0.000509, allocations: 28.95 kB / 0.528 GB, free: 35.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1221, allocations: 69.24 MB / 0.5956 GB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3686/0.4907, allocations: 100.6 MB / 0.6939 GB, free: 98.46 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.491, allocations: 81.36 kB / 0.694 GB, free: 98.46 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0795/0.5705, allocations: 30.53 MB / 0.7238 GB, free: 87.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5705, allocations: 0 / 0.7238 GB, free: 87.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001097/0.5707, allocations: 23.94 kB / 0.7238 GB, free: 87.28 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.005662/0.5763, allocations: 2.077 MB / 0.7259 GB, free: 85.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.5764, allocations: 11.98 kB / 0.7259 GB, free: 85.12 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004089/0.5768, allocations: 130.5 kB / 0.726 GB, free: 84.99 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003543/0.5804, allocations: 0.568 MB / 0.7266 GB, free: 84.42 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.5825, allocations: 0.8428 MB / 0.7274 GB, free: 83.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.5828, allocations: 230.5 kB / 0.7276 GB, free: 83.27 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002654/0.583, allocations: 79.91 kB / 0.7277 GB, free: 83.19 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.585, allocations: 1.173 MB / 0.7288 GB, free: 82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.5851, allocations: 0 / 0.7288 GB, free: 82 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.141e-05/0.5852, allocations: 31.94 kB / 0.7288 GB, free: 81.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.5852, allocations: 20 kB / 0.7289 GB, free: 81.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.5871, allocations: 1.085 MB / 0.7299 GB, free: 80.86 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.006628/0.5937, allocations: 3.945 MB / 0.7338 GB, free: 76.72 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007005/0.6008, allocations: 2.906 MB / 0.7366 GB, free: 73.72 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.6009, allocations: 20.98 kB / 0.7366 GB, free: 73.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.601, allocations: 43.56 kB / 0.7367 GB, free: 73.65 MB / 474.7 MB Notification: Performance of pre-optimization done (n=95): time 3.446e-06/0.601, allocations: 0 / 0.7367 GB, free: 73.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=95): time 0.0273/0.6283, allocations: 8.155 MB / 0.7446 GB, free: 65.46 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.6284, allocations: 145.5 kB / 0.7448 GB, free: 65.29 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.6305, allocations: 0.9652 MB / 0.7457 GB, free: 64.31 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003069/0.6308, allocations: 41.7 kB / 0.7458 GB, free: 64.26 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/0.6312, allocations: 0.5171 MB / 0.7463 GB, free: 63.74 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004952/0.6317, allocations: 343 kB / 0.7466 GB, free: 63.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.6318, allocations: 20 kB / 0.7466 GB, free: 63.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.6319, allocations: 345.9 kB / 0.7469 GB, free: 63.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.6332, allocations: 0.6579 MB / 0.7476 GB, free: 62.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.6346, allocations: 0.7994 MB / 0.7484 GB, free: 61.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.636, allocations: 0.7619 MB / 0.7491 GB, free: 60.76 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.636, allocations: 0 / 0.7491 GB, free: 60.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01298/0.649, allocations: 4.774 MB / 0.7538 GB, free: 55.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003168/0.6494, allocations: 1.205 MB / 0.755 GB, free: 54.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.6494, allocations: 3.938 kB / 0.755 GB, free: 54.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00607/0.6555, allocations: 1.926 MB / 0.7568 GB, free: 52.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009079/0.6564, allocations: 159.8 kB / 0.757 GB, free: 52.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/0.6758, allocations: 10.61 MB / 0.7674 GB, free: 41.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/0.6777, allocations: 203.2 kB / 0.7675 GB, free: 41.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002648/0.678, allocations: 39.92 kB / 0.7676 GB, free: 41.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.6781, allocations: 4 kB / 0.7676 GB, free: 41.45 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01241/0.6905, allocations: 4.606 MB / 0.7721 GB, free: 36.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.6905, allocations: 4 kB / 0.7721 GB, free: 36.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005874/0.6964, allocations: 1.938 MB / 0.774 GB, free: 34.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008422/0.6973, allocations: 147.8 kB / 0.7741 GB, free: 34.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01852/0.7158, allocations: 10.62 MB / 0.7845 GB, free: 23.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.7176, allocations: 183.2 kB / 0.7847 GB, free: 23.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/0.7178, allocations: 35.98 kB / 0.7847 GB, free: 23.61 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 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: 13 * 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 (90): * Single equations (assignments): 86 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007603/0.7186, allocations: 366.3 kB / 0.7851 GB, free: 23.24 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000454/0.719, allocations: 138.4 kB / 0.7852 GB, free: 23.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/0.7308, allocations: 4.654 MB / 0.7897 GB, free: 18.42 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.7309, allocations: 12 kB / 0.7897 GB, free: 18.41 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.7309, allocations: 7.953 kB / 0.7897 GB, free: 18.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/0.7309, allocations: 11.98 kB / 0.7898 GB, free: 18.39 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 postOpt removeSimpleEquations (simulation): time 0.01409/0.745, allocations: 6.312 MB / 0.7959 GB, free: 11.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.7451, allocations: 4.031 kB / 0.7959 GB, free: 11.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007633/0.7458, allocations: 119.8 kB / 0.796 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004822/0.7507, allocations: 1.785 MB / 0.7978 GB, free: 10.06 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/0.7508, allocations: 24 kB / 0.7978 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01519/0.7661, allocations: 8.011 MB / 0.8056 GB, free: 1.883 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.7661, allocations: 0 / 0.8056 GB, free: 1.883 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/0.7809, allocations: 5.595 MB / 0.8111 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007318/0.7816, allocations: 235.2 kB / 0.8113 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004756/0.7821, allocations: 20 kB / 0.8113 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/0.7838, allocations: 139.8 kB / 0.8115 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006702/0.7845, allocations: 188.6 kB / 0.8117 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.7846, allocations: 24 kB / 0.8117 GB, free: 11.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001668/0.7863, allocations: 0.7594 MB / 0.8124 GB, free: 10.87 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7863, allocations: 0 / 0.8124 GB, free: 10.87 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00264/0.7889, allocations: 0.6984 MB / 0.8131 GB, free: 10.17 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (69): * Single equations (assignments): 67 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01486/0.8038, allocations: 6.276 MB / 0.8192 GB, free: 3.848 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0106/0.8144, allocations: 4.523 MB / 0.8236 GB, free: 15.22 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.8145, allocations: 0 / 0.8236 GB, free: 15.22 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003946/0.8184, allocations: 1.684 MB / 0.8253 GB, free: 13.51 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009388/0.8194, allocations: 122.9 kB / 0.8254 GB, free: 13.39 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/0.8254, allocations: 5.377 MB / 0.8307 GB, free: 7.906 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/0.8261, allocations: 1.168 MB / 0.8318 GB, free: 6.711 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0005126/0.8267, allocations: 126.6 kB / 0.8319 GB, free: 6.582 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005943/0.8273, allocations: 471.3 kB / 0.8324 GB, free: 6.121 MB / 0.4949 GB Notification: Performance of SimCode: time 2.064e-06/0.8273, allocations: 4 kB / 0.8324 GB, free: 6.117 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06177/0.8891, allocations: 37.23 MB / 0.8687 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/0.8893, allocations: 219.5 kB / 0.8689 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.127/4.016, allocations: 0 / 0.8689 GB, free: 0.7969 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)