Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order6test2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package iPSL with version 1.1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/iPSL 1.1.0/package.mo) Running command: "" <> buildModelFMU(iPSL.Examples.Machines.PSAT.Order6test2,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(iPSL): time 2.026/2.026, allocations: 221.9 MB / 234.5 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.041e-05, allocations: 8 kB / 292.3 MB, free: 1.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1022, allocations: 50.49 MB / 342.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.5066, allocations: 75.56 MB / 418.4 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.5069, allocations: 71.95 kB / 418.4 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07423/0.5811, allocations: 16.5 MB / 434.9 MB, free: 276 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5812, allocations: 0 / 434.9 MB, free: 276 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.712e-05/0.5813, allocations: 27.94 kB / 435 MB, free: 248 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.006565/0.5878, allocations: 1.407 MB / 436.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.5879, allocations: 8.031 kB / 436.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000325/0.5882, allocations: 118.5 kB / 436.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004339/0.5926, allocations: 474.3 kB / 437 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.5941, allocations: 0.5961 MB / 437.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003368/0.5944, allocations: 218.5 kB / 437.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.5947, allocations: 71.94 kB / 437.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.5971, allocations: 0.8079 MB / 438.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.5972, allocations: 0 / 438.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.5973, allocations: 24 kB / 438.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.5973, allocations: 16 kB / 438.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/0.5998, allocations: 0.7811 MB / 439.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009698/0.6096, allocations: 3.283 MB / 442.8 MB, free: 8.152 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.6118, allocations: 0.705 MB / 443.5 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.6133, allocations: 0.5269 MB / 444 MB, free: 6.906 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.6135, allocations: 8.781 kB / 444 MB, free: 6.898 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.6136, allocations: 43.34 kB / 444 MB, free: 6.844 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 3.456e-06/0.6136, allocations: 0 / 444 MB, free: 6.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=79): time 0.02236/0.636, allocations: 3.934 MB / 448 MB, free: 2.898 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.6361, allocations: 60.19 kB / 448 MB, free: 2.828 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.6374, allocations: 0.5658 MB / 448.6 MB, free: 2.258 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002446/0.6376, allocations: 33.7 kB / 448.6 MB, free: 2.219 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/0.638, allocations: 356.3 kB / 449 MB, free: 1.867 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004072/0.6384, allocations: 287.9 kB / 449.3 MB, free: 1.582 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.6385, allocations: 8 kB / 449.3 MB, free: 1.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.6387, allocations: 390.8 kB / 449.6 MB, free: 1.184 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.64, allocations: 409.6 kB / 450 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.6415, allocations: 0.5042 MB / 450.6 MB, free: 256 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.6428, allocations: 465.1 kB / 451 MB, free: 15.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.6428, allocations: 0 / 451 MB, free: 15.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.02309/0.6659, allocations: 4.066 MB / 455.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.666, allocations: 4 kB / 455.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.6661, allocations: 4 kB / 455.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01053/0.6766, allocations: 1.733 MB / 456.8 MB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.6777, allocations: 99.83 kB / 456.9 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02676/0.7045, allocations: 7.237 MB / 464.1 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/0.7066, allocations: 155.3 kB / 464.3 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.7067, allocations: 24 kB / 464.3 MB, free: 2.32 MB / 378.7 MB Warning: Assuming fixed start value for the following 4 variables: order6Type2_1.e2d:VARIABLE(start = order6Type2_1.e2d0 ) "d-axis sub-transient voltage" type: Real order6Type2_1.e2q:VARIABLE(start = order6Type2_1.e2q0 ) "q-axis sub-transient voltage" type: Real order6Type2_1.e1d:VARIABLE(start = order6Type2_1.e1d0 ) "d-axis transient voltage" type: Real order6Type2_1.e1q:VARIABLE(start = order6Type2_1.e1q0 ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * 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 {27 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003663/0.7071, allocations: 153.8 kB / 464.5 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.7073, allocations: 75.06 kB / 464.5 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02244/0.7298, allocations: 4.091 MB / 468.6 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.7298, allocations: 8 kB / 468.6 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7299, allocations: 0 / 468.6 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.123e-05/0.7299, allocations: 3.984 kB / 468.6 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.7321, allocations: 1.068 MB / 469.7 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.7321, allocations: 3.984 kB / 469.7 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009886/0.7331, allocations: 79.91 kB / 469.8 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00949/0.7427, allocations: 1.655 MB / 471.5 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000228/0.7429, allocations: 15.95 kB / 471.5 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02286/0.7658, allocations: 6.309 MB / 477.8 MB, free: 4.641 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.7659, allocations: 3.938 kB / 477.8 MB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02445/0.7903, allocations: 4.776 MB / 482.6 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/0.7907, allocations: 172 kB / 482.7 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.791, allocations: 16 kB / 482.7 MB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/0.7928, allocations: 111.9 kB / 482.9 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009209/0.7937, allocations: 188.3 kB / 483 MB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.7939, allocations: 27.98 kB / 483.1 MB, free: 15.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008798/0.7948, allocations: 447.2 kB / 483.5 MB, free: 14.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7948, allocations: 0 / 483.5 MB, free: 14.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001454/0.7962, allocations: 351.5 kB / 483.8 MB, free: 14.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.02461/0.8209, allocations: 5.364 MB / 489.2 MB, free: 9.137 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009179/0.8301, allocations: 1.956 MB / 491.2 MB, free: 7.164 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.8301, allocations: 0 / 491.2 MB, free: 7.164 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007447/0.8376, allocations: 1.457 MB / 492.6 MB, free: 5.695 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006385/0.8383, allocations: 63.83 kB / 492.7 MB, free: 5.633 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/0.8427, allocations: 1.349 MB / 494 MB, free: 4.242 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006917/0.8434, allocations: 0.9976 MB / 495 MB, free: 3.219 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004841/0.8439, allocations: 60.88 kB / 495.1 MB, free: 3.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006785/0.8446, allocations: 295.3 kB / 495.4 MB, free: 2.871 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.8446, allocations: 4 kB / 495.4 MB, free: 2.867 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08473/0.9294, allocations: 25.2 MB / 0.5084 GB, free: 9.734 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004022/0.9299, allocations: 165.1 kB / 0.5085 GB, free: 9.504 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.182/4.112, allocations: 3.938 kB / 0.5085 GB, free: 9.5 MB / 442.7 MB