Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.989/1.989, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.805e-05/3.787e-05, allocations: 4 kB / 292.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 50.42 MB / 342.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.463/0.5681, allocations: 89.65 MB / 432.3 MB, free: 4.207 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/0.5685, allocations: 80.45 kB / 432.4 MB, free: 4.168 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7539/1.322, allocations: 135.4 MB / 0.5545 GB, free: 104.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.445e-06/1.322, allocations: 0 / 0.5545 GB, free: 104.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001897/1.323, allocations: 85.53 kB / 0.5546 GB, free: 104.2 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01686/1.34, allocations: 3.693 MB / 0.5582 GB, free: 103 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/1.34, allocations: 11.75 kB / 0.5582 GB, free: 103 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00169/1.341, allocations: 0.5798 MB / 0.5587 GB, free: 102.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007378/1.349, allocations: 0.9483 MB / 0.5597 GB, free: 102.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006445/1.355, allocations: 2.424 MB / 0.562 GB, free: 102.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002325/1.355, allocations: 293 kB / 0.5623 GB, free: 102.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009709/1.356, allocations: 379.2 kB / 0.5627 GB, free: 102.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/1.37, allocations: 5.763 MB / 0.5683 GB, free: 101.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001331/1.371, allocations: 14.89 kB / 0.5683 GB, free: 101.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006214/1.371, allocations: 166.6 kB / 0.5685 GB, free: 101.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000313/1.372, allocations: 278.4 kB / 0.5687 GB, free: 101.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/1.383, allocations: 4.202 MB / 0.5728 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03449/1.417, allocations: 18.65 MB / 0.5911 GB, free: 89.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006644/1.424, allocations: 3.868 MB / 0.5948 GB, free: 86.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/1.426, allocations: 0.8305 MB / 0.5956 GB, free: 86.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/1.426, allocations: 107 kB / 0.5958 GB, free: 86.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/1.426, allocations: 38.94 kB / 0.5958 GB, free: 86.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=106): time 4.489e-06/1.426, allocations: 0 / 0.5958 GB, free: 86.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=106): time 0.002564/1.429, allocations: 1.157 MB / 0.5969 GB, free: 85.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/1.429, allocations: 70.67 kB / 0.597 GB, free: 85.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/1.431, allocations: 1.193 MB / 0.5982 GB, free: 85.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.962e-05/1.431, allocations: 44.98 kB / 0.5982 GB, free: 85.35 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008993/1.432, allocations: 1.776 MB / 0.5999 GB, free: 83.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/1.433, allocations: 379.3 kB / 0.6003 GB, free: 83.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/1.433, allocations: 39.84 kB / 0.6003 GB, free: 83.67 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/1.433, allocations: 402.6 kB / 0.6007 GB, free: 83.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/1.435, allocations: 0.8434 MB / 0.6015 GB, free: 83.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002204/1.437, allocations: 1.832 MB / 0.6033 GB, free: 81.37 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/1.439, allocations: 1.296 MB / 0.6046 GB, free: 80.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.097e-05/1.439, allocations: 7.562 kB / 0.6046 GB, free: 80.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.005335/1.445, allocations: 2.638 MB / 0.6072 GB, free: 79.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/1.445, allocations: 16 kB / 0.6072 GB, free: 79.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.834e-05/1.445, allocations: 36 kB / 0.6072 GB, free: 79.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.139e-05/1.445, allocations: 57.38 kB / 0.6073 GB, free: 79.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/1.448, allocations: 0.528 MB / 0.6078 GB, free: 78.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.167e-05/1.448, allocations: 70.27 kB / 0.6079 GB, free: 78.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/1.45, allocations: 295.4 kB / 0.6081 GB, free: 78.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/1.45, allocations: 115.4 kB / 0.6083 GB, free: 78.37 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 156 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 271 * 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.000338/1.451, allocations: 256.3 kB / 0.6085 GB, free: 78.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/1.451, allocations: 118.5 kB / 0.6086 GB, free: 78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003262/1.454, allocations: 1.514 MB / 0.6101 GB, free: 76.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002108/1.456, allocations: 1.071 MB / 0.6111 GB, free: 75.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/1.456, allocations: 0 / 0.6111 GB, free: 75.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/1.456, allocations: 3.891 kB / 0.6111 GB, free: 75.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02138/1.478, allocations: 12.11 MB / 0.623 GB, free: 64.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/1.478, allocations: 24 kB / 0.623 GB, free: 64.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/1.479, allocations: 234.2 kB / 0.6232 GB, free: 64.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.683e-05/1.479, allocations: 28 kB / 0.6232 GB, free: 64.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/1.479, allocations: 52 kB / 0.6233 GB, free: 64.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-05/1.479, allocations: 43.84 kB / 0.6233 GB, free: 64.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-05/1.479, allocations: 31.88 kB / 0.6234 GB, free: 64.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004629/1.484, allocations: 3.93 MB / 0.6272 GB, free: 59.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/1.485, allocations: 239.3 kB / 0.6274 GB, free: 59.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/1.485, allocations: 51.98 kB / 0.6275 GB, free: 59.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/1.486, allocations: 67.94 kB / 0.6275 GB, free: 59.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/1.486, allocations: 151.4 kB / 0.6277 GB, free: 59.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.486, allocations: 59.98 kB / 0.6277 GB, free: 59.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00168/1.488, allocations: 0.8836 MB / 0.6286 GB, free: 58.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.488, allocations: 0 / 0.6286 GB, free: 58.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003239/1.491, allocations: 0.8858 MB / 0.6295 GB, free: 57.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (currentSensor31.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 105 * 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.006602/1.498, allocations: 10.99 MB / 0.6402 GB, free: 45.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004121/1.502, allocations: 1.835 MB / 0.642 GB, free: 43.99 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.035e-05/1.502, allocations: 5.188 kB / 0.642 GB, free: 43.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/1.504, allocations: 0.6288 MB / 0.6426 GB, free: 43.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/1.506, allocations: 312.1 kB / 0.6429 GB, free: 43.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/1.522, allocations: 6.243 MB / 0.649 GB, free: 36.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003148/1.525, allocations: 2.801 MB / 0.6517 GB, free: 33.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00211/1.527, allocations: 1.14 MB / 0.6528 GB, free: 32.49 MB / 442.7 MB Notification: Performance of SimCode: time 1.192e-06/1.527, allocations: 4 kB / 0.6528 GB, free: 32.49 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.209/4.737, allocations: 53.11 MB / 0.7047 GB, free: 85.45 MB / 442.7 MB