Running command: translateModel(OpenIPSL.Examples.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG") Notification: Performance of loadModel(OpenIPSL): time 2.178/2.178, allocations: 231.9 MB / 244 MB, free: 0.7109 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.189e-05/3.207e-05, allocations: 4 kB / 300.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09165/0.0917, allocations: 53.32 MB / 353.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.353/0.4448, allocations: 81.69 MB / 435.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.4451, allocations: 79.95 kB / 435.4 MB, free: 7.816 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08601/0.5311, allocations: 20.32 MB / 455.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.319e-06/0.5311, allocations: 0 / 455.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.247e-05/0.5312, allocations: 21.31 kB / 455.7 MB, free: 3.418 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.005777/0.537, allocations: 1.617 MB / 457.3 MB, free: 1.754 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.5371, allocations: 12.03 kB / 457.3 MB, free: 1.742 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00466/0.5418, allocations: 0.5371 MB / 457.9 MB, free: 1.203 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/0.5441, allocations: 0.7305 MB / 458.6 MB, free: 440 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003821/0.5445, allocations: 260.8 kB / 458.8 MB, free: 144 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/0.5447, allocations: 75.91 kB / 458.9 MB, free: 68 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/0.5472, allocations: 0.9305 MB / 459.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.5473, allocations: 0 / 459.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.5474, allocations: 31.94 kB / 459.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.5474, allocations: 20 kB / 459.9 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002348/0.5498, allocations: 0.8358 MB / 460.7 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00961/0.5594, allocations: 3.428 MB / 464.2 MB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002449/0.562, allocations: 0.9765 MB / 465.1 MB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.5634, allocations: 0.5622 MB / 465.7 MB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.5636, allocations: 16.75 kB / 465.7 MB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.5636, allocations: 39.34 kB / 465.8 MB, free: 8.973 MB / 394.7 MB Notification: Performance of pre-optimization done (n=86): time 4.485e-06/0.5637, allocations: 0 / 465.8 MB, free: 8.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=86): time 0.01544/0.5791, allocations: 4.051 MB / 469.8 MB, free: 4.906 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.5792, allocations: 85.89 kB / 469.9 MB, free: 4.805 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.5806, allocations: 0.6609 MB / 470.6 MB, free: 4.141 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002155/0.5808, allocations: 41.7 kB / 470.6 MB, free: 4.094 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/0.5813, allocations: 440.3 kB / 471 MB, free: 3.656 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004161/0.5817, allocations: 299.5 kB / 471.3 MB, free: 3.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.857e-05/0.5818, allocations: 16 kB / 471.3 MB, free: 3.344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.582, allocations: 341.9 kB / 471.7 MB, free: 3.004 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.5832, allocations: 438 kB / 472.1 MB, free: 2.578 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.5845, allocations: 0.5286 MB / 472.6 MB, free: 2.016 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.5858, allocations: 479.5 kB / 473.1 MB, free: 1.547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.357e-06/0.5858, allocations: 0 / 473.1 MB, free: 1.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01585/0.6017, allocations: 4.152 MB / 477.2 MB, free: 13.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004578/0.6022, allocations: 0.7913 MB / 478 MB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.6022, allocations: 3.984 kB / 478 MB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007346/0.6096, allocations: 1.694 MB / 479.7 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000854/0.6105, allocations: 123.8 kB / 479.9 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02456/0.6351, allocations: 7.251 MB / 487.1 MB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.6369, allocations: 191.2 kB / 487.3 MB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/0.6371, allocations: 31.98 kB / 487.3 MB, free: 3.094 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.6372, allocations: 4 kB / 487.3 MB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01582/0.653, allocations: 4.046 MB / 491.4 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.6531, allocations: 7.984 kB / 491.4 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007171/0.6603, allocations: 1.679 MB / 493.1 MB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008039/0.6611, allocations: 119.9 kB / 493.2 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02067/0.6818, allocations: 7.255 MB / 0.4887 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.6834, allocations: 183.2 kB / 0.4889 GB, free: 5.652 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.6836, allocations: 32 kB / 0.4889 GB, free: 5.621 MB / 426.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 TGtypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] 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 (66): * Single equations (assignments): 65 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003636/0.6839, allocations: 144.8 kB / 0.489 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/0.6843, allocations: 94.88 kB / 0.4891 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01501/0.6993, allocations: 4.132 MB / 0.4932 GB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.872e-05/0.6994, allocations: 12 kB / 0.4932 GB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.377e-06/0.6994, allocations: 3.984 kB / 0.4932 GB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.693e-05/0.6994, allocations: 11.97 kB / 0.4932 GB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/0.7173, allocations: 5.546 MB / 0.4986 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/0.7174, allocations: 4 kB / 0.4986 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008268/0.7182, allocations: 99.89 kB / 0.4987 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0069/0.7251, allocations: 1.679 MB / 0.5004 GB, free: 9.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002065/0.7254, allocations: 20 kB / 0.5004 GB, free: 9.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0179/0.7433, allocations: 6.321 MB / 0.5065 GB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.736e-06/0.7434, allocations: 0 / 0.5065 GB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01703/0.7604, allocations: 4.885 MB / 0.5113 GB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/0.7609, allocations: 191.7 kB / 0.5115 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/0.7611, allocations: 15.95 kB / 0.5115 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.7624, allocations: 147.9 kB / 0.5117 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007553/0.7632, allocations: 204.4 kB / 0.5119 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.7633, allocations: 20 kB / 0.5119 GB, free: 13.78 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001001/0.7643, allocations: 0.5187 MB / 0.5124 GB, free: 13.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.76e-07/0.7644, allocations: 0 / 0.5124 GB, free: 13.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00235/0.7667, allocations: 0.6163 MB / 0.513 GB, free: 12.65 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGtypeII1.transferFunction1.x_scaled[1],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 (54): * Single equations (assignments): 53 * 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.0003699/0.7671, allocations: 151.1 kB / 0.5131 GB, free: 12.49 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01177/0.7789, allocations: 3.456 MB / 0.5165 GB, free: 9.016 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.931e-06/0.779, allocations: 0 / 0.5165 GB, free: 9.016 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00511/0.7841, allocations: 1.451 MB / 0.5179 GB, free: 7.555 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007897/0.7849, allocations: 75.3 kB / 0.518 GB, free: 7.48 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.7891, allocations: 1.49 MB / 0.5194 GB, free: 5.961 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009075/0.7901, allocations: 1.08 MB / 0.5205 GB, free: 4.852 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009663/0.791, allocations: 156.5 kB / 0.5206 GB, free: 4.695 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.7913, allocations: 43.38 kB / 0.5207 GB, free: 4.656 MB / 458.7 MB Notification: Performance of SimCode: time 1.686e-06/0.7913, allocations: 0 / 0.5207 GB, free: 4.656 MB / 458.7 MB Notification: Performance of Templates: time 0.3468/1.138, allocations: 27.62 MB / 0.5477 GB, free: 137.1 MB / 458.7 MB