Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") Notification: Performance of loadModel(PowerSystems): time 2.311/2.311, allocations: 233 MB / 246.1 MB, free: 14.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.512e-05/3.484e-05, allocations: 7.984 kB / 302.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09208/0.09214, allocations: 53.24 MB / 355.4 MB, free: 2.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4228/0.515, allocations: 96.39 MB / 451.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002214/0.5173, allocations: 0.6869 MB / 452.5 MB, free: 4.684 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06114/0.5784, allocations: 14.5 MB / 467 MB, free: 6.043 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.698e-06/0.5785, allocations: 0 / 467 MB, free: 6.043 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.674e-05/0.5785, allocations: 19.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.001553/0.5801, allocations: 0.7474 MB / 467.8 MB, free: 5.223 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.5802, allocations: 12.03 kB / 467.8 MB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.5804, allocations: 55.34 kB / 467.8 MB, free: 5.156 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/0.5826, allocations: 0.6911 MB / 468.5 MB, free: 4.422 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/0.5827, allocations: 28.78 kB / 468.6 MB, free: 4.395 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.611e-05/0.5828, allocations: 37.08 kB / 468.6 MB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.5838, allocations: 454.7 kB / 469 MB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.5838, allocations: 3.938 kB / 469 MB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.879e-05/0.5839, allocations: 16 kB / 469.1 MB, free: 3.848 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.5839, allocations: 8 kB / 469.1 MB, free: 3.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006487/0.5846, allocations: 253.4 kB / 469.3 MB, free: 3.594 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00343/0.5881, allocations: 1.865 MB / 471.2 MB, free: 1.617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006888/0.5888, allocations: 244.1 kB / 471.4 MB, free: 1.352 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.589, allocations: 86.95 kB / 471.5 MB, free: 1.258 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/0.5891, allocations: 4.188 kB / 471.5 MB, free: 1.254 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003866/0.5895, allocations: 170.4 kB / 471.7 MB, free: 1.066 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.315e-06/0.5895, allocations: 0 / 471.7 MB, free: 1.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.002714/0.5922, allocations: 1.064 MB / 472.7 MB, free: 15.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.56e-05/0.5924, allocations: 136.6 kB / 472.9 MB, free: 15.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005953/0.593, allocations: 342.8 kB / 473.2 MB, free: 15.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.593, allocations: 29.7 kB / 473.2 MB, free: 15.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.5933, allocations: 267.8 kB / 473.5 MB, free: 15.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.5934, allocations: 94.66 kB / 473.6 MB, free: 15.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.5935, allocations: 5.312 kB / 473.6 MB, free: 15.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.5937, allocations: 358.8 kB / 473.9 MB, free: 14.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.594, allocations: 80.73 kB / 474 MB, free: 14.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.5943, allocations: 209.7 kB / 474.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.5947, allocations: 151.4 kB / 474.4 MB, free: 14.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.154e-06/0.5947, allocations: 0 / 474.4 MB, free: 14.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001284/0.596, allocations: 449.3 kB / 474.8 MB, free: 13.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/0.5961, allocations: 33.7 kB / 474.8 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.5961, allocations: 4.531 kB / 474.9 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000547/0.5967, allocations: 96.77 kB / 474.9 MB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.597, allocations: 71.89 kB / 475 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/0.6001, allocations: 1.812 MB / 476.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.6006, allocations: 16 kB / 476.8 MB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/0.6007, allocations: 19.94 kB / 476.9 MB, free: 11.51 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.0001629/0.6009, allocations: 132.8 kB / 477 MB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.383e-05/0.601, allocations: 43.59 kB / 477 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009075/0.6019, allocations: 301.6 kB / 477.3 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.6019, allocations: 4 kB / 477.3 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.434e-06/0.6019, allocations: 0 / 477.3 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.678e-06/0.6019, allocations: 0 / 477.3 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.6036, allocations: 0.7727 MB / 478.1 MB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.6036, allocations: 4 kB / 478.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.604, allocations: 51.91 kB / 478.2 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002961/0.6044, allocations: 48.81 kB / 478.2 MB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.6044, allocations: 8 kB / 478.2 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.6062, allocations: 1.425 MB / 479.6 MB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.208e-06/0.6063, allocations: 0 / 479.6 MB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.6075, allocations: 0.5206 MB / 480.2 MB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.6078, allocations: 136.7 kB / 480.3 MB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/0.6079, allocations: 7.984 kB / 480.3 MB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.6082, allocations: 16 kB / 480.3 MB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.692e-05/0.6083, allocations: 27.84 kB / 480.4 MB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.6084, allocations: 19.98 kB / 480.4 MB, free: 7.738 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004911/0.6089, allocations: 261.2 kB / 480.6 MB, free: 7.484 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.53e-07/0.6089, allocations: 4 kB / 480.6 MB, free: 7.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008157/0.6097, allocations: 123.9 kB / 480.7 MB, free: 7.359 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.001152/0.6109, allocations: 353.7 kB / 481.1 MB, free: 7.066 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.6121, allocations: 444.7 kB / 481.5 MB, free: 6.609 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6121, allocations: 1.062 kB / 481.5 MB, free: 6.609 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005393/0.6126, allocations: 237.7 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.0008209/0.6135, allocations: 113.4 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.002041/0.6156, allocations: 0.8023 MB / 482.7 MB, free: 5.426 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006306/0.6162, allocations: 0.8665 MB / 483.5 MB, free: 4.531 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000377/0.6166, allocations: 59.31 kB / 483.6 MB, free: 4.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.6167, allocations: 31.44 kB / 483.6 MB, free: 4.438 MB / 410.7 MB Notification: Performance of SimCode: time 2.256e-06/0.6168, allocations: 0 / 483.6 MB, free: 4.438 MB / 410.7 MB Notification: Performance of Templates: time 0.01728/0.634, allocations: 5.903 MB / 489.5 MB, free: 14.55 MB / 426.7 MB