Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_BLDCcharSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.478/2.478, allocations: 233 MB / 246.1 MB, free: 15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.985e-05/4.99e-05, allocations: 8 kB / 302.3 MB, free: 7.598 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1387, allocations: 53.23 MB / 355.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.485/0.6238, allocations: 107.5 MB / 463.1 MB, free: 10.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003603/0.6242, allocations: 91.95 kB / 463.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1194/0.7437, allocations: 25.93 MB / 489.1 MB, free: 15.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7437, allocations: 0 / 489.1 MB, free: 15.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.302e-05/0.7438, allocations: 12 kB / 489.1 MB, free: 15.93 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.00317/0.747, allocations: 0.9547 MB / 490.1 MB, free: 14.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.7471, allocations: 8.031 kB / 490.1 MB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003148/0.7474, allocations: 126.5 kB / 490.2 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007145/0.7481, allocations: 102.9 kB / 490.3 MB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003303/0.7515, allocations: 0.8524 MB / 491.1 MB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.7517, allocations: 79.66 kB / 491.2 MB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/0.7519, allocations: 64 kB / 491.3 MB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.7546, allocations: 0.9369 MB / 492.2 MB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.515e-05/0.7547, allocations: 4 kB / 492.2 MB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.7549, allocations: 27.98 kB / 492.2 MB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002699/0.7552, allocations: 49.3 kB / 492.3 MB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.7576, allocations: 0.7366 MB / 493 MB, free: 11.84 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.009254/0.7669, allocations: 3.85 MB / 496.9 MB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.7681, allocations: 412.1 kB / 497.3 MB, free: 7.336 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007614/0.7688, allocations: 274.5 kB / 497.5 MB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.88e-05/0.7689, allocations: 4 kB / 497.6 MB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.769, allocations: 43.08 kB / 497.6 MB, free: 7.004 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 3.656e-06/0.769, allocations: 0 / 497.6 MB, free: 7.004 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.01898/0.788, allocations: 3.665 MB / 0.4895 GB, free: 3.172 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.7881, allocations: 111.2 kB / 0.4896 GB, free: 3.039 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009276/0.789, allocations: 444.5 kB / 0.49 GB, free: 2.598 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.7892, allocations: 37.7 kB / 0.4901 GB, free: 2.555 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003867/0.7896, allocations: 403.1 kB / 0.4905 GB, free: 2.156 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/0.7899, allocations: 197.1 kB / 0.4906 GB, free: 1.961 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.7899, allocations: 12 kB / 0.4907 GB, free: 1.949 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.7902, allocations: 374.8 kB / 0.491 GB, free: 1.574 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007355/0.7909, allocations: 269.5 kB / 0.4913 GB, free: 1.312 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009093/0.7918, allocations: 499.7 kB / 0.4918 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009189/0.7928, allocations: 361.4 kB / 0.4921 GB, free: 376 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/0.7928, allocations: 7.953 kB / 0.4921 GB, free: 368 kB / 426.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00595/0.7987, allocations: 1.541 MB / 0.4936 GB, free: 14.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.7988, allocations: 10.19 kB / 0.4936 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.417e-05/0.7989, allocations: 8 kB / 0.4936 GB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003074/0.802, allocations: 0.4883 MB / 0.4941 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008485/0.8029, allocations: 111.8 kB / 0.4942 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01794/0.8208, allocations: 9.933 MB / 0.5039 GB, free: 3.496 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009938/0.8219, allocations: 39.84 kB / 0.5039 GB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.075e-05/0.822, allocations: 31.98 kB / 0.504 GB, free: 3.426 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.000242/0.8222, allocations: 148.8 kB / 0.5041 GB, free: 3.273 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.8224, allocations: 63.25 kB / 0.5042 GB, free: 3.211 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005614/0.8281, allocations: 1.433 MB / 0.5056 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/0.8281, allocations: 16 kB / 0.5056 GB, free: 1.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.8282, allocations: 4 kB / 0.5056 GB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/0.8282, allocations: 3.984 kB / 0.5056 GB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007858/0.8361, allocations: 2.345 MB / 0.5079 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.041e-05/0.8361, allocations: 4 kB / 0.5079 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006504/0.8368, allocations: 55.91 kB / 0.508 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002872/0.8397, allocations: 496.3 kB / 0.5084 GB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.644e-05/0.8398, allocations: 19.92 kB / 0.5084 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01708/0.8569, allocations: 9.679 MB / 0.5179 GB, free: 4.266 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.857, allocations: 0 / 0.5179 GB, free: 4.266 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006592/0.8636, allocations: 1.997 MB / 0.5198 GB, free: 2.148 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004998/0.8641, allocations: 192.3 kB / 0.52 GB, free: 1.941 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.8643, allocations: 12 kB / 0.52 GB, free: 1.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006849/0.865, allocations: 20.05 kB / 0.5201 GB, free: 1.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000304/0.8653, allocations: 64.52 kB / 0.5201 GB, free: 1.848 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.176e-05/0.8654, allocations: 12 kB / 0.5201 GB, free: 1.836 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007073/0.8661, allocations: 349.5 kB / 0.5205 GB, free: 1.496 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.8661, allocations: 0 / 0.5205 GB, free: 1.496 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001588/0.8677, allocations: 236 kB / 0.5207 GB, free: 1.266 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.3147/1.182, allocations: 2.865 MB / 0.5235 GB, free: 130.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003916/1.186, allocations: 1.388 MB / 0.5248 GB, free: 130.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.186, allocations: 1.438 kB / 0.5248 GB, free: 130.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002816/1.189, allocations: 1.051 MB / 0.5259 GB, free: 129.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/1.191, allocations: 157 kB / 0.526 GB, free: 129.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/1.195, allocations: 1.477 MB / 0.5275 GB, free: 129.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009861/1.196, allocations: 1.066 MB / 0.5285 GB, free: 128.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007966/1.197, allocations: 109.8 kB / 0.5286 GB, free: 128.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004868/1.197, allocations: 254.5 kB / 0.5289 GB, free: 128.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.163e-06/1.197, allocations: 3.391 kB / 0.5289 GB, free: 128.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07189/1.269, allocations: 20.33 MB / 0.5487 GB, free: 127.7 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/1.27, allocations: 200.1 kB / 0.5489 GB, free: 127.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/4.281, allocations: 0 / 0.5489 GB, free: 127.5 MB / 458.7 MB