Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") Notification: Performance of loadModel(PowerSystems): time 2.467/2.467, allocations: 233 MB / 246.1 MB, free: 14.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.007e-05/3.02e-05, allocations: 4 kB / 302.2 MB, free: 7.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09497/0.09502, allocations: 53.23 MB / 355.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.443/0.538, allocations: 94.99 MB / 450.4 MB, free: 6.633 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.5384, allocations: 91.95 kB / 450.5 MB, free: 6.543 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05239/0.5908, allocations: 12.98 MB / 463.5 MB, free: 9.441 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.592e-06/0.5908, allocations: 0 / 463.5 MB, free: 9.441 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.597e-05/0.5909, allocations: 8 kB / 463.5 MB, free: 9.434 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001417/0.5923, allocations: 0.6792 MB / 464.2 MB, free: 8.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.5924, allocations: 15.97 kB / 464.2 MB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.5925, allocations: 51.91 kB / 464.2 MB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.5946, allocations: 0.6624 MB / 464.9 MB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.5948, allocations: 62.7 kB / 465 MB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.5949, allocations: 40 kB / 465 MB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.5959, allocations: 492.8 kB / 465.5 MB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.596, allocations: 11.89 kB / 465.5 MB, free: 7.293 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.879e-05/0.5961, allocations: 17.97 kB / 465.5 MB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.5961, allocations: 12 kB / 465.5 MB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007256/0.5968, allocations: 293.4 kB / 465.8 MB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/0.6003, allocations: 1.996 MB / 467.8 MB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.6008, allocations: 195.7 kB / 468 MB, free: 4.652 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.601, allocations: 86.62 kB / 468.1 MB, free: 4.559 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.6011, allocations: 7.938 kB / 468.1 MB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.6011, allocations: 46.5 kB / 468.1 MB, free: 4.496 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 6.082e-06/0.6011, allocations: 0 / 468.1 MB, free: 4.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.00214/0.6033, allocations: 0.9451 MB / 469.1 MB, free: 3.465 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/0.6034, allocations: 115 kB / 469.2 MB, free: 3.328 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004478/0.6039, allocations: 283.5 kB / 469.5 MB, free: 3.043 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.6039, allocations: 33.7 kB / 469.5 MB, free: 3.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.6042, allocations: 267.6 kB / 469.8 MB, free: 2.734 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.534e-05/0.6043, allocations: 86.83 kB / 469.9 MB, free: 2.648 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.6043, allocations: 4 kB / 469.9 MB, free: 2.645 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.6045, allocations: 347.4 kB / 470.2 MB, free: 2.297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.6047, allocations: 68 kB / 470.3 MB, free: 2.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.605, allocations: 205.1 kB / 470.5 MB, free: 1.969 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008788/0.6059, allocations: 289.2 kB / 470.7 MB, free: 1.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.469e-06/0.6059, allocations: 4 kB / 470.7 MB, free: 1.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001028/0.607, allocations: 389.5 kB / 471.1 MB, free: 1.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.607, allocations: 5.312 kB / 471.1 MB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.607, allocations: 8 kB / 471.1 MB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004111/0.6075, allocations: 81.22 kB / 471.2 MB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.6078, allocations: 75.89 kB / 471.3 MB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00277/0.6106, allocations: 1.776 MB / 473.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000394/0.611, allocations: 31.95 kB / 473.1 MB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.6111, allocations: 12 kB / 473.1 MB, free: 15.16 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.dcm_pm.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (35): * Single equations (assignments): 34 * 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 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.6113, allocations: 128.9 kB / 473.2 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.6114, allocations: 31.62 kB / 473.3 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.6115, allocations: 43.03 kB / 473.3 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.6115, allocations: 7.984 kB / 473.3 MB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.078e-06/0.6116, allocations: 4 kB / 473.3 MB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.293e-06/0.6116, allocations: 4 kB / 473.3 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.6132, allocations: 0.7611 MB / 474.1 MB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.798e-06/0.6132, allocations: 0 / 474.1 MB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/0.6136, allocations: 55.91 kB / 474.1 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001277/0.6138, allocations: 20.84 kB / 474.2 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.6138, allocations: 8 kB / 474.2 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.6151, allocations: 1.284 MB / 475.5 MB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.917e-06/0.6152, allocations: 3.938 kB / 475.5 MB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008565/0.616, allocations: 499.5 kB / 475.9 MB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.6162, allocations: 128.6 kB / 476.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/0.6163, allocations: 0 / 476.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.6167, allocations: 12 kB / 476.1 MB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.008e-05/0.6167, allocations: 23.91 kB / 476.1 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.6168, allocations: 4 kB / 476.1 MB, free: 11.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003508/0.6172, allocations: 226.2 kB / 476.3 MB, free: 11.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.14e-07/0.6172, allocations: 0 / 476.3 MB, free: 11.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007701/0.618, allocations: 96 kB / 476.4 MB, free: 11.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (dcm_pm.motor.phi_el,dcm_pm.motor.w_el,dcm_pm.motor.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002369/0.6182, allocations: 131.2 kB / 476.6 MB, free: 11.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008895/0.6191, allocations: 337.4 kB / 476.9 MB, free: 11.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.477e-06/0.6191, allocations: 5.188 kB / 476.9 MB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003956/0.6195, allocations: 205.6 kB / 477.1 MB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007458/0.6203, allocations: 89.83 kB / 477.2 MB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.6221, allocations: 0.6758 MB / 477.9 MB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006295/0.6227, allocations: 0.8509 MB / 478.7 MB, free: 9.215 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003142/0.623, allocations: 51.25 kB / 478.8 MB, free: 9.168 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.6232, allocations: 31.38 kB / 478.8 MB, free: 9.137 MB / 410.7 MB Notification: Performance of SimCode: time 1.757e-06/0.6232, allocations: 3.938 kB / 478.8 MB, free: 9.133 MB / 410.7 MB Notification: Performance of Templates: time 0.0144/0.6376, allocations: 4.452 MB / 483.2 MB, free: 4.727 MB / 410.7 MB