Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.007104/0.007104, allocations: 173.4 kB / 15.12 MB, free: 5.973 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.417/1.417, allocations: 223.2 MB / 239 MB, free: 1.773 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 94.48 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5015/0.5015, allocations: 79.44 MB / 420.7 MB, free: 43.77 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004016, allocations: 12 kB / 0.4891 GB, free: 1.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3892, allocations: 69.5 MB / 0.557 GB, free: 39.09 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.522, allocations: 103.1 MB / 0.6577 GB, free: 2.445 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.5223, allocations: 83.91 kB / 0.6578 GB, free: 2.363 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2713/0.7936, allocations: 102.3 MB / 0.7577 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.675e-06/0.7937, allocations: 0 / 0.7577 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0004646/0.7942, allocations: 87.94 kB / 0.7578 GB, free: 11.34 MB / 0.5573 GB 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.02313/0.8173, allocations: 6.66 MB / 0.7643 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.8174, allocations: 8.031 kB / 0.7643 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002684/0.8201, allocations: 484.8 kB / 0.7647 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02004/0.8401, allocations: 2.811 MB / 0.7675 GB, free: 1.277 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3542/1.194, allocations: 2.339 MB / 0.7698 GB, free: 88.7 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001179/1.196, allocations: 0.9587 MB / 0.7707 GB, free: 88.03 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001681/1.197, allocations: 341.7 kB / 0.771 GB, free: 88.03 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/1.211, allocations: 4.965 MB / 0.7759 GB, free: 87.85 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.912e-05/1.211, allocations: 3.688 kB / 0.7759 GB, free: 87.85 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004468/1.212, allocations: 142.8 kB / 0.776 GB, free: 87.85 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.96e-05/1.212, allocations: 92 kB / 0.7761 GB, free: 87.85 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/1.223, allocations: 4.524 MB / 0.7805 GB, free: 87.81 MB / 0.5573 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.03888/1.262, allocations: 18.73 MB / 0.7988 GB, free: 81.52 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/1.276, allocations: 5.687 MB / 0.8044 GB, free: 81.08 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009375/1.277, allocations: 70.08 kB / 0.8044 GB, free: 81.07 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.297e-05/1.277, allocations: 73.73 kB / 0.8045 GB, free: 81.03 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 9.918e-06/1.277, allocations: 0 / 0.8045 GB, free: 81.03 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.3068/1.584, allocations: 79 MB / 0.8816 GB, free: 74.61 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/1.584, allocations: 175.1 kB / 0.8818 GB, free: 74.41 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00643/1.59, allocations: 2.751 MB / 0.8845 GB, free: 72.77 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001229/1.592, allocations: 88.14 kB / 0.8846 GB, free: 72.73 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001729/1.593, allocations: 2.004 MB / 0.8865 GB, free: 71.25 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002373/1.596, allocations: 1.301 MB / 0.8878 GB, free: 70.14 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/1.597, allocations: 72 kB / 0.8879 GB, free: 70.07 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003151/1.597, allocations: 444 kB / 0.8883 GB, free: 69.67 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006055/1.603, allocations: 2.673 MB / 0.8909 GB, free: 67.33 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006624/1.61, allocations: 3.255 MB / 0.8941 GB, free: 64.05 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00654/1.616, allocations: 2.915 MB / 0.8969 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.563e-05/1.617, allocations: 8 kB / 0.8969 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.07744/1.694, allocations: 20.21 MB / 0.9167 GB, free: 41.05 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001532/1.696, allocations: 6.697 MB / 0.9232 GB, free: 33.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-05/1.696, allocations: 12 kB / 0.9232 GB, free: 33.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03606/1.732, allocations: 8.591 MB / 0.9316 GB, free: 25.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003935/1.736, allocations: 0.5298 MB / 0.9321 GB, free: 24.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1297/1.865, allocations: 38.26 MB / 0.9695 GB, free: 2.25 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00833/1.874, allocations: 0.7113 MB / 0.9702 GB, free: 1.535 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001482/1.875, allocations: 132 kB / 0.9703 GB, free: 1.406 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/1.875, allocations: 5.562 kB / 0.9703 GB, free: 1.402 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4427/2.318, allocations: 19.76 MB / 0.9896 GB, free: 95.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.501e-05/2.318, allocations: 15.5 kB / 0.9896 GB, free: 95.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02746/2.346, allocations: 8.585 MB / 0.998 GB, free: 95.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/2.349, allocations: 0.528 MB / 0.9985 GB, free: 95.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0883/2.437, allocations: 38.23 MB / 1.036 GB, free: 92.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006537/2.444, allocations: 0.6811 MB / 1.037 GB, free: 92.06 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000713/2.444, allocations: 128.8 kB / 1.037 GB, free: 92.06 MB / 0.5886 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.002495/2.447, allocations: 0.7259 MB / 1.037 GB, free: 91.84 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001468/2.448, allocations: 466.6 kB / 1.038 GB, free: 91.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05735/2.506, allocations: 20.47 MB / 1.058 GB, free: 91.26 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.334e-05/2.506, allocations: 46.55 kB / 1.058 GB, free: 91.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.474e-05/2.506, allocations: 27.12 kB / 1.058 GB, free: 91.25 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001284/2.506, allocations: 20.91 kB / 1.058 GB, free: 91.25 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.06429/2.57, allocations: 25.77 MB / 1.083 GB, free: 84.87 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.75e-05/2.57, allocations: 3.422 kB / 1.083 GB, free: 84.87 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002643/2.573, allocations: 407 kB / 1.083 GB, free: 84.85 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02492/2.598, allocations: 8.525 MB / 1.092 GB, free: 83.44 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001103/2.599, allocations: 71.45 kB / 1.092 GB, free: 83.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07151/2.671, allocations: 32.26 MB / 1.123 GB, free: 64.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/2.671, allocations: 5.594 kB / 1.123 GB, free: 64.62 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06228/2.733, allocations: 24.15 MB / 1.147 GB, free: 45.17 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/2.735, allocations: 0.5574 MB / 1.147 GB, free: 44.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/2.736, allocations: 67.19 kB / 1.148 GB, free: 44.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004753/2.741, allocations: 0.4995 MB / 1.148 GB, free: 44.23 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002768/2.744, allocations: 0.7682 MB / 1.149 GB, free: 43.81 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003436/2.744, allocations: 95.52 kB / 1.149 GB, free: 43.72 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002806/2.747, allocations: 2.116 MB / 1.151 GB, free: 41.95 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.91e-07/2.747, allocations: 0 / 1.151 GB, free: 41.95 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007642/2.754, allocations: 2.893 MB / 1.154 GB, free: 39.18 MB / 0.5886 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.06116/2.816, allocations: 24.89 MB / 1.178 GB, free: 19.04 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0438/2.859, allocations: 17.24 MB / 1.195 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/2.859, allocations: 0 / 1.195 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02207/2.882, allocations: 7.135 MB / 1.202 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/2.885, allocations: 315 kB / 1.202 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3132/3.198, allocations: 21.84 MB / 1.223 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003188/3.201, allocations: 2.601 MB / 1.226 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002517/3.204, allocations: 360.4 kB / 1.226 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002488/3.207, allocations: 1.941 MB / 1.228 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.252e-06/3.207, allocations: 0 / 1.228 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2121/3.419, allocations: 140.8 MB / 1.366 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/3.419, allocations: 224.5 kB / 1.366 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/11.18, allocations: 0 / 1.366 GB, free: 59.93 MB / 0.6042 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)