Running command: translateModel(iPSL.Examples.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order4test2") Notification: Performance of loadModel(iPSL): time 1.949/1.949, allocations: 221.9 MB / 234.1 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.528e-05, allocations: 7.078 kB / 287.5 MB, free: 6.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08737/0.08743, allocations: 50.5 MB / 338 MB, free: 3.723 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3341/0.4216, allocations: 75.33 MB / 413.3 MB, free: 2.723 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001792/0.4218, allocations: 68.31 kB / 413.4 MB, free: 2.691 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0615/0.4833, allocations: 15.39 MB / 428.7 MB, free: 4.734 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.341e-06/0.4833, allocations: 3.938 kB / 428.8 MB, free: 4.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.322e-05/0.4834, allocations: 20 kB / 428.8 MB, free: 4.711 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.004535/0.488, allocations: 1.356 MB / 430.1 MB, free: 3.309 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.488, allocations: 8.031 kB / 430.1 MB, free: 3.301 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003811/0.4918, allocations: 474.3 kB / 430.6 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.493, allocations: 0.5456 MB / 431.1 MB, free: 2.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002957/0.4933, allocations: 222.4 kB / 431.4 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.4935, allocations: 67.91 kB / 431.4 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.4956, allocations: 0.7766 MB / 432.2 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.4956, allocations: 7.938 kB / 432.2 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.4957, allocations: 28 kB / 432.2 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.4958, allocations: 16 kB / 432.3 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/0.4977, allocations: 0.7577 MB / 433 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00711/0.5049, allocations: 3.158 MB / 436.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.5066, allocations: 0.6474 MB / 436.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.5078, allocations: 0.5152 MB / 437.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.508, allocations: 20.77 kB / 437.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.508, allocations: 39.33 kB / 437.4 MB, free: 11.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=77): time 4.252e-06/0.508, allocations: 0 / 437.4 MB, free: 11.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=77): time 0.01486/0.5229, allocations: 3.914 MB / 441.3 MB, free: 7.844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.523, allocations: 60.19 kB / 441.4 MB, free: 7.773 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.524, allocations: 0.4932 MB / 441.9 MB, free: 7.277 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000192/0.5243, allocations: 37.7 kB / 441.9 MB, free: 7.234 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.5246, allocations: 352.2 kB / 442.2 MB, free: 6.883 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000347/0.5249, allocations: 268.1 kB / 442.5 MB, free: 6.617 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.525, allocations: 12 kB / 442.5 MB, free: 6.605 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002311/0.5253, allocations: 382.8 kB / 442.9 MB, free: 6.223 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.5263, allocations: 405.5 kB / 443.3 MB, free: 5.828 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.5275, allocations: 490.7 kB / 443.8 MB, free: 5.324 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.5286, allocations: 439.6 kB / 444.2 MB, free: 4.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.014e-06/0.5286, allocations: 4 kB / 444.2 MB, free: 4.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.01507/0.5437, allocations: 4.012 MB / 448.2 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.5438, allocations: 11.94 kB / 448.2 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.5438, allocations: 0 / 448.2 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007257/0.5511, allocations: 1.753 MB / 450 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006238/0.5518, allocations: 91.89 kB / 450.1 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02049/0.5723, allocations: 7.25 MB / 457.3 MB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.5735, allocations: 155.3 kB / 457.5 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.5736, allocations: 23.98 kB / 457.5 MB, free: 7.43 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 ) "d-axis transient voltage (pu)" type: Real Generator.e1q:VARIABLE(start = Generator.e1q0 ) "q-axis transient voltage (pu)" 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 (57): * Single equations (assignments): 56 * 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.0002968/0.5739, allocations: 140.9 kB / 457.6 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.5742, allocations: 71.16 kB / 457.7 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/0.5889, allocations: 4.032 MB / 461.7 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.5889, allocations: 12 kB / 461.7 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.5889, allocations: 4 kB / 461.7 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/0.589, allocations: 7.938 kB / 461.7 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.5907, allocations: 1.017 MB / 462.8 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.863e-06/0.5908, allocations: 0 / 462.8 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.5913, allocations: 75.91 kB / 462.8 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006574/0.5979, allocations: 1.659 MB / 464.5 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/0.5981, allocations: 15.98 kB / 464.5 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01765/0.6158, allocations: 6.309 MB / 470.8 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.039e-06/0.6158, allocations: 3.984 kB / 470.8 MB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01635/0.6322, allocations: 4.702 MB / 475.5 MB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/0.6326, allocations: 168 kB / 475.7 MB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.6328, allocations: 16 kB / 475.7 MB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.6338, allocations: 115.9 kB / 475.8 MB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006766/0.6345, allocations: 184.4 kB / 476 MB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.6346, allocations: 20 kB / 476 MB, free: 4.633 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007222/0.6354, allocations: 401.6 kB / 476.4 MB, free: 4.242 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.15e-07/0.6354, allocations: 0 / 476.4 MB, free: 4.242 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001312/0.6367, allocations: 335.5 kB / 476.7 MB, free: 3.914 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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.000337/0.6371, allocations: 151 kB / 476.9 MB, free: 3.754 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006377/0.6435, allocations: 1.898 MB / 478.8 MB, free: 1.844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.154e-06/0.6435, allocations: 0 / 478.8 MB, free: 1.844 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004979/0.6485, allocations: 1.408 MB / 480.2 MB, free: 436 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005627/0.6491, allocations: 58.05 kB / 480.3 MB, free: 380 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.6521, allocations: 1.107 MB / 481.4 MB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007605/0.6529, allocations: 0.9816 MB / 482.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003869/0.6533, allocations: 56.83 kB / 482.4 MB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.6535, allocations: 51.42 kB / 482.4 MB, free: 14.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.768e-06/0.6535, allocations: 0 / 482.4 MB, free: 14.12 MB / 410.7 MB Notification: Performance of Templates: time 0.04042/0.694, allocations: 18.01 MB / 0.4887 GB, free: 12.09 MB / 426.7 MB