Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") Notification: Performance of loadModel(PowerSystems): time 2.198/2.198, allocations: 233 MB / 246.1 MB, free: 14.78 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.295e-05/3.316e-05, allocations: 4 kB / 302.2 MB, free: 7.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09375/0.0938, allocations: 53.23 MB / 355.4 MB, free: 2.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3803/0.4742, allocations: 95 MB / 450.4 MB, free: 6.652 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.4745, allocations: 87.95 kB / 450.5 MB, free: 6.566 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05124/0.5258, allocations: 12.97 MB / 463.5 MB, free: 9.469 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5258, allocations: 0 / 463.5 MB, free: 9.469 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.605e-05/0.5259, allocations: 12.38 kB / 463.5 MB, free: 9.457 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.001337/0.5272, allocations: 0.6723 MB / 464.2 MB, free: 8.734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5273, allocations: 8.031 kB / 464.2 MB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.5274, allocations: 55.34 kB / 464.2 MB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.5294, allocations: 0.6663 MB / 464.9 MB, free: 7.965 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.5295, allocations: 66.69 kB / 465 MB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.5297, allocations: 40 kB / 465 MB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.5307, allocations: 492.8 kB / 465.5 MB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.5308, allocations: 7.891 kB / 465.5 MB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/0.5308, allocations: 20 kB / 465.5 MB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.5309, allocations: 8 kB / 465.5 MB, free: 7.293 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007111/0.5316, allocations: 297.4 kB / 465.8 MB, free: 7.004 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003338/0.5349, allocations: 1.992 MB / 467.8 MB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.5354, allocations: 203.7 kB / 468 MB, free: 4.672 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.5356, allocations: 82.64 kB / 468.1 MB, free: 4.582 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.5357, allocations: 7.922 kB / 468.1 MB, free: 4.574 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.5357, allocations: 38.56 kB / 468.1 MB, free: 4.527 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 3.347e-06/0.5357, allocations: 5.812 kB / 468.1 MB, free: 4.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.002082/0.5378, allocations: 0.9477 MB / 469.1 MB, free: 3.488 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.215e-05/0.5379, allocations: 111 kB / 469.2 MB, free: 3.355 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.5384, allocations: 283.5 kB / 469.5 MB, free: 3.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.5384, allocations: 29.7 kB / 469.5 MB, free: 3.035 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.5387, allocations: 275.6 kB / 469.8 MB, free: 2.758 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.257e-05/0.5388, allocations: 78.84 kB / 469.8 MB, free: 2.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/0.5388, allocations: 12.06 kB / 469.9 MB, free: 2.668 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.539, allocations: 350.7 kB / 470.2 MB, free: 2.316 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.5392, allocations: 68 kB / 470.3 MB, free: 2.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.5395, allocations: 197.2 kB / 470.5 MB, free: 1.996 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008873/0.5404, allocations: 293.2 kB / 470.7 MB, free: 1.691 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5404, allocations: 0 / 470.7 MB, free: 1.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001033/0.5415, allocations: 389.9 kB / 471.1 MB, free: 1.301 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.5415, allocations: 8 kB / 471.1 MB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.5416, allocations: 4 kB / 471.1 MB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000418/0.542, allocations: 86.42 kB / 471.2 MB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.5424, allocations: 67.91 kB / 471.3 MB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003225/0.5456, allocations: 1.791 MB / 473.1 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/0.546, allocations: 15.91 kB / 473.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.5461, allocations: 20 kB / 473.1 MB, free: 15.18 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.0001578/0.5462, allocations: 128.9 kB / 473.2 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.5464, allocations: 35.61 kB / 473.3 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.5465, allocations: 43.05 kB / 473.3 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.5465, allocations: 4 kB / 473.3 MB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.625e-06/0.5465, allocations: 0 / 473.3 MB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.793e-06/0.5465, allocations: 0 / 473.3 MB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.5481, allocations: 0.7667 MB / 474.1 MB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.5481, allocations: 0 / 474.1 MB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.5485, allocations: 51.91 kB / 474.1 MB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001237/0.5487, allocations: 24.84 kB / 474.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.5487, allocations: 4 kB / 474.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.55, allocations: 1.28 MB / 475.4 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.387e-06/0.55, allocations: 4.031 kB / 475.4 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008347/0.5509, allocations: 499.4 kB / 475.9 MB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.5511, allocations: 132.5 kB / 476.1 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.5512, allocations: 8 kB / 476.1 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.5515, allocations: 23.98 kB / 476.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.5516, allocations: 15.98 kB / 476.1 MB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.5516, allocations: 4 kB / 476.1 MB, free: 11.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003388/0.552, allocations: 222.2 kB / 476.3 MB, free: 11.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.552, allocations: 0 / 476.3 MB, free: 11.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007465/0.5527, allocations: 92 kB / 476.4 MB, free: 11.6 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.0002233/0.553, allocations: 131.1 kB / 476.6 MB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008537/0.5538, allocations: 345.9 kB / 476.9 MB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.279e-06/0.5539, allocations: 0 / 476.9 MB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.5542, allocations: 205.4 kB / 477.1 MB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.5549, allocations: 93.95 kB / 477.2 MB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.5566, allocations: 0.6719 MB / 477.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006187/0.5572, allocations: 0.8509 MB / 478.7 MB, free: 9.242 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002858/0.5575, allocations: 47.27 kB / 478.8 MB, free: 9.199 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.952e-05/0.5576, allocations: 35.36 kB / 478.8 MB, free: 9.164 MB / 410.7 MB Notification: Performance of SimCode: time 4.122e-06/0.5577, allocations: 0 / 478.8 MB, free: 9.164 MB / 410.7 MB Notification: Performance of Templates: time 0.01372/0.5714, allocations: 4.455 MB / 483.2 MB, free: 4.754 MB / 410.7 MB