Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_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.01008/0.01008, allocations: 170.4 kB / 15.11 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.366/1.366, allocations: 223.2 MB / 239 MB, free: 1.785 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.0009334/0.0009334, allocations: 102.8 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.4733/0.4733, allocations: 78.59 MB / 419.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003905, allocations: 12 kB / 499.9 MB, free: 2.828 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3923, allocations: 69.35 MB / 0.5559 GB, free: 38.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.5231, allocations: 101.1 MB / 0.6546 GB, free: 5.402 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.5234, allocations: 82.28 kB / 0.6546 GB, free: 5.324 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.262/0.7854, allocations: 98.87 MB / 0.7512 GB, free: 1.832 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.605e-06/0.7855, allocations: 0 / 0.7512 GB, free: 1.832 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0005299/0.786, allocations: 87.94 kB / 0.7513 GB, free: 1.746 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.02244/0.8085, allocations: 6.539 MB / 0.7576 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.8086, allocations: 8.031 kB / 0.7577 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002507/0.8111, allocations: 488.7 kB / 0.7581 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01949/0.8306, allocations: 2.81 MB / 0.7609 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007842/0.8385, allocations: 2.29 MB / 0.7631 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001156/0.8397, allocations: 0.9634 MB / 0.764 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001781/0.8415, allocations: 347.8 kB / 0.7644 GB, free: 4 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3211/1.163, allocations: 4.934 MB / 0.7692 GB, free: 89.88 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.414e-05/1.163, allocations: 1.125 kB / 0.7692 GB, free: 89.88 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005492/1.163, allocations: 136.4 kB / 0.7693 GB, free: 89.88 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.139e-05/1.163, allocations: 84.81 kB / 0.7694 GB, free: 89.88 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/1.177, allocations: 4.508 MB / 0.7738 GB, free: 89.84 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.0424/1.219, allocations: 18.62 MB / 0.792 GB, free: 83.42 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01357/1.233, allocations: 5.654 MB / 0.7975 GB, free: 82.98 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008758/1.234, allocations: 66.5 kB / 0.7976 GB, free: 82.97 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/1.234, allocations: 77.95 kB / 0.7977 GB, free: 82.93 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=379): time 7.023e-06/1.234, allocations: 0 / 0.7977 GB, free: 82.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=379): time 0.3005/1.534, allocations: 76.59 MB / 0.8724 GB, free: 78.95 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/1.534, allocations: 171.6 kB / 0.8726 GB, free: 78.79 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004/1.538, allocations: 2.707 MB / 0.8753 GB, free: 78.51 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008929/1.539, allocations: 84.95 kB / 0.8753 GB, free: 78.48 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001192/1.54, allocations: 1.986 MB / 0.8773 GB, free: 78.05 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001739/1.542, allocations: 1.286 MB / 0.8785 GB, free: 77.39 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003147/1.543, allocations: 71.31 kB / 0.8786 GB, free: 77.39 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.543, allocations: 443.2 kB / 0.879 GB, free: 77.09 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004968/1.548, allocations: 2.647 MB / 0.8816 GB, free: 75.92 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005408/1.553, allocations: 3.233 MB / 0.8848 GB, free: 73.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00534/1.558, allocations: 2.899 MB / 0.8876 GB, free: 70.52 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/1.559, allocations: 4 kB / 0.8876 GB, free: 70.51 MB / 0.5573 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.05574/1.614, allocations: 20.11 MB / 0.9072 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001141/1.615, allocations: 6.674 MB / 0.9138 GB, free: 44.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.094e-05/1.615, allocations: 16 kB / 0.9138 GB, free: 44.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02616/1.642, allocations: 8.51 MB / 0.9221 GB, free: 35.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003093/1.645, allocations: 0.5345 MB / 0.9226 GB, free: 35.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08589/1.731, allocations: 36.87 MB / 0.9586 GB, free: 14.13 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006752/1.738, allocations: 0.6841 MB / 0.9593 GB, free: 13.44 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001435/1.739, allocations: 132 kB / 0.9594 GB, free: 13.31 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.739, allocations: 4 kB / 0.9594 GB, free: 13.31 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0597/1.799, allocations: 19.67 MB / 0.9786 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.015e-05/1.799, allocations: 16 kB / 0.9786 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02885/1.828, allocations: 8.502 MB / 0.9869 GB, free: 1.121 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003086/1.831, allocations: 0.5305 MB / 0.9874 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3726/2.204, allocations: 36.85 MB / 1.023 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006528/2.21, allocations: 0.6598 MB / 1.024 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007128/2.211, allocations: 131.4 kB / 1.024 GB, free: 105.3 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.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 (320): * Single equations (assignments): 317 * 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: 0 * Non-linear torn systems: 1 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.00236/2.213, allocations: 0.7232 MB / 1.025 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001415/2.215, allocations: 464 kB / 1.025 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05979/2.274, allocations: 20.42 MB / 1.045 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.45e-05/2.275, allocations: 39.56 kB / 1.045 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.026e-05/2.275, allocations: 31.73 kB / 1.045 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001337/2.275, allocations: 18.61 kB / 1.045 GB, free: 104.5 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.06557/2.34, allocations: 25.67 MB / 1.07 GB, free: 99.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-05/2.34, allocations: 0 / 1.07 GB, free: 99.19 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002502/2.343, allocations: 406.6 kB / 1.071 GB, free: 99.17 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02563/2.369, allocations: 8.552 MB / 1.079 GB, free: 97.76 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001092/2.37, allocations: 67.44 kB / 1.079 GB, free: 97.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07501/2.445, allocations: 32.25 MB / 1.111 GB, free: 80.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/2.445, allocations: 0 / 1.111 GB, free: 80.59 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06244/2.507, allocations: 24.06 MB / 1.134 GB, free: 61.22 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/2.509, allocations: 0.5592 MB / 1.135 GB, free: 60.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001935/2.511, allocations: 64 kB / 1.135 GB, free: 60.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005189/2.516, allocations: 488.3 kB / 1.135 GB, free: 60.29 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003429/2.52, allocations: 0.7648 MB / 1.136 GB, free: 59.87 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007783/2.52, allocations: 101.8 kB / 1.136 GB, free: 59.78 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003772/2.524, allocations: 2.065 MB / 1.138 GB, free: 58.05 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.1e-07/2.524, allocations: 0 / 1.138 GB, free: 58.05 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01059/2.535, allocations: 2.868 MB / 1.141 GB, free: 55.31 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (249): * Single equations (assignments): 247 * 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 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06162/2.596, allocations: 24.8 MB / 1.165 GB, free: 35.23 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04447/2.641, allocations: 16.9 MB / 1.182 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/2.641, allocations: 0 / 1.182 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01939/2.66, allocations: 6.907 MB / 1.188 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004043/2.664, allocations: 313.6 kB / 1.189 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0229/2.687, allocations: 21.03 MB / 1.209 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00212/2.69, allocations: 2.582 MB / 1.212 GB, free: 7.977 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00214/2.692, allocations: 358.3 kB / 1.212 GB, free: 7.734 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002876/2.695, allocations: 1.96 MB / 1.214 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of SimCode: time 1.242e-06/2.695, allocations: 0 / 1.214 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5457/3.24, allocations: 139.4 MB / 1.35 GB, free: 85.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/3.241, allocations: 218.5 kB / 1.35 GB, free: 85.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/10.73, allocations: 0 / 1.35 GB, free: 85.38 MB / 0.6042 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)