Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") Notification: Performance of loadModel(PowerSystems): time 2.264/2.264, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.442e-05/3.457e-05, allocations: 4 kB / 302.2 MB, free: 7.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0942/0.09425, allocations: 53.22 MB / 355.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4177/0.512, allocations: 107.5 MB / 463 MB, free: 10.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.5123, allocations: 97.97 kB / 463.1 MB, free: 10.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1093/0.6217, allocations: 25.91 MB / 489 MB, free: 15.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.958e-06/0.6217, allocations: 4 kB / 489 MB, free: 15.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.119e-05/0.6218, allocations: 23.88 kB / 489 MB, free: 15.84 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.002316/0.6241, allocations: 0.9547 MB / 490 MB, free: 14.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.6242, allocations: 8.031 kB / 490 MB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006054/0.6248, allocations: 103 kB / 490.1 MB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.6274, allocations: 0.8407 MB / 490.9 MB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.6276, allocations: 87.64 kB / 491 MB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.6277, allocations: 60 kB / 491.1 MB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.6299, allocations: 0.9447 MB / 492 MB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.63, allocations: 4 kB / 492 MB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.6301, allocations: 28 kB / 492 MB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/0.6302, allocations: 57.28 kB / 492.1 MB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.632, allocations: 0.7288 MB / 492.8 MB, free: 11.88 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.007188/0.6392, allocations: 3.842 MB / 496.7 MB, free: 7.816 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009511/0.6402, allocations: 416 kB / 497.1 MB, free: 7.383 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006656/0.6409, allocations: 272.9 kB / 497.3 MB, free: 7.109 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.651e-05/0.641, allocations: 4 kB / 497.3 MB, free: 7.105 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.641, allocations: 47.08 kB / 497.4 MB, free: 7.051 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 3.745e-06/0.6411, allocations: 4 kB / 497.4 MB, free: 7.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.01377/0.6548, allocations: 3.665 MB / 0.4893 GB, free: 3.215 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.711e-05/0.655, allocations: 111.2 kB / 0.4894 GB, free: 3.082 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008198/0.6558, allocations: 448.5 kB / 0.4898 GB, free: 2.637 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.6559, allocations: 33.7 kB / 0.4899 GB, free: 2.598 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/0.6563, allocations: 395.1 kB / 0.4902 GB, free: 2.207 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.6566, allocations: 197.1 kB / 0.4904 GB, free: 2.012 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.6566, allocations: 12 kB / 0.4904 GB, free: 2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000238/0.6569, allocations: 370.8 kB / 0.4908 GB, free: 1.629 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006137/0.6575, allocations: 277.5 kB / 0.4911 GB, free: 1.359 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007994/0.6583, allocations: 491.7 kB / 0.4915 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000885/0.6592, allocations: 369.4 kB / 0.4919 GB, free: 424 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.554e-06/0.6592, allocations: 3.953 kB / 0.4919 GB, free: 420 kB / 426.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004555/0.6638, allocations: 1.549 MB / 0.4934 GB, free: 14.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.6639, allocations: 11.98 kB / 0.4934 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.6639, allocations: 8 kB / 0.4934 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/0.6663, allocations: 0.496 MB / 0.4939 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005971/0.6669, allocations: 107.8 kB / 0.494 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01598/0.6829, allocations: 9.922 MB / 0.5037 GB, free: 3.543 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007742/0.6837, allocations: 43.91 kB / 0.5037 GB, free: 3.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.162e-05/0.6839, allocations: 28 kB / 0.5038 GB, free: 3.473 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.0002316/0.6841, allocations: 148.8 kB / 0.5039 GB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.6843, allocations: 63.25 kB / 0.504 GB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/0.6884, allocations: 1.433 MB / 0.5054 GB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.6885, allocations: 8.234 kB / 0.5054 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.6885, allocations: 4 kB / 0.5054 GB, free: 1.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.6885, allocations: 7.984 kB / 0.5054 GB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006266/0.6948, allocations: 2.351 MB / 0.5077 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.6948, allocations: 0 / 0.5077 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/0.6953, allocations: 51.8 kB / 0.5077 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002194/0.6975, allocations: 496.2 kB / 0.5082 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.624e-05/0.6976, allocations: 19.98 kB / 0.5082 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0155/0.7132, allocations: 9.676 MB / 0.5177 GB, free: 4.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.175e-06/0.7132, allocations: 3.938 kB / 0.5177 GB, free: 4.316 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005116/0.7183, allocations: 2.001 MB / 0.5196 GB, free: 2.195 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000462/0.7189, allocations: 188.3 kB / 0.5198 GB, free: 1.992 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.719, allocations: 12 kB / 0.5198 GB, free: 1.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/0.7195, allocations: 19.98 kB / 0.5198 GB, free: 1.961 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.7198, allocations: 52.77 kB / 0.5199 GB, free: 1.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.163e-05/0.7199, allocations: 24.05 kB / 0.5199 GB, free: 1.887 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006154/0.7205, allocations: 349.5 kB / 0.5202 GB, free: 1.547 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.97e-07/0.7205, allocations: 0 / 0.5202 GB, free: 1.547 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001482/0.722, allocations: 240 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.000335/0.7224, allocations: 168.9 kB / 0.5206 GB, free: 1.137 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.2486/0.971, allocations: 1.384 MB / 0.522 GB, free: 132.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.971, allocations: 0.9688 kB / 0.522 GB, free: 132.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002212/0.9733, allocations: 1.051 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.001092/0.9744, allocations: 155.7 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.002953/0.9774, allocations: 1.281 MB / 0.5244 GB, free: 131.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008547/0.9782, allocations: 1.066 MB / 0.5255 GB, free: 130.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00058/0.9788, allocations: 105.3 kB / 0.5256 GB, free: 130.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.979, allocations: 41.06 kB / 0.5256 GB, free: 130.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.709e-06/0.979, allocations: 0 / 0.5256 GB, free: 130.6 MB / 458.7 MB Notification: Performance of Templates: time 0.03518/1.014, allocations: 13.79 MB / 0.5391 GB, free: 130.1 MB / 458.7 MB