Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") Notification: Performance of loadModel(PowerSystems): time 2.275/2.275, allocations: 233 MB / 246.1 MB, free: 14.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.708e-05/4.723e-05, allocations: 7.938 kB / 302.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09185/0.09192, allocations: 53.23 MB / 355.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3732/0.4652, allocations: 96.38 MB / 451.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002122/0.4674, allocations: 0.6859 MB / 452.5 MB, free: 4.684 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05873/0.5261, allocations: 14.51 MB / 467 MB, free: 6.035 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.998e-06/0.5262, allocations: 0 / 467 MB, free: 6.035 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.301e-05/0.5262, allocations: 11.94 kB / 467 MB, free: 6.023 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001554/0.5278, allocations: 0.7552 MB / 467.8 MB, free: 5.215 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.5278, allocations: 8.031 kB / 467.8 MB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.528, allocations: 59.34 kB / 467.8 MB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/0.5304, allocations: 0.6794 MB / 468.5 MB, free: 4.426 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.74e-05/0.5306, allocations: 28.78 kB / 468.6 MB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.5307, allocations: 40.52 kB / 468.6 MB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009738/0.5317, allocations: 446.7 kB / 469 MB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.5317, allocations: 15.92 kB / 469 MB, free: 3.859 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.937e-05/0.5318, allocations: 20 kB / 469.1 MB, free: 3.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.5318, allocations: 8 kB / 469.1 MB, free: 3.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006441/0.5325, allocations: 253.4 kB / 469.3 MB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.5357, allocations: 1.868 MB / 471.2 MB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/0.5364, allocations: 236.1 kB / 471.4 MB, free: 1.348 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.5366, allocations: 90.95 kB / 471.5 MB, free: 1.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.5367, allocations: 8.328 kB / 471.5 MB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003579/0.537, allocations: 166.4 kB / 471.7 MB, free: 1.059 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.591e-06/0.5371, allocations: 0 / 471.7 MB, free: 1.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.002627/0.5397, allocations: 1.068 MB / 472.7 MB, free: 15.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.532e-05/0.5398, allocations: 136.5 kB / 472.9 MB, free: 15.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.5404, allocations: 334.8 kB / 473.2 MB, free: 15.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.5405, allocations: 33.7 kB / 473.2 MB, free: 15.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.5407, allocations: 271.7 kB / 473.5 MB, free: 15.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.5409, allocations: 95.41 kB / 473.6 MB, free: 15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.5409, allocations: 8 kB / 473.6 MB, free: 14.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.5411, allocations: 350.8 kB / 473.9 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.5414, allocations: 84.73 kB / 474 MB, free: 14.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.5417, allocations: 208.4 kB / 474.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.5421, allocations: 155.4 kB / 474.4 MB, free: 14.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.678e-06/0.5421, allocations: 0 / 474.4 MB, free: 14.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001266/0.5434, allocations: 449.4 kB / 474.8 MB, free: 13.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.5435, allocations: 33.7 kB / 474.9 MB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.5435, allocations: 5.875 kB / 474.9 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005356/0.544, allocations: 85.19 kB / 474.9 MB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.5444, allocations: 71.91 kB / 475 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/0.5474, allocations: 1.812 MB / 476.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/0.5479, allocations: 28 kB / 476.9 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/0.5479, allocations: 20 kB / 476.9 MB, free: 11.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (39): * Single equations (assignments): 37 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.5481, allocations: 124.8 kB / 477 MB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/0.5482, allocations: 39.53 kB / 477 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008606/0.5491, allocations: 301.6 kB / 477.3 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.99e-06/0.5491, allocations: 7.984 kB / 477.3 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.875e-06/0.5491, allocations: 4 kB / 477.3 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.459e-06/0.5491, allocations: 0 / 477.3 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.5507, allocations: 0.7726 MB / 478.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5507, allocations: 0 / 478.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.5511, allocations: 55.91 kB / 478.2 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003013/0.5514, allocations: 52.81 kB / 478.2 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.5515, allocations: 4 kB / 478.2 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.5532, allocations: 1.429 MB / 479.7 MB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.699e-06/0.5533, allocations: 4.031 kB / 479.7 MB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.5545, allocations: 0.5167 MB / 480.2 MB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.5547, allocations: 132.7 kB / 480.3 MB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-05/0.5548, allocations: 8 kB / 480.3 MB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.5552, allocations: 15.98 kB / 480.3 MB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.212e-05/0.5553, allocations: 31.84 kB / 480.4 MB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.5553, allocations: 7.984 kB / 480.4 MB, free: 7.738 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004512/0.5558, allocations: 265.2 kB / 480.6 MB, free: 7.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.36e-07/0.5558, allocations: 4 kB / 480.6 MB, free: 7.477 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007785/0.5566, allocations: 127.9 kB / 480.8 MB, free: 7.352 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.motor.phi_el,dcm_ser.motor.w_el,dcm_ser.motor.i,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 (25): * Single equations (assignments): 23 * 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.001131/0.5577, allocations: 352 kB / 481.1 MB, free: 7.062 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.5589, allocations: 446.1 kB / 481.5 MB, free: 6.605 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.5589, allocations: 0 / 481.5 MB, free: 6.605 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005374/0.5595, allocations: 233.6 kB / 481.8 MB, free: 6.367 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007688/0.5603, allocations: 113.5 kB / 481.9 MB, free: 6.254 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.5622, allocations: 0.8031 MB / 482.7 MB, free: 5.422 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.5629, allocations: 0.8626 MB / 483.5 MB, free: 4.531 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003754/0.5633, allocations: 63.31 kB / 483.6 MB, free: 4.465 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.5634, allocations: 31.44 kB / 483.6 MB, free: 4.434 MB / 410.7 MB Notification: Performance of SimCode: time 1.843e-06/0.5634, allocations: 0 / 483.6 MB, free: 4.434 MB / 410.7 MB Notification: Performance of Templates: time 0.01746/0.5809, allocations: 5.91 MB / 489.5 MB, free: 14.54 MB / 426.7 MB