Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") Notification: Performance of loadModel(PowerSystems): time 2.247/2.247, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.378e-05, allocations: 3.938 kB / 302.2 MB, free: 7.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09307/0.09312, allocations: 53.24 MB / 355.4 MB, free: 2.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3943/0.4875, allocations: 107.5 MB / 463 MB, free: 10.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.4878, allocations: 95.94 kB / 463.1 MB, free: 10.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.109/0.5968, allocations: 25.91 MB / 489 MB, free: 15.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.887e-06/0.5968, allocations: 0 / 489 MB, free: 15.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.792e-05/0.5969, allocations: 15.94 kB / 489 MB, free: 15.86 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.002413/0.5993, allocations: 0.9586 MB / 490 MB, free: 14.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.5994, allocations: 8.031 kB / 490 MB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006482/0.6, allocations: 103 kB / 490.1 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/0.6027, allocations: 0.8445 MB / 490.9 MB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.6029, allocations: 87.53 kB / 491 MB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.6031, allocations: 71.98 kB / 491.1 MB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.6052, allocations: 0.9331 MB / 492 MB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/0.6053, allocations: 7.938 kB / 492 MB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.6054, allocations: 28 kB / 492 MB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001441/0.6056, allocations: 53.3 kB / 492.1 MB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.6074, allocations: 0.7288 MB / 492.8 MB, free: 11.89 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007405/0.6148, allocations: 3.854 MB / 496.7 MB, free: 7.816 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009537/0.6158, allocations: 412.1 kB / 497.1 MB, free: 7.387 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006317/0.6165, allocations: 266.5 kB / 497.3 MB, free: 7.117 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.896e-05/0.6165, allocations: 11.92 kB / 497.3 MB, free: 7.105 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.6166, allocations: 47.14 kB / 497.4 MB, free: 7.051 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 4.352e-06/0.6166, allocations: 0 / 497.4 MB, free: 7.051 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.0134/0.63, allocations: 3.659 MB / 0.4893 GB, free: 3.227 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.6301, allocations: 111.2 kB / 0.4894 GB, free: 3.094 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008403/0.631, allocations: 452.5 kB / 0.4898 GB, free: 2.645 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.9e-05/0.6311, allocations: 37.64 kB / 0.4899 GB, free: 2.602 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/0.6315, allocations: 399.1 kB / 0.4903 GB, free: 2.207 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.6317, allocations: 193.1 kB / 0.4904 GB, free: 2.016 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.6318, allocations: 20.03 kB / 0.4905 GB, free: 1.996 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.632, allocations: 370.8 kB / 0.4908 GB, free: 1.625 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006332/0.6327, allocations: 273.5 kB / 0.4911 GB, free: 1.359 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007938/0.6335, allocations: 491.7 kB / 0.4915 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007715/0.6343, allocations: 365.4 kB / 0.4919 GB, free: 428 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.299e-06/0.6343, allocations: 3.953 kB / 0.4919 GB, free: 424 kB / 426.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004459/0.6388, allocations: 1.549 MB / 0.4934 GB, free: 14.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.6389, allocations: 8 kB / 0.4934 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.6389, allocations: 8 kB / 0.4934 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002305/0.6412, allocations: 0.4922 MB / 0.4939 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/0.6419, allocations: 115.8 kB / 0.494 GB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01569/0.6576, allocations: 9.92 MB / 0.5037 GB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007979/0.6584, allocations: 39.84 kB / 0.5037 GB, free: 3.508 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-05/0.6585, allocations: 31.98 kB / 0.5038 GB, free: 3.477 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (59): * Single equations (assignments): 54 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(3,88.9%) 8,(1,100.0%) 2,(1,100.0%) 3} * Non-linear torn systems: 1 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002367/0.6588, allocations: 148.8 kB / 0.5039 GB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.659, allocations: 63.25 kB / 0.504 GB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004104/0.6631, allocations: 1.43 MB / 0.5054 GB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.6631, allocations: 8 kB / 0.5054 GB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.6632, allocations: 4 kB / 0.5054 GB, free: 1.738 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.6632, allocations: 7.938 kB / 0.5054 GB, free: 1.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006125/0.6693, allocations: 2.347 MB / 0.5077 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.6694, allocations: 0 / 0.5077 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.6699, allocations: 59.91 kB / 0.5077 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002104/0.672, allocations: 492.2 kB / 0.5082 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.048e-05/0.6721, allocations: 15.98 kB / 0.5082 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01466/0.6868, allocations: 9.687 MB / 0.5177 GB, free: 4.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.604e-06/0.6868, allocations: 4 kB / 0.5177 GB, free: 4.316 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005029/0.6919, allocations: 1.995 MB / 0.5196 GB, free: 2.203 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004491/0.6924, allocations: 188.3 kB / 0.5198 GB, free: 2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.6925, allocations: 12 kB / 0.5198 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005571/0.6931, allocations: 19.98 kB / 0.5198 GB, free: 1.969 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002313/0.6933, allocations: 64.47 kB / 0.5199 GB, free: 1.906 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.257e-05/0.6934, allocations: 16 kB / 0.5199 GB, free: 1.891 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006229/0.694, allocations: 345.5 kB / 0.5202 GB, free: 1.555 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.858e-06/0.6941, allocations: 4 kB / 0.5203 GB, free: 1.551 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001512/0.6956, allocations: 243.9 kB / 0.5205 GB, free: 1.312 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (machine.motor.phi_el,machine.motor.w_el) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 8,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003444/0.6959, allocations: 163.6 kB / 0.5206 GB, free: 1.141 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.2434/0.9394, allocations: 1.375 MB / 0.522 GB, free: 132.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.9395, allocations: 0 / 0.522 GB, free: 132.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002187/0.9417, allocations: 1.053 MB / 0.523 GB, free: 131.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.9428, allocations: 164 kB / 0.5232 GB, free: 131.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.9458, allocations: 1.274 MB / 0.5244 GB, free: 131.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008568/0.9467, allocations: 1.069 MB / 0.5255 GB, free: 130.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005839/0.9473, allocations: 105.1 kB / 0.5256 GB, free: 130.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.9474, allocations: 39.84 kB / 0.5256 GB, free: 130.6 MB / 458.7 MB Notification: Performance of SimCode: time 2.019e-06/0.9474, allocations: 0 / 0.5256 GB, free: 130.6 MB / 458.7 MB Notification: Performance of Templates: time 0.03445/0.9819, allocations: 13.79 MB / 0.5391 GB, free: 130.1 MB / 458.7 MB