Running command: translateModel(iPSL.Examples.Machines.PSAT.Order5_2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2") Notification: Performance of loadModel(iPSL): time 2.089/2.089, allocations: 221.9 MB / 234.1 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.934e-05, allocations: 0 / 287.5 MB, free: 6.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08519/0.08525, allocations: 50.5 MB / 338 MB, free: 3.707 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3823/0.4676, allocations: 75.46 MB / 413.4 MB, free: 2.215 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.4678, allocations: 63.09 kB / 413.5 MB, free: 2.188 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06056/0.5284, allocations: 14.84 MB / 428.3 MB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.19e-06/0.5284, allocations: 0 / 428.3 MB, free: 5.023 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.268e-05/0.5285, allocations: 16.66 kB / 428.3 MB, free: 5.008 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004916/0.5334, allocations: 1.383 MB / 429.7 MB, free: 3.578 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.5335, allocations: 11.97 kB / 429.7 MB, free: 3.566 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003936/0.5374, allocations: 474.4 kB / 430.2 MB, free: 3.102 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.5389, allocations: 0.5806 MB / 430.8 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003015/0.5392, allocations: 226.5 kB / 431 MB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.5394, allocations: 64 kB / 431.1 MB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.5415, allocations: 0.7805 MB / 431.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.5415, allocations: 4 kB / 431.9 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.5417, allocations: 28 kB / 431.9 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.5417, allocations: 16 kB / 431.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.5438, allocations: 0.7655 MB / 432.7 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007779/0.5516, allocations: 3.244 MB / 435.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.5535, allocations: 0.6719 MB / 436.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.5548, allocations: 0.5191 MB / 437.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.5549, allocations: 12.78 kB / 437.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.555, allocations: 43.34 kB / 437.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 4.456e-06/0.555, allocations: 0 / 437.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.01447/0.5695, allocations: 3.934 MB / 441.1 MB, free: 7.938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.5696, allocations: 60.19 kB / 441.1 MB, free: 7.867 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.5707, allocations: 0.5323 MB / 441.7 MB, free: 7.332 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001821/0.5709, allocations: 37.7 kB / 441.7 MB, free: 7.289 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.5712, allocations: 352.3 kB / 442.1 MB, free: 6.938 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/0.5716, allocations: 276 kB / 442.3 MB, free: 6.664 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.435e-05/0.5717, allocations: 16 kB / 442.3 MB, free: 6.648 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002331/0.572, allocations: 386.8 kB / 442.7 MB, free: 6.262 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.5731, allocations: 413.5 kB / 443.1 MB, free: 5.859 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.5743, allocations: 498.7 kB / 443.6 MB, free: 5.348 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.5755, allocations: 456.3 kB / 444.1 MB, free: 4.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.275e-06/0.5755, allocations: 0 / 444.1 MB, free: 4.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01481/0.5903, allocations: 4.027 MB / 448.1 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.5904, allocations: 15.95 kB / 448.1 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.5904, allocations: 0 / 448.1 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0074/0.5978, allocations: 1.737 MB / 449.8 MB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007023/0.5986, allocations: 99.83 kB / 449.9 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02088/0.6195, allocations: 7.233 MB / 457.2 MB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.6208, allocations: 151.3 kB / 457.3 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.6209, allocations: 23.98 kB / 457.3 MB, free: 7.453 MB / 378.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type2_Inputs_Outputs.e2d:VARIABLE(start = order5Type2_Inputs_Outputs.e2d0 ) "d-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e2q:VARIABLE(start = order5Type2_Inputs_Outputs.e2q0 ) "q-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e1q:VARIABLE(start = order5Type2_Inputs_Outputs.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 (59): * Single equations (assignments): 58 * 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.00032/0.6212, allocations: 157.8 kB / 457.5 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.6215, allocations: 79.02 kB / 457.6 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01452/0.636, allocations: 4.068 MB / 461.6 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.6361, allocations: 15.89 kB / 461.7 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.594e-06/0.6361, allocations: 0 / 461.7 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/0.6361, allocations: 3.984 kB / 461.7 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.6381, allocations: 1.045 MB / 462.7 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.703e-06/0.6381, allocations: 0 / 462.7 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006329/0.6387, allocations: 79.84 kB / 462.8 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006596/0.6453, allocations: 1.663 MB / 464.4 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001862/0.6456, allocations: 20 kB / 464.5 MB, free: 256 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01748/0.6631, allocations: 6.297 MB / 470.8 MB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.368e-06/0.6631, allocations: 0 / 470.8 MB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01653/0.6797, allocations: 4.733 MB / 475.5 MB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/0.6801, allocations: 184 kB / 475.7 MB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.6803, allocations: 12 kB / 475.7 MB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.6814, allocations: 107.9 kB / 475.8 MB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006864/0.6821, allocations: 188.4 kB / 476 MB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.6822, allocations: 16 kB / 476 MB, free: 4.543 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008089/0.683, allocations: 441.5 kB / 476.4 MB, free: 4.113 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.683, allocations: 0 / 476.4 MB, free: 4.113 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001317/0.6843, allocations: 351.5 kB / 476.8 MB, free: 3.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type2_Inputs_Outputs.delta,order5Type2_Inputs_Outputs.w,order5Type2_Inputs_Outputs.e1q,order5Type2_Inputs_Outputs.e2q,order5Type2_Inputs_Outputs.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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.0003312/0.6847, allocations: 141.3 kB / 476.9 MB, free: 3.621 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006357/0.6911, allocations: 1.922 MB / 478.8 MB, free: 1.688 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.243e-06/0.6911, allocations: 4.188 kB / 478.8 MB, free: 1.684 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005041/0.6962, allocations: 1.427 MB / 480.3 MB, free: 252 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005867/0.6968, allocations: 54.09 kB / 480.3 MB, free: 200 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/0.7002, allocations: 1.15 MB / 481.5 MB, free: 15.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007678/0.701, allocations: 0.9895 MB / 482.4 MB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004666/0.7015, allocations: 64.91 kB / 482.5 MB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.7018, allocations: 47.42 kB / 482.6 MB, free: 13.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.812e-06/0.7018, allocations: 0 / 482.6 MB, free: 13.88 MB / 410.7 MB Notification: Performance of Templates: time 0.04289/0.7447, allocations: 18.47 MB / 0.4893 GB, free: 11.41 MB / 426.7 MB