Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_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.006084/0.006084, allocations: 169.5 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.346/1.346, allocations: 223.2 MB / 239 MB, free: 1.789 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.001014/0.001014, allocations: 95.09 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5267/0.5267, allocations: 78.6 MB / 419.9 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004685, allocations: 12 kB / 499.8 MB, free: 2.832 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4079, allocations: 69.35 MB / 0.5559 GB, free: 38.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.5574, allocations: 102.2 MB / 0.6557 GB, free: 4.277 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/0.5577, allocations: 83.95 kB / 0.6557 GB, free: 4.195 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2785/0.8362, allocations: 99.88 MB / 0.7533 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8363, allocations: 0 / 0.7533 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0005328/0.8368, allocations: 87.94 kB / 0.7534 GB, free: 15.59 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: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.02398/0.8608, allocations: 6.597 MB / 0.7598 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.8609, allocations: 8.031 kB / 0.7598 GB, free: 8.895 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002023/0.8629, allocations: 492.8 kB / 0.7603 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01866/0.8816, allocations: 2.803 MB / 0.763 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007059/0.8887, allocations: 2.325 MB / 0.7653 GB, free: 3.188 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001162/0.8899, allocations: 0.9634 MB / 0.7662 GB, free: 2.094 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001563/0.8915, allocations: 339.9 kB / 0.7666 GB, free: 1.762 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2957/1.187, allocations: 4.954 MB / 0.7714 GB, free: 90.34 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.591e-05/1.187, allocations: 0 / 0.7714 GB, free: 90.34 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005168/1.188, allocations: 140.2 kB / 0.7715 GB, free: 90.34 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-05/1.188, allocations: 84.41 kB / 0.7716 GB, free: 90.34 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/1.2, allocations: 4.522 MB / 0.776 GB, free: 90.3 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.0392/1.24, allocations: 18.69 MB / 0.7943 GB, free: 83.88 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01329/1.253, allocations: 5.661 MB / 0.7998 GB, free: 83.43 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008556/1.254, allocations: 72.14 kB / 0.7999 GB, free: 83.43 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.051e-05/1.254, allocations: 72.45 kB / 0.8 GB, free: 83.39 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=381): time 1.091e-05/1.254, allocations: 3.516 kB / 0.8 GB, free: 83.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=381): time 0.342/1.596, allocations: 78.5 MB / 0.8766 GB, free: 79.31 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/1.596, allocations: 172.8 kB / 0.8768 GB, free: 79.14 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007331/1.603, allocations: 2.735 MB / 0.8795 GB, free: 77.53 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.00138/1.605, allocations: 90.7 kB / 0.8795 GB, free: 77.48 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001923/1.607, allocations: 1.997 MB / 0.8815 GB, free: 76.82 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002625/1.609, allocations: 1.292 MB / 0.8828 GB, free: 75.98 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/1.611, allocations: 73.12 kB / 0.8828 GB, free: 75.97 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003944/1.611, allocations: 442.2 kB / 0.8832 GB, free: 75.63 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006602/1.618, allocations: 2.667 MB / 0.8859 GB, free: 73.72 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006793/1.625, allocations: 3.241 MB / 0.889 GB, free: 70.66 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006298/1.631, allocations: 2.915 MB / 0.8919 GB, free: 67.93 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.453e-05/1.631, allocations: 4 kB / 0.8919 GB, free: 67.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.05869/1.69, allocations: 20.13 MB / 0.9115 GB, free: 48.13 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001354/1.691, allocations: 6.685 MB / 0.9181 GB, free: 40.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.67e-05/1.691, allocations: 16 kB / 0.9181 GB, free: 40.92 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02626/1.717, allocations: 8.469 MB / 0.9263 GB, free: 32.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003378/1.721, allocations: 0.555 MB / 0.9269 GB, free: 31.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09249/1.813, allocations: 36.73 MB / 0.9627 GB, free: 11.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007269/1.821, allocations: 0.6996 MB / 0.9634 GB, free: 10.42 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/1.822, allocations: 132 kB / 0.9636 GB, free: 10.29 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.822, allocations: 4 kB / 0.9636 GB, free: 10.29 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06561/1.888, allocations: 19.69 MB / 0.9828 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.66e-05/1.888, allocations: 17.22 kB / 0.9828 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3394/2.227, allocations: 8.46 MB / 0.9911 GB, free: 97.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003285/2.231, allocations: 0.5549 MB / 0.9916 GB, free: 97.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09309/2.324, allocations: 36.7 MB / 1.027 GB, free: 95.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006473/2.33, allocations: 0.6624 MB / 1.028 GB, free: 95.83 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/2.331, allocations: 131.7 kB / 1.028 GB, free: 95.83 MB / 0.5886 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (326): * Single equations (assignments): 323 * 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 43} Notification: Performance of prepare postOptimizeDAE: time 0.003389/2.335, allocations: 0.7243 MB / 1.029 GB, free: 95.61 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001813/2.336, allocations: 458.7 kB / 1.029 GB, free: 95.38 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05914/2.396, allocations: 20.46 MB / 1.049 GB, free: 95.04 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-05/2.396, allocations: 37.72 kB / 1.049 GB, free: 95.04 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.24e-05/2.396, allocations: 28.5 kB / 1.049 GB, free: 95.04 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000102/2.396, allocations: 23.81 kB / 1.049 GB, free: 95.04 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.06451/2.46, allocations: 25.73 MB / 1.075 GB, free: 90.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-05/2.461, allocations: 0 / 1.075 GB, free: 90.13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002743/2.463, allocations: 408.5 kB / 1.075 GB, free: 90.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0262/2.49, allocations: 8.546 MB / 1.083 GB, free: 88.71 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001143/2.491, allocations: 68.22 kB / 1.083 GB, free: 88.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07678/2.568, allocations: 32.23 MB / 1.115 GB, free: 74.37 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/2.568, allocations: 6.906 kB / 1.115 GB, free: 74.36 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06383/2.631, allocations: 24.12 MB / 1.138 GB, free: 54.94 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/2.633, allocations: 0.5593 MB / 1.139 GB, free: 54.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001533/2.634, allocations: 60 kB / 1.139 GB, free: 54.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005141/2.64, allocations: 497.6 kB / 1.139 GB, free: 54.01 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003167/2.643, allocations: 0.7718 MB / 1.14 GB, free: 53.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007023/2.644, allocations: 91.94 kB / 1.14 GB, free: 53.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003821/2.647, allocations: 2.096 MB / 1.142 GB, free: 51.75 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.71e-07/2.647, allocations: 0 / 1.142 GB, free: 51.75 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01129/2.659, allocations: 2.879 MB / 1.145 GB, free: 49 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (251): * Single equations (assignments): 249 * 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.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06491/2.724, allocations: 24.85 MB / 1.169 GB, free: 28.85 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04406/2.768, allocations: 16.93 MB / 1.186 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/2.768, allocations: 4 kB / 1.186 GB, free: 14.24 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01887/2.787, allocations: 6.919 MB / 1.193 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/2.79, allocations: 303.7 kB / 1.193 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02471/2.815, allocations: 21.28 MB / 1.214 GB, free: 3.219 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002961/2.818, allocations: 2.599 MB / 1.216 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002766/2.82, allocations: 361.9 kB / 1.217 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2796/3.1, allocations: 2.123 MB / 1.219 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of SimCode: time 2.344e-06/3.1, allocations: 0 / 1.219 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.232/3.332, allocations: 139.9 MB / 1.355 GB, free: 78.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/3.332, allocations: 222.5 kB / 1.356 GB, free: 78.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/10.83, allocations: 0 / 1.356 GB, free: 78.39 MB / 0.6042 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)