Running command: translateModel(OpenIPSL.Examples.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2") Notification: Performance of loadModel(OpenIPSL): time 2.123/2.123, allocations: 231.9 MB / 244 MB, free: 0.8047 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.41e-05/3.406e-05, allocations: 4 kB / 300.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09112/0.09117, allocations: 53.34 MB / 353.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3516/0.4428, allocations: 80.06 MB / 433.7 MB, free: 9.656 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.4431, allocations: 71.95 kB / 433.7 MB, free: 9.586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07658/0.5197, allocations: 18.34 MB / 452.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.812e-06/0.5198, allocations: 4 kB / 452.1 MB, free: 7.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.988e-05/0.5199, allocations: 12 kB / 452.1 MB, free: 7.172 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.00541/0.5253, allocations: 1.496 MB / 453.6 MB, free: 5.629 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.5253, allocations: 8.031 kB / 453.6 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004616/0.53, allocations: 0.5217 MB / 454.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.532, allocations: 0.6646 MB / 454.8 MB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003594/0.5323, allocations: 255.4 kB / 455 MB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.5326, allocations: 64.34 kB / 455.1 MB, free: 4.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.5347, allocations: 0.7654 MB / 455.9 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.5347, allocations: 0 / 455.9 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.5349, allocations: 31.98 kB / 455.9 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.5349, allocations: 16 kB / 455.9 MB, free: 3.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.537, allocations: 0.7563 MB / 456.7 MB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007917/0.545, allocations: 3.163 MB / 459.8 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.547, allocations: 0.8824 MB / 460.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.5483, allocations: 0.527 MB / 461.2 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.5485, allocations: 12.78 kB / 461.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.5485, allocations: 43.34 kB / 461.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=79): time 4.07e-06/0.5485, allocations: 0 / 461.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=79): time 0.015/0.5636, allocations: 3.953 MB / 465.2 MB, free: 9.637 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.5637, allocations: 64.19 kB / 465.3 MB, free: 9.562 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.5648, allocations: 0.5547 MB / 465.9 MB, free: 9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001937/0.565, allocations: 41.7 kB / 465.9 MB, free: 8.953 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/0.5654, allocations: 380.2 kB / 466.3 MB, free: 8.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003797/0.5658, allocations: 276 kB / 466.5 MB, free: 8.301 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.135e-05/0.5659, allocations: 16 kB / 466.5 MB, free: 8.285 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.5661, allocations: 333.9 kB / 466.9 MB, free: 7.953 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.5672, allocations: 409.5 kB / 467.3 MB, free: 7.555 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.5684, allocations: 0.4956 MB / 467.8 MB, free: 7.027 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.5696, allocations: 442.8 kB / 468.2 MB, free: 6.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.395e-06/0.5696, allocations: 3.938 kB / 468.2 MB, free: 6.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01536/0.585, allocations: 4.078 MB / 472.3 MB, free: 2.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.585, allocations: 11.12 kB / 472.3 MB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.5851, allocations: 4 kB / 472.3 MB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007407/0.5925, allocations: 1.694 MB / 474 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/0.5932, allocations: 99.89 kB / 474.1 MB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02104/0.6143, allocations: 7.267 MB / 481.4 MB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.6157, allocations: 163.2 kB / 481.5 MB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.6159, allocations: 31.92 kB / 481.5 MB, free: 9.09 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 ) "d-axis transient voltage (pu)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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.0003226/0.6162, allocations: 148.9 kB / 481.7 MB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.6165, allocations: 82.97 kB / 481.8 MB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01509/0.6316, allocations: 4.065 MB / 485.8 MB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.6317, allocations: 8 kB / 485.8 MB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.321e-06/0.6317, allocations: 4 kB / 485.9 MB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.313e-05/0.6317, allocations: 3.984 kB / 485.9 MB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/0.6491, allocations: 5.347 MB / 491.2 MB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.6492, allocations: 7.984 kB / 491.2 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006859/0.6499, allocations: 91.83 kB / 491.3 MB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006927/0.6568, allocations: 1.675 MB / 493 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/0.6571, allocations: 16 kB / 493 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01816/0.6753, allocations: 6.332 MB / 499.3 MB, free: 7.043 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.816e-06/0.6753, allocations: 0 / 499.3 MB, free: 7.043 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01691/0.6922, allocations: 4.745 MB / 0.4923 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003746/0.6926, allocations: 179.9 kB / 0.4924 GB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.6928, allocations: 20 kB / 0.4924 GB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.694, allocations: 119.9 kB / 0.4926 GB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007512/0.6947, allocations: 196.4 kB / 0.4927 GB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.6948, allocations: 16 kB / 0.4928 GB, free: 1.734 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001022/0.6959, allocations: 455.2 kB / 0.4932 GB, free: 1.293 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.86e-07/0.6959, allocations: 0 / 0.4932 GB, free: 1.293 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001501/0.6974, allocations: 371.5 kB / 0.4935 GB, free: 0.9297 MB / 426.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 (47): * Single equations (assignments): 46 * 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.0003324/0.6978, allocations: 143.1 kB / 0.4937 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00629/0.7041, allocations: 1.871 MB / 0.4955 GB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.012e-06/0.7041, allocations: 4.125 kB / 0.4955 GB, free: 14.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008666/0.7128, allocations: 1.423 MB / 0.4969 GB, free: 13.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009762/0.7138, allocations: 62.98 kB / 0.497 GB, free: 13.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.7181, allocations: 1.177 MB / 0.4981 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007994/0.7189, allocations: 1.009 MB / 0.4991 GB, free: 11.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004007/0.7193, allocations: 57.16 kB / 0.4992 GB, free: 11.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.7196, allocations: 55.42 kB / 0.4992 GB, free: 11.05 MB / 442.7 MB Notification: Performance of SimCode: time 1.739e-06/0.7196, allocations: 0 / 0.4992 GB, free: 11.05 MB / 442.7 MB Notification: Performance of Templates: time 0.04688/0.7665, allocations: 18.31 MB / 0.5171 GB, free: 8.715 MB / 458.7 MB