Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") Notification: Performance of loadModel(PowerSystems): time 2.094/2.094, allocations: 233 MB / 245.6 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.795e-05/4.804e-05, allocations: 4 kB / 301.3 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 53.24 MB / 354.5 MB, free: 2.629 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4176/0.5258, allocations: 96.89 MB / 451.4 MB, free: 5.047 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00204/0.5279, allocations: 0.6869 MB / 452.1 MB, free: 4.359 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06242/0.5903, allocations: 16.08 MB / 468.2 MB, free: 4.109 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.096e-06/0.5903, allocations: 0 / 468.2 MB, free: 4.109 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.664e-05/0.5904, allocations: 19.94 kB / 468.2 MB, free: 4.09 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.001552/0.592, allocations: 0.783 MB / 469 MB, free: 3.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.592, allocations: 12.03 kB / 469 MB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.5922, allocations: 59.25 kB / 469 MB, free: 3.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.5943, allocations: 0.7496 MB / 469.8 MB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/0.5943, allocations: 38.73 kB / 469.8 MB, free: 2.352 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.5944, allocations: 40 kB / 469.9 MB, free: 2.312 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.5955, allocations: 0.5138 MB / 470.4 MB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.5956, allocations: 3.906 kB / 470.4 MB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-05/0.5957, allocations: 24 kB / 470.4 MB, free: 1.727 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.5957, allocations: 12 kB / 470.4 MB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007448/0.5964, allocations: 313.3 kB / 470.7 MB, free: 1.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003425/0.5999, allocations: 2.078 MB / 472.8 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.6005, allocations: 223.8 kB / 473 MB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.6007, allocations: 81.73 kB / 473.1 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.6007, allocations: 3.953 kB / 473.1 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003357/0.601, allocations: 166.4 kB / 473.3 MB, free: 14.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 3.003e-06/0.6011, allocations: 0.6562 kB / 473.3 MB, free: 14.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002421/0.6035, allocations: 1.078 MB / 474.3 MB, free: 13.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.014e-05/0.6036, allocations: 140.4 kB / 474.5 MB, free: 13.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000589/0.6042, allocations: 371.1 kB / 474.8 MB, free: 13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.6043, allocations: 29.7 kB / 474.9 MB, free: 12.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.6045, allocations: 338.2 kB / 475.2 MB, free: 12.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.782e-05/0.6047, allocations: 86.75 kB / 475.3 MB, free: 12.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.6047, allocations: 9.688 kB / 475.3 MB, free: 12.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.6049, allocations: 330.8 kB / 475.6 MB, free: 12.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.6051, allocations: 84.86 kB / 475.7 MB, free: 12.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.6055, allocations: 220.6 kB / 475.9 MB, free: 11.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.6058, allocations: 145.6 kB / 476.1 MB, free: 11.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.743e-06/0.6058, allocations: 0 / 476.1 MB, free: 11.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001161/0.607, allocations: 445 kB / 476.5 MB, free: 11.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.6071, allocations: 29.7 kB / 476.5 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.6071, allocations: 4 kB / 476.5 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005181/0.6076, allocations: 101.3 kB / 476.6 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.608, allocations: 71.91 kB / 476.7 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/0.6106, allocations: 1.692 MB / 478.4 MB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/0.611, allocations: 27.95 kB / 478.4 MB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.611, allocations: 20 kB / 478.4 MB, free: 9.168 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.0001495/0.6112, allocations: 132.8 kB / 478.6 MB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.22e-05/0.6113, allocations: 39.53 kB / 478.6 MB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000774/0.6121, allocations: 278 kB / 478.9 MB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.6121, allocations: 4 kB / 478.9 MB, free: 8.703 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.746e-06/0.6121, allocations: 3.953 kB / 478.9 MB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.6121, allocations: 7.984 kB / 478.9 MB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.6138, allocations: 0.7838 MB / 479.7 MB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.406e-06/0.6138, allocations: 0 / 479.7 MB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.6142, allocations: 51.91 kB / 479.7 MB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002773/0.6145, allocations: 52.81 kB / 479.8 MB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.6145, allocations: 4 kB / 479.8 MB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/0.6162, allocations: 1.429 MB / 481.2 MB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.823e-06/0.6162, allocations: 240 / 481.2 MB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.6173, allocations: 0.4929 MB / 481.7 MB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.6175, allocations: 132.6 kB / 481.8 MB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.89e-05/0.6176, allocations: 16.06 kB / 481.8 MB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.6179, allocations: 16 kB / 481.9 MB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-05/0.618, allocations: 27.91 kB / 481.9 MB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.618, allocations: 7.984 kB / 481.9 MB, free: 5.426 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004378/0.6185, allocations: 281.2 kB / 482.2 MB, free: 5.156 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.6185, allocations: 0 / 482.2 MB, free: 5.156 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000709/0.6192, allocations: 128 kB / 482.3 MB, free: 5.031 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.001102/0.6203, allocations: 356.5 kB / 482.6 MB, free: 4.734 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009883/0.6213, allocations: 425.8 kB / 483.1 MB, free: 4.297 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.695e-06/0.6214, allocations: 0 / 483.1 MB, free: 4.297 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000503/0.6219, allocations: 225.6 kB / 483.3 MB, free: 4.066 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007241/0.6226, allocations: 118.2 kB / 483.4 MB, free: 3.949 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.6247, allocations: 0.9376 MB / 484.3 MB, free: 2.977 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006507/0.6253, allocations: 0.8857 MB / 485.2 MB, free: 2.066 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.6255, allocations: 31.44 kB / 485.2 MB, free: 2.035 MB / 410.7 MB Notification: Performance of SimCode: time 1.459e-06/0.6255, allocations: 0 / 485.2 MB, free: 2.035 MB / 410.7 MB Notification: Performance of Templates: time 0.01555/0.6411, allocations: 8.578 MB / 493.8 MB, free: 9.461 MB / 426.7 MB