Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadModel(PowerSystems): time 2.252/2.253, allocations: 233 MB / 246.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.58e-05/4.631e-05, allocations: 4 kB / 302.2 MB, free: 7.691 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09369/0.09377, allocations: 53.23 MB / 355.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4072/0.5011, allocations: 92.5 MB / 447.9 MB, free: 9.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000568/0.5017, allocations: 87.95 kB / 448 MB, free: 9.324 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04222/0.544, allocations: 9.917 MB / 457.9 MB, free: 15.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.022e-06/0.544, allocations: 7.938 kB / 457.9 MB, free: 15.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.037e-05/0.5441, allocations: 12.12 kB / 458 MB, free: 15.3 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.001105/0.5452, allocations: 0.5772 MB / 458.5 MB, free: 14.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.5452, allocations: 12.03 kB / 458.5 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.5454, allocations: 39.53 kB / 458.6 MB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.5473, allocations: 0.6076 MB / 459.2 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.5474, allocations: 16.56 kB / 459.2 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-05/0.5475, allocations: 31.91 kB / 459.2 MB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/0.5482, allocations: 330.5 kB / 459.6 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.5482, allocations: 7.891 kB / 459.6 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/0.5483, allocations: 12 kB / 459.6 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.5483, allocations: 8 kB / 459.6 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004736/0.5488, allocations: 188.7 kB / 459.8 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.5511, allocations: 1.491 MB / 461.3 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005452/0.5517, allocations: 186.4 kB / 461.4 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.5519, allocations: 79.44 kB / 461.5 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.5519, allocations: 7.938 kB / 461.5 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.552, allocations: 34.56 kB / 461.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.52e-06/0.552, allocations: 0 / 461.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.001764/0.5538, allocations: 0.8308 MB / 462.4 MB, free: 10.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.44e-05/0.5539, allocations: 132.5 kB / 462.5 MB, free: 10.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004191/0.5543, allocations: 267.7 kB / 462.8 MB, free: 10.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.5544, allocations: 33.8 kB / 462.8 MB, free: 10.03 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.5546, allocations: 219.9 kB / 463 MB, free: 9.809 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.359e-05/0.5547, allocations: 74.94 kB / 463.1 MB, free: 9.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/0.5547, allocations: 4 kB / 463.1 MB, free: 9.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.5549, allocations: 338.8 kB / 463.4 MB, free: 9.391 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.5551, allocations: 52.55 kB / 463.5 MB, free: 9.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.5553, allocations: 148.8 kB / 463.6 MB, free: 9.148 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.5555, allocations: 71.91 kB / 463.7 MB, free: 9.078 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.404e-06/0.5555, allocations: 0 / 463.7 MB, free: 9.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005736/0.5561, allocations: 254.9 kB / 464 MB, free: 8.824 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.5562, allocations: 8 kB / 464 MB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.5562, allocations: 5.031 kB / 464 MB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.5562, allocations: 4 kB / 464 MB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005071/0.5567, allocations: 88.33 kB / 464.1 MB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.5579, allocations: 1.275 MB / 465.3 MB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.5582, allocations: 12.16 kB / 465.4 MB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.5583, allocations: 19.92 kB / 465.4 MB, free: 7.289 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.0001259/0.5584, allocations: 116.9 kB / 465.5 MB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.5585, allocations: 39.56 kB / 465.5 MB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00048/0.559, allocations: 190.5 kB / 465.7 MB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.896e-06/0.5591, allocations: 0 / 465.7 MB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.958e-06/0.5591, allocations: 4 kB / 465.7 MB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.391e-06/0.5591, allocations: 11.95 kB / 465.7 MB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.5602, allocations: 0.5452 MB / 466.3 MB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.673e-06/0.5603, allocations: 0 / 466.3 MB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.5606, allocations: 47.91 kB / 466.3 MB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.5607, allocations: 4 kB / 466.3 MB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.5607, allocations: 4 kB / 466.3 MB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.5607, allocations: 4 kB / 466.3 MB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.376e-06/0.5607, allocations: 0 / 466.3 MB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007427/0.5615, allocations: 0.5229 MB / 466.9 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.5616, allocations: 108.7 kB / 467 MB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.5617, allocations: 4 kB / 467 MB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.562, allocations: 11.98 kB / 467 MB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.562, allocations: 11.98 kB / 467 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.5621, allocations: 8 kB / 467 MB, free: 5.535 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003163/0.5624, allocations: 214.2 kB / 467.2 MB, free: 5.328 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.77e-07/0.5624, allocations: 0 / 467.2 MB, free: 5.328 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006285/0.563, allocations: 60 kB / 467.3 MB, free: 5.27 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.000244/0.5633, allocations: 153.2 kB / 467.4 MB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005287/0.5639, allocations: 147 kB / 467.6 MB, free: 4.973 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.421e-06/0.5639, allocations: 0 / 467.6 MB, free: 4.973 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.5641, allocations: 74.05 kB / 467.6 MB, free: 4.902 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007249/0.5648, allocations: 92.84 kB / 467.7 MB, free: 4.812 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.5664, allocations: 0.5877 MB / 468.3 MB, free: 4.195 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005627/0.567, allocations: 0.8109 MB / 469.1 MB, free: 3.355 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003021/0.5673, allocations: 54.94 kB / 469.2 MB, free: 3.301 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.963e-05/0.5674, allocations: 35.42 kB / 469.2 MB, free: 3.266 MB / 394.7 MB Notification: Performance of SimCode: time 2.339e-06/0.5674, allocations: 0 / 469.2 MB, free: 3.266 MB / 394.7 MB Notification: Performance of Templates: time 0.01137/0.5788, allocations: 3.55 MB / 472.8 MB, free: 15.74 MB / 410.7 MB