Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadModel(PowerSystems): time 2.306/2.306, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.338e-05/3.352e-05, allocations: 4 kB / 302.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0925/0.09255, allocations: 53.24 MB / 355.4 MB, free: 2.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4155/0.5081, allocations: 92.51 MB / 447.9 MB, free: 9.262 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.5085, allocations: 87.95 kB / 448 MB, free: 9.176 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04896/0.5574, allocations: 9.917 MB / 457.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.067e-06/0.5575, allocations: 0 / 457.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.86e-05/0.5576, allocations: 8 kB / 458 MB, free: 15.18 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001718/0.5593, allocations: 0.5901 MB / 458.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.5594, allocations: 8.031 kB / 458.6 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.5596, allocations: 39.53 kB / 458.6 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/0.5627, allocations: 0.6037 MB / 459.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/0.5628, allocations: 24.5 kB / 459.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.5629, allocations: 28.52 kB / 459.2 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.5641, allocations: 334 kB / 459.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/0.5642, allocations: 0 / 459.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.529e-05/0.5643, allocations: 19.92 kB / 459.6 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.5643, allocations: 4 kB / 459.6 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007988/0.5651, allocations: 196.7 kB / 459.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003562/0.5687, allocations: 1.483 MB / 461.3 MB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008277/0.5696, allocations: 194.3 kB / 461.5 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.5699, allocations: 75.48 kB / 461.5 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.57, allocations: 4 kB / 461.5 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/0.57, allocations: 38.56 kB / 461.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 5.384e-06/0.5701, allocations: 0 / 461.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.002886/0.573, allocations: 0.824 MB / 462.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.5731, allocations: 148.5 kB / 462.5 MB, free: 10.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000684/0.5738, allocations: 263.7 kB / 462.8 MB, free: 9.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.5739, allocations: 29.7 kB / 462.8 MB, free: 9.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/0.5742, allocations: 215.9 kB / 463 MB, free: 9.668 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.5744, allocations: 70.94 kB / 463.1 MB, free: 9.598 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.5744, allocations: 8 kB / 463.1 MB, free: 9.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002487/0.5747, allocations: 338.8 kB / 463.5 MB, free: 9.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.575, allocations: 55.98 kB / 463.5 MB, free: 9.195 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.5754, allocations: 138.2 kB / 463.6 MB, free: 9.016 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.5757, allocations: 81.62 kB / 463.7 MB, free: 8.938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.657e-06/0.5758, allocations: 0 / 463.7 MB, free: 8.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009934/0.5768, allocations: 248.9 kB / 464 MB, free: 8.688 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.5768, allocations: 8.438 kB / 464 MB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.5769, allocations: 8 kB / 464 MB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/0.5769, allocations: 4 kB / 464 MB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008362/0.5778, allocations: 83.89 kB / 464.1 MB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.5798, allocations: 1.275 MB / 465.3 MB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006555/0.5805, allocations: 8 kB / 465.3 MB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.581e-05/0.5806, allocations: 16 kB / 465.4 MB, free: 7.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003038/0.5809, allocations: 116.9 kB / 465.5 MB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003597/0.5813, allocations: 39.56 kB / 465.5 MB, free: 7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.5826, allocations: 190.9 kB / 465.7 MB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/0.5827, allocations: 4.562 kB / 465.7 MB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.5827, allocations: 7.938 kB / 465.7 MB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/0.5827, allocations: 3.984 kB / 465.7 MB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/0.5862, allocations: 0.5451 MB / 466.3 MB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/0.5863, allocations: 4 kB / 466.3 MB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007356/0.5871, allocations: 48 kB / 466.3 MB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/0.5871, allocations: 1.219 kB / 466.3 MB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/0.5872, allocations: 12 kB / 466.3 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.356e-05/0.5872, allocations: 0 / 466.3 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-05/0.5873, allocations: 7.938 kB / 466.3 MB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.5887, allocations: 0.519 MB / 466.9 MB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.589, allocations: 100.7 kB / 467 MB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.5891, allocations: 8 kB / 467 MB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006295/0.5898, allocations: 7.984 kB / 467 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/0.5899, allocations: 15.98 kB / 467 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.59, allocations: 4 kB / 467 MB, free: 5.406 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006392/0.5906, allocations: 218.2 kB / 467.2 MB, free: 5.195 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.975e-06/0.5906, allocations: 3.938 kB / 467.2 MB, free: 5.191 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001345/0.592, allocations: 68 kB / 467.3 MB, free: 5.125 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (motor.phi_el,motor.w_el,motor.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004091/0.5925, allocations: 138.5 kB / 467.4 MB, free: 4.984 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009777/0.5935, allocations: 155.6 kB / 467.6 MB, free: 4.832 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.043e-06/0.5935, allocations: 0.875 kB / 467.6 MB, free: 4.832 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.5938, allocations: 66.39 kB / 467.6 MB, free: 4.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.5953, allocations: 90.5 kB / 467.7 MB, free: 4.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.5969, allocations: 0.5974 MB / 468.3 MB, free: 4.055 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005541/0.5975, allocations: 0.8148 MB / 469.1 MB, free: 3.211 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002921/0.5978, allocations: 46.94 kB / 469.2 MB, free: 3.164 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.886e-05/0.5979, allocations: 35.42 kB / 469.2 MB, free: 3.129 MB / 394.7 MB Notification: Performance of SimCode: time 1.822e-06/0.5979, allocations: 0 / 469.2 MB, free: 3.129 MB / 394.7 MB Notification: Performance of Templates: time 0.01114/0.609, allocations: 3.545 MB / 472.7 MB, free: 15.61 MB / 410.7 MB