Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.95/1.95, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.978e-05/2.985e-05, allocations: 1.562 kB / 292.2 MB, free: 8.742 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 50.41 MB / 342.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4733/0.5789, allocations: 89.73 MB / 432.4 MB, free: 4.102 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.5793, allocations: 82.33 kB / 432.4 MB, free: 4.059 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8287/1.408, allocations: 152.5 MB / 0.5712 GB, free: 104.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.405e-06/1.408, allocations: 0 / 0.5712 GB, free: 104.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002131/1.408, allocations: 95.53 kB / 0.5713 GB, free: 104 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01847/1.427, allocations: 4.067 MB / 0.5753 GB, free: 102.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/1.427, allocations: 15.47 kB / 0.5753 GB, free: 102.6 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002328/1.429, allocations: 0.6412 MB / 0.5759 GB, free: 102.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007969/1.437, allocations: 0.9666 MB / 0.5769 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007745/1.445, allocations: 2.715 MB / 0.5795 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003421/1.445, allocations: 330.5 kB / 0.5798 GB, free: 100.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001468/1.447, allocations: 425.4 kB / 0.5802 GB, free: 100.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/1.464, allocations: 6.439 MB / 0.5865 GB, free: 97.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000155/1.464, allocations: 7.312 kB / 0.5865 GB, free: 97.17 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00085/1.465, allocations: 184.3 kB / 0.5867 GB, free: 97.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003732/1.466, allocations: 313.7 kB / 0.587 GB, free: 96.94 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0138/1.479, allocations: 4.587 MB / 0.5915 GB, free: 95.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04121/1.521, allocations: 20.75 MB / 0.6117 GB, free: 78.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008843/1.53, allocations: 5.566 MB / 0.6172 GB, free: 72.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/1.531, allocations: 0.7135 MB / 0.6179 GB, free: 71.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/1.531, allocations: 100.8 kB / 0.618 GB, free: 71.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/1.531, allocations: 43.34 kB / 0.618 GB, free: 71.58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 3.667e-06/1.531, allocations: 0 / 0.618 GB, free: 71.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=100): time 0.002393/1.534, allocations: 1.104 MB / 0.6191 GB, free: 70.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/1.534, allocations: 68.12 kB / 0.6192 GB, free: 70.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/1.536, allocations: 1.296 MB / 0.6204 GB, free: 69.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-05/1.536, allocations: 41.7 kB / 0.6205 GB, free: 69.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009553/1.537, allocations: 1.98 MB / 0.6224 GB, free: 67.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/1.538, allocations: 365 kB / 0.6227 GB, free: 66.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/1.538, allocations: 44 kB / 0.6228 GB, free: 66.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/1.538, allocations: 407.3 kB / 0.6232 GB, free: 66.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/1.54, allocations: 0.8321 MB / 0.624 GB, free: 65.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/1.542, allocations: 1.937 MB / 0.6259 GB, free: 62.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002408/1.544, allocations: 1.343 MB / 0.6272 GB, free: 61.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.407e-05/1.544, allocations: 12 kB / 0.6272 GB, free: 61.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.005356/1.55, allocations: 2.681 MB / 0.6298 GB, free: 58.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.197e-05/1.55, allocations: 20.97 kB / 0.6298 GB, free: 58.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.787e-05/1.55, allocations: 40 kB / 0.6299 GB, free: 58.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.424e-05/1.55, allocations: 64 kB / 0.6299 GB, free: 58.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003184/1.553, allocations: 0.5381 MB / 0.6305 GB, free: 58.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.148e-05/1.553, allocations: 79.66 kB / 0.6305 GB, free: 58.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/1.555, allocations: 293.1 kB / 0.6308 GB, free: 57.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/1.556, allocations: 124 kB / 0.6309 GB, free: 57.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003697/1.556, allocations: 263.9 kB / 0.6312 GB, free: 57.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/1.556, allocations: 134.3 kB / 0.6313 GB, free: 57.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/1.559, allocations: 1.423 MB / 0.6327 GB, free: 55.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001952/1.561, allocations: 1.006 MB / 0.6337 GB, free: 54.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.561, allocations: 4 kB / 0.6337 GB, free: 54.87 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.561, allocations: 3.984 kB / 0.6337 GB, free: 54.87 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02137/1.583, allocations: 11.99 MB / 0.6454 GB, free: 42.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.472e-05/1.583, allocations: 20 kB / 0.6454 GB, free: 42.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/1.584, allocations: 215.7 kB / 0.6456 GB, free: 42.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.218e-05/1.584, allocations: 31.94 kB / 0.6457 GB, free: 42.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/1.584, allocations: 47.84 kB / 0.6457 GB, free: 41.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.774e-05/1.584, allocations: 35.86 kB / 0.6457 GB, free: 41.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.333e-05/1.584, allocations: 39.84 kB / 0.6458 GB, free: 41.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004631/1.589, allocations: 3.724 MB / 0.6494 GB, free: 37.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008024/1.59, allocations: 343.1 kB / 0.6498 GB, free: 37.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/1.59, allocations: 43.98 kB / 0.6498 GB, free: 37.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/1.591, allocations: 59.95 kB / 0.6498 GB, free: 37.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/1.592, allocations: 135.5 kB / 0.65 GB, free: 36.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.882e-05/1.592, allocations: 52 kB / 0.65 GB, free: 36.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001926/1.594, allocations: 0.9696 MB / 0.651 GB, free: 35.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.594, allocations: 4 kB / 0.651 GB, free: 35.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003774/1.597, allocations: 0.9516 MB / 0.6519 GB, free: 34.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (currentSensor0.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006525/1.604, allocations: 10.19 MB / 0.6619 GB, free: 24.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003968/1.608, allocations: 1.814 MB / 0.6636 GB, free: 22.31 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-05/1.608, allocations: 4 kB / 0.6636 GB, free: 22.31 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/1.609, allocations: 0.5938 MB / 0.6642 GB, free: 21.72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/1.612, allocations: 351.2 kB / 0.6645 GB, free: 21.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/1.63, allocations: 6.727 MB / 0.6711 GB, free: 14.33 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003755/1.634, allocations: 3.05 MB / 0.6741 GB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00237/1.636, allocations: 1.28 MB / 0.6753 GB, free: 9.969 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/1.636, allocations: 3.938 kB / 0.6753 GB, free: 9.965 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.322/4.958, allocations: 58.29 MB / 0.7323 GB, free: 84.89 MB / 442.7 MB