Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.ThreeArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_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.006454/0.006453, allocations: 170.4 kB / 15.11 MB, free: 5.969 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.422/1.422, allocations: 223.2 MB / 239 MB, free: 60 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009854/0.0009851, allocations: 99.44 kB / 290.2 MB, free: 4.582 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4629/0.4629, allocations: 78.58 MB / 419.9 MB, free: 36.51 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003744, allocations: 8 kB / 499.9 MB, free: 7.176 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.125, allocations: 69.36 MB / 0.5559 GB, free: 1.754 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3794/0.5045, allocations: 99.89 MB / 0.6534 GB, free: 2.266 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.5047, allocations: 84.02 kB / 0.6535 GB, free: 2.219 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.166/0.6707, allocations: 66.83 MB / 0.7188 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6707, allocations: 4 kB / 0.7188 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001604/0.6709, allocations: 59.94 kB / 0.7188 GB, free: 15.68 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01298/0.6839, allocations: 4.595 MB / 0.7233 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.6839, allocations: 8.031 kB / 0.7233 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007697/0.6847, allocations: 307 kB / 0.7236 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009798/0.6945, allocations: 1.604 MB / 0.7252 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005137/0.6997, allocations: 1.701 MB / 0.7268 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007374/0.7005, allocations: 0.6945 MB / 0.7275 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007046/0.7012, allocations: 207.9 kB / 0.7277 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006909/0.7081, allocations: 3.22 MB / 0.7309 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.014e-05/0.7082, allocations: 4 kB / 0.7309 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002501/0.7084, allocations: 80 kB / 0.7309 GB, free: 2.914 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-05/0.7085, allocations: 49.5 kB / 0.731 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006403/0.7149, allocations: 3.026 MB / 0.7339 GB, free: 15.82 MB / 0.5261 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.02/0.7349, allocations: 9.984 MB / 0.7437 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/0.7461, allocations: 4.758 MB / 0.7483 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000396/0.7466, allocations: 46.03 kB / 0.7484 GB, free: 464 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.7466, allocations: 56.56 kB / 0.7484 GB, free: 400 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=242): time 5.11e-06/0.7466, allocations: 0 / 0.7484 GB, free: 400 kB / 0.5261 GB Notification: Performance of matching and sorting (n=242): time 0.1018/0.8484, allocations: 28.48 MB / 0.7763 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.8485, allocations: 235.6 kB / 0.7765 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003199/0.8518, allocations: 1.904 MB / 0.7783 GB, free: 1.656 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006526/0.8524, allocations: 69.7 kB / 0.7784 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000923/0.8534, allocations: 1.196 MB / 0.7796 GB, free: 384 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001236/0.8546, allocations: 0.8317 MB / 0.7804 GB, free: 15.53 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.8548, allocations: 44 kB / 0.7804 GB, free: 15.48 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.855, allocations: 394.6 kB / 0.7808 GB, free: 15.09 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003903/0.8589, allocations: 1.871 MB / 0.7826 GB, free: 13.22 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004178/0.8631, allocations: 2.183 MB / 0.7848 GB, free: 10.93 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004259/0.8674, allocations: 2.086 MB / 0.7868 GB, free: 8.785 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/0.8674, allocations: 8 kB / 0.7868 GB, free: 8.777 MB / 0.573 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.3004/1.168, allocations: 14.32 MB / 0.8008 GB, free: 121 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005999/1.169, allocations: 2.866 MB / 0.8036 GB, free: 118 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/1.169, allocations: 9.547 kB / 0.8036 GB, free: 118 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01947/1.188, allocations: 6.308 MB / 0.8098 GB, free: 118 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/1.19, allocations: 379.3 kB / 0.8101 GB, free: 118 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0624/1.253, allocations: 26.03 MB / 0.8355 GB, free: 116.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004297/1.257, allocations: 0.5135 MB / 0.836 GB, free: 116 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007311/1.258, allocations: 81.62 kB / 0.8361 GB, free: 116 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.258, allocations: 7.469 kB / 0.8361 GB, free: 116 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04253/1.3, allocations: 14 MB / 0.8498 GB, free: 115.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.592e-05/1.3, allocations: 5.344 kB / 0.8498 GB, free: 115.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01851/1.319, allocations: 6.307 MB / 0.856 GB, free: 114.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/1.321, allocations: 362.9 kB / 0.8563 GB, free: 114.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0612/1.382, allocations: 26.02 MB / 0.8817 GB, free: 107 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004878/1.387, allocations: 0.4888 MB / 0.8822 GB, free: 106.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009467/1.388, allocations: 87.84 kB / 0.8823 GB, free: 106.9 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 variables: order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 4 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.002592/1.391, allocations: 0.5797 MB / 0.8828 GB, free: 106.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001412/1.392, allocations: 295.7 kB / 0.8831 GB, free: 106.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04001/1.432, allocations: 14.52 MB / 0.8973 GB, free: 100.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.943e-05/1.432, allocations: 25.41 kB / 0.8973 GB, free: 100.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.836e-05/1.432, allocations: 20 kB / 0.8973 GB, free: 100.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.658e-05/1.433, allocations: 15.39 kB / 0.8974 GB, free: 100.7 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.0486/1.481, allocations: 18.23 MB / 0.9152 GB, free: 86.77 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.761e-05/1.481, allocations: 0 / 0.9152 GB, free: 86.77 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/1.483, allocations: 272.8 kB / 0.9154 GB, free: 86.55 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01685/1.5, allocations: 6.045 MB / 0.9213 GB, free: 81.85 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009358/1.501, allocations: 47.42 kB / 0.9214 GB, free: 81.81 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05016/1.551, allocations: 22.67 MB / 0.9435 GB, free: 62.46 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.551, allocations: 4 kB / 0.9435 GB, free: 62.45 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04503/1.596, allocations: 17.07 MB / 0.9602 GB, free: 47.81 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/1.597, allocations: 411.5 kB / 0.9606 GB, free: 47.42 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001282/1.599, allocations: 53.88 kB / 0.9606 GB, free: 47.37 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003769/1.602, allocations: 391.7 kB / 0.961 GB, free: 46.99 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00235/1.605, allocations: 0.5488 MB / 0.9615 GB, free: 46.44 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005464/1.605, allocations: 65.11 kB / 0.9616 GB, free: 46.38 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002917/1.608, allocations: 1.476 MB / 0.963 GB, free: 44.89 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.91e-07/1.608, allocations: 0 / 0.963 GB, free: 44.89 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006723/1.615, allocations: 1.759 MB / 0.9648 GB, free: 43.21 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.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 (163): * Single equations (assignments): 160 * 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: 1 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04479/1.66, allocations: 17.85 MB / 0.9822 GB, free: 25.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03086/1.691, allocations: 11.92 MB / 0.9938 GB, free: 13.27 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.691, allocations: 4 kB / 0.9938 GB, free: 13.26 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01306/1.704, allocations: 4.775 MB / 0.9985 GB, free: 8.453 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/1.706, allocations: 235.8 kB / 0.9987 GB, free: 8.223 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01714/1.724, allocations: 11.97 MB / 1.01 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002054/1.726, allocations: 1.897 MB / 1.012 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001696/1.727, allocations: 265.7 kB / 1.013 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001811/1.729, allocations: 1.175 MB / 1.014 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of SimCode: time 9.72e-07/1.729, allocations: 0 / 1.014 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4496/2.179, allocations: 94.49 MB / 1.106 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/2.179, allocations: 224.5 kB / 1.106 GB, free: 124 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.912/8.091, allocations: 4 kB / 1.106 GB, free: 124 MB / 0.5886 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)