Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") Notification: Performance of loadModel(PowerSystems): time 2.242/2.242, allocations: 233 MB / 246.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.063e-05, allocations: 0 / 302.2 MB, free: 7.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09348/0.09353, allocations: 53.24 MB / 355.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3761/0.4697, allocations: 96.88 MB / 452.3 MB, free: 5.016 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002216/0.4719, allocations: 0.6882 MB / 453 MB, free: 4.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06765/0.5396, allocations: 16.09 MB / 469.1 MB, free: 4.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 2e-06/0.5397, allocations: 0 / 469.1 MB, free: 4.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.056e-05/0.5397, allocations: 19.94 kB / 469.1 MB, free: 4.051 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001628/0.5414, allocations: 0.7905 MB / 469.9 MB, free: 3.207 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.5414, allocations: 15.97 kB / 469.9 MB, free: 3.191 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.5416, allocations: 63.25 kB / 470 MB, free: 3.129 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.544, allocations: 0.7457 MB / 470.7 MB, free: 2.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/0.5441, allocations: 33 kB / 470.8 MB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.5443, allocations: 48.52 kB / 470.8 MB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.5454, allocations: 0.5128 MB / 471.3 MB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.5455, allocations: 0 / 471.3 MB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.5456, allocations: 20 kB / 471.3 MB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.5456, allocations: 8 kB / 471.3 MB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000766/0.5464, allocations: 317.3 kB / 471.7 MB, free: 1.367 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003804/0.5502, allocations: 2.082 MB / 473.7 MB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.5508, allocations: 231.8 kB / 474 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.551, allocations: 78.64 kB / 474 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.5511, allocations: 352 / 474 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003659/0.5515, allocations: 178.3 kB / 474.2 MB, free: 14.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 2.855e-06/0.5515, allocations: 3.938 kB / 474.2 MB, free: 14.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002643/0.5541, allocations: 1.072 MB / 475.3 MB, free: 13.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.753e-05/0.5543, allocations: 140.4 kB / 475.4 MB, free: 13.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006418/0.5549, allocations: 367 kB / 475.8 MB, free: 12.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.555, allocations: 29.7 kB / 475.8 MB, free: 12.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.5553, allocations: 287.7 kB / 476.1 MB, free: 12.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.5554, allocations: 94.88 kB / 476.2 MB, free: 12.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.5554, allocations: 8 kB / 476.2 MB, free: 12.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.5556, allocations: 358.7 kB / 476.5 MB, free: 12.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.5559, allocations: 88.86 kB / 476.6 MB, free: 12.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.5563, allocations: 220.6 kB / 476.8 MB, free: 11.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.5566, allocations: 145.6 kB / 477 MB, free: 11.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.675e-06/0.5566, allocations: 0 / 477 MB, free: 11.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001279/0.5579, allocations: 468.6 kB / 477.4 MB, free: 11.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.558, allocations: 29.7 kB / 477.5 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.558, allocations: 8.547 kB / 477.5 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005231/0.5585, allocations: 92.78 kB / 477.6 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.5589, allocations: 75.91 kB / 477.6 MB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002694/0.5616, allocations: 1.683 MB / 479.3 MB, free: 9.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004625/0.5621, allocations: 24.06 kB / 479.4 MB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.5622, allocations: 20 kB / 479.4 MB, free: 9.105 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.5624, allocations: 132.7 kB / 479.5 MB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.109e-05/0.5625, allocations: 43.44 kB / 479.5 MB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008467/0.5633, allocations: 278 kB / 479.8 MB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.5634, allocations: 8 kB / 479.8 MB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.446e-06/0.5634, allocations: 0 / 479.8 MB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.54e-06/0.5634, allocations: 3.953 kB / 479.8 MB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.5652, allocations: 0.7877 MB / 480.6 MB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.434e-06/0.5652, allocations: 0 / 480.6 MB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.5656, allocations: 51.92 kB / 480.7 MB, free: 7.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002888/0.5659, allocations: 56.8 kB / 480.7 MB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.566, allocations: 0 / 480.7 MB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.5678, allocations: 1.441 MB / 482.2 MB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.869e-06/0.5678, allocations: 0 / 482.2 MB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.5689, allocations: 0.4891 MB / 482.7 MB, free: 5.566 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.5692, allocations: 128.7 kB / 482.8 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/0.5693, allocations: 11.95 kB / 482.8 MB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/0.5696, allocations: 15.98 kB / 482.8 MB, free: 5.395 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.202e-05/0.5697, allocations: 23.91 kB / 482.8 MB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.5698, allocations: 8 kB / 482.8 MB, free: 5.363 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004782/0.5702, allocations: 281.2 kB / 483.1 MB, free: 5.094 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.55e-07/0.5703, allocations: 4 kB / 483.1 MB, free: 5.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007849/0.5711, allocations: 128 kB / 483.2 MB, free: 4.965 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.motor.phi_el,dcm_par.motor.w_el,dcm_par.motor.i,dcm_par.motor.i_f,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001169/0.5722, allocations: 354.8 kB / 483.6 MB, free: 4.676 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.5734, allocations: 425.3 kB / 484 MB, free: 4.238 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.932e-06/0.5734, allocations: 3.938 kB / 484 MB, free: 4.234 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00054/0.574, allocations: 222.3 kB / 484.2 MB, free: 4.008 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008756/0.5749, allocations: 122.5 kB / 484.3 MB, free: 3.887 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.5771, allocations: 0.893 MB / 485.2 MB, free: 2.965 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/0.5778, allocations: 0.8857 MB / 486.1 MB, free: 2.055 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004084/0.5782, allocations: 64.23 kB / 486.2 MB, free: 1.988 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.5784, allocations: 31.44 kB / 486.2 MB, free: 1.957 MB / 410.7 MB Notification: Performance of SimCode: time 1.845e-06/0.5784, allocations: 4 kB / 486.2 MB, free: 1.953 MB / 410.7 MB Notification: Performance of Templates: time 0.01823/0.5966, allocations: 6.19 MB / 492.4 MB, free: 11.78 MB / 426.7 MB