Running command: translateModel(iPSL.Examples.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order6test2") Notification: Performance of loadModel(iPSL): time 2.101/2.101, allocations: 221.9 MB / 234.1 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.386e-05/4.403e-05, allocations: 4.625 kB / 287.5 MB, free: 6.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.09957, allocations: 50.5 MB / 338 MB, free: 3.715 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3393/0.439, allocations: 75.56 MB / 413.5 MB, free: 2.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.4392, allocations: 65.91 kB / 413.6 MB, free: 2.469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0683/0.5075, allocations: 16.45 MB / 430 MB, free: 3.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.079e-06/0.5076, allocations: 0 / 430 MB, free: 3.434 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.948e-05/0.5077, allocations: 15.94 kB / 430.1 MB, free: 3.418 MB / 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.00506/0.5127, allocations: 1.407 MB / 431.5 MB, free: 1.965 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.5128, allocations: 19.91 kB / 431.5 MB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003966/0.5168, allocations: 474.3 kB / 431.9 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.5183, allocations: 0.5884 MB / 432.5 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003154/0.5186, allocations: 230.4 kB / 432.8 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.5189, allocations: 64 kB / 432.8 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.5211, allocations: 0.7962 MB / 433.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.5211, allocations: 0 / 433.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.5213, allocations: 28 kB / 433.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.5213, allocations: 16 kB / 433.7 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.5234, allocations: 0.7733 MB / 434.4 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008171/0.5316, allocations: 3.283 MB / 437.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.5337, allocations: 0.6918 MB / 438.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.535, allocations: 0.5308 MB / 438.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.5352, allocations: 8.781 kB / 439 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.5352, allocations: 43.34 kB / 439 MB, free: 10.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 4.618e-06/0.5352, allocations: 0 / 439 MB, free: 10.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=79): time 0.01489/0.5501, allocations: 3.934 MB / 442.9 MB, free: 6.215 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.5502, allocations: 60.19 kB / 443 MB, free: 6.145 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.5514, allocations: 0.558 MB / 443.5 MB, free: 5.582 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002025/0.5517, allocations: 37.7 kB / 443.6 MB, free: 5.539 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/0.552, allocations: 356.3 kB / 443.9 MB, free: 5.188 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004058/0.5524, allocations: 283.9 kB / 444.2 MB, free: 4.906 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-05/0.5525, allocations: 20 kB / 444.2 MB, free: 4.887 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002417/0.5528, allocations: 382.8 kB / 444.6 MB, free: 4.504 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.554, allocations: 417.5 kB / 445 MB, free: 4.094 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.5554, allocations: 0.491 MB / 445.5 MB, free: 3.582 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.5569, allocations: 469.1 kB / 446 MB, free: 3.121 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.5569, allocations: 0 / 446 MB, free: 3.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01536/0.5723, allocations: 4.055 MB / 450 MB, free: 15.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.5723, allocations: 4 kB / 450 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.5724, allocations: 4 kB / 450 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007491/0.5799, allocations: 1.725 MB / 451.7 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/0.5807, allocations: 103.8 kB / 451.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02142/0.6021, allocations: 7.245 MB / 459.1 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.6035, allocations: 155.3 kB / 459.2 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.6036, allocations: 28 kB / 459.3 MB, free: 5.645 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.0003359/0.6039, allocations: 153.8 kB / 459.4 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/0.6042, allocations: 79.02 kB / 459.5 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01487/0.6191, allocations: 4.087 MB / 463.6 MB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.6191, allocations: 8 kB / 463.6 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.6192, allocations: 0 / 463.6 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.362e-05/0.6192, allocations: 3.984 kB / 463.6 MB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.6212, allocations: 1.076 MB / 464.7 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.999e-06/0.6212, allocations: 0 / 464.7 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006822/0.6219, allocations: 83.91 kB / 464.8 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006708/0.6286, allocations: 1.656 MB / 466.4 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001987/0.6289, allocations: 16 kB / 466.4 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01787/0.6467, allocations: 6.305 MB / 472.7 MB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.601e-06/0.6468, allocations: 4 kB / 472.7 MB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01689/0.6637, allocations: 4.772 MB / 477.5 MB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005333/0.6643, allocations: 175.9 kB / 477.7 MB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/0.6645, allocations: 19.94 kB / 477.7 MB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.6657, allocations: 111.9 kB / 477.8 MB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006911/0.6664, allocations: 184.4 kB / 478 MB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.6665, allocations: 20 kB / 478 MB, free: 2.641 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008485/0.6674, allocations: 459.1 kB / 478.5 MB, free: 2.199 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.46e-07/0.6674, allocations: 0 / 478.5 MB, free: 2.199 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001475/0.6689, allocations: 355.4 kB / 478.8 MB, free: 1.852 MB / 394.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.0003438/0.6692, allocations: 148.8 kB / 478.9 MB, free: 1.695 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006549/0.6758, allocations: 1.937 MB / 480.9 MB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.304e-06/0.6759, allocations: 0 / 480.9 MB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005128/0.681, allocations: 1.435 MB / 482.3 MB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000619/0.6817, allocations: 51 kB / 482.4 MB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/0.6853, allocations: 1.195 MB / 483.6 MB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008039/0.6861, allocations: 0.9937 MB / 484.6 MB, free: 12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004827/0.6866, allocations: 64.94 kB / 484.6 MB, free: 11.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.6869, allocations: 51.42 kB / 484.7 MB, free: 11.89 MB / 410.7 MB Notification: Performance of SimCode: time 2.045e-06/0.687, allocations: 0 / 484.7 MB, free: 11.89 MB / 410.7 MB Notification: Performance of Templates: time 0.04291/0.7299, allocations: 18.66 MB / 0.4915 GB, free: 9.219 MB / 426.7 MB