Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") Notification: Performance of loadModel(PowerSystems): time 2.388/2.388, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.266e-05/3.275e-05, allocations: 3.984 kB / 302.2 MB, free: 7.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09989/0.09994, allocations: 53.23 MB / 355.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4681/0.5681, allocations: 96.89 MB / 452.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002125/0.5703, allocations: 0.6869 MB / 453 MB, free: 4.176 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06528/0.6356, allocations: 16.09 MB / 469.1 MB, free: 3.926 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.177e-06/0.6356, allocations: 0 / 469.1 MB, free: 3.926 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.12e-05/0.6357, allocations: 19.94 kB / 469.1 MB, free: 3.906 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.001678/0.6374, allocations: 0.784 MB / 469.9 MB, free: 3.066 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.6374, allocations: 12.03 kB / 469.9 MB, free: 3.055 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.6376, allocations: 59.25 kB / 470 MB, free: 2.996 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.64, allocations: 0.7574 MB / 470.7 MB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.127e-05/0.6401, allocations: 29.52 kB / 470.8 MB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.6402, allocations: 48 kB / 470.8 MB, free: 2.121 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.6414, allocations: 0.5128 MB / 471.3 MB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.6414, allocations: 7.891 kB / 471.3 MB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.636e-05/0.6415, allocations: 17.31 kB / 471.3 MB, free: 1.539 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.6415, allocations: 16 kB / 471.4 MB, free: 1.523 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007651/0.6423, allocations: 313.3 kB / 471.7 MB, free: 1.219 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003751/0.6461, allocations: 2.074 MB / 473.7 MB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/0.6468, allocations: 219.8 kB / 474 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.6471, allocations: 82.97 kB / 474 MB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.6471, allocations: 7.953 kB / 474 MB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003591/0.6475, allocations: 162.4 kB / 474.2 MB, free: 14.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 5.069e-06/0.6475, allocations: 0 / 474.2 MB, free: 14.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002663/0.6502, allocations: 1.076 MB / 475.3 MB, free: 13.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.826e-05/0.6503, allocations: 144.3 kB / 475.4 MB, free: 13.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006323/0.651, allocations: 363 kB / 475.8 MB, free: 12.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.651, allocations: 37.75 kB / 475.8 MB, free: 12.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.6513, allocations: 301.2 kB / 476.1 MB, free: 12.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.6514, allocations: 86.75 kB / 476.2 MB, free: 12.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.6515, allocations: 4 kB / 476.2 MB, free: 12.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.6517, allocations: 358.8 kB / 476.5 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.6519, allocations: 84.86 kB / 476.6 MB, free: 11.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.6523, allocations: 220.6 kB / 476.8 MB, free: 11.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.6526, allocations: 149.6 kB / 477 MB, free: 11.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.6527, allocations: 4 kB / 477 MB, free: 11.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001293/0.654, allocations: 460.8 kB / 477.4 MB, free: 11.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.879e-05/0.654, allocations: 33.7 kB / 477.5 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.6541, allocations: 4 kB / 477.5 MB, free: 11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005399/0.6546, allocations: 97.12 kB / 477.6 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.655, allocations: 75.91 kB / 477.6 MB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.6577, allocations: 1.687 MB / 479.3 MB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/0.6582, allocations: 19.98 kB / 479.4 MB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/0.6583, allocations: 20.06 kB / 479.4 MB, free: 8.973 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.0001617/0.6585, allocations: 140.8 kB / 479.5 MB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-05/0.6586, allocations: 43.44 kB / 479.6 MB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008365/0.6594, allocations: 278 kB / 479.8 MB, free: 8.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.96e-06/0.6594, allocations: 4 kB / 479.8 MB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.6595, allocations: 7.938 kB / 479.8 MB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.021e-06/0.6595, allocations: 0 / 479.8 MB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.6612, allocations: 0.7839 MB / 480.6 MB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.744e-06/0.6612, allocations: 0 / 480.6 MB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.6616, allocations: 51.91 kB / 480.7 MB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002885/0.6619, allocations: 44.81 kB / 480.7 MB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.662, allocations: 12 kB / 480.7 MB, free: 7.535 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.6638, allocations: 1.425 MB / 482.2 MB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.919e-06/0.6638, allocations: 4.062 kB / 482.2 MB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.6649, allocations: 496.8 kB / 482.6 MB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.6651, allocations: 144.7 kB / 482.8 MB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.92e-05/0.6652, allocations: 11.95 kB / 482.8 MB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.6656, allocations: 11.98 kB / 482.8 MB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.191e-05/0.6657, allocations: 31.89 kB / 482.8 MB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.6657, allocations: 8 kB / 482.8 MB, free: 5.223 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004748/0.6662, allocations: 281.2 kB / 483.1 MB, free: 4.953 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.35e-07/0.6662, allocations: 0 / 483.1 MB, free: 4.953 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007505/0.667, allocations: 120 kB / 483.2 MB, free: 4.836 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.001138/0.6681, allocations: 357.8 kB / 483.6 MB, free: 4.543 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.6692, allocations: 429.5 kB / 484 MB, free: 4.102 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.6692, allocations: 448 / 484 MB, free: 4.102 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005108/0.6698, allocations: 222.3 kB / 484.2 MB, free: 3.875 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008013/0.6706, allocations: 126 kB / 484.3 MB, free: 3.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.6727, allocations: 0.8999 MB / 485.2 MB, free: 2.824 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006612/0.6734, allocations: 0.8857 MB / 486.1 MB, free: 1.914 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003792/0.6738, allocations: 68.23 kB / 486.2 MB, free: 1.844 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.6739, allocations: 35.42 kB / 486.2 MB, free: 1.809 MB / 410.7 MB Notification: Performance of SimCode: time 1.846e-06/0.6739, allocations: 0 / 486.2 MB, free: 1.809 MB / 410.7 MB Notification: Performance of Templates: time 0.0178/0.6917, allocations: 6.178 MB / 492.4 MB, free: 11.64 MB / 426.7 MB