Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.798/1.798, allocations: 171.2 MB / 178.1 MB, free: 6.703 MB / 147.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1369/1.935, allocations: 41.11 MB / 219.3 MB, free: 13.53 MB / 195.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/2.134, allocations: 38.76 MB / 258 MB, free: 5.203 MB / 211.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/2.285, allocations: 73.77 MB / 331.8 MB, free: 11.32 MB / 291.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/2.285, allocations: 87.88 kB / 331.9 MB, free: 11.23 MB / 291.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1355 * Number of variables: 1355 Notification: Performance of Generate backend data structure: time 0.9666/3.252, allocations: 173.9 MB / 0.4939 GB, free: 55.59 MB / 339.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/3.252, allocations: 12.81 kB / 0.494 GB, free: 55.59 MB / 339.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002705/3.254, allocations: 493.9 kB / 0.4944 GB, free: 55.35 MB / 339.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009854/3.264, allocations: 2.947 MB / 0.4973 GB, free: 54.87 MB / 339.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005522/3.265, allocations: 163.2 kB / 0.4975 GB, free: 54.87 MB / 339.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002056/3.267, allocations: 276.9 kB / 0.4977 GB, free: 54.87 MB / 339.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0172/3.284, allocations: 5.255 MB / 0.5029 GB, free: 54.84 MB / 339.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02672/3.311, allocations: 7.005 MB / 0.5097 GB, free: 54.19 MB / 339.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002878/3.311, allocations: 12.39 kB / 0.5097 GB, free: 54.19 MB / 339.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001803/3.313, allocations: 3.719 kB / 0.5097 GB, free: 54.19 MB / 339.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003027/3.314, allocations: 218.1 kB / 0.5099 GB, free: 54.19 MB / 339.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07794/3.391, allocations: 22.89 MB / 0.5323 GB, free: 44.52 MB / 339.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00711/3.399, allocations: 2.726 MB / 0.5349 GB, free: 43.22 MB / 339.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007442/3.406, allocations: 3.186 MB / 0.538 GB, free: 40.29 MB / 339.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003525/3.407, allocations: 75.97 kB / 0.5381 GB, free: 40.23 MB / 339.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/3.407, allocations: 56.56 kB / 0.5382 GB, free: 40.16 MB / 339.1 MB Notification: Performance of pre-optimization done (n=324): time 8.156e-06/3.407, allocations: 0 / 0.5382 GB, free: 40.16 MB / 339.1 MB Notification: Performance of matching and sorting (n=324): time 0.01462/3.421, allocations: 5.618 MB / 0.5437 GB, free: 35.16 MB / 339.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/3.421, allocations: 124.8 kB / 0.5438 GB, free: 35.02 MB / 339.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/3.423, allocations: 0.7355 MB / 0.5445 GB, free: 34.36 MB / 339.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007114/3.424, allocations: 25.7 kB / 0.5445 GB, free: 34.33 MB / 339.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008393/3.425, allocations: 1.509 MB / 0.546 GB, free: 33.01 MB / 339.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001661/3.426, allocations: 1.025 MB / 0.547 GB, free: 32.06 MB / 339.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003156/3.427, allocations: 0 / 0.547 GB, free: 32.06 MB / 339.1 MB Notification: Performance of setup shared object (initialization): time 0.0005039/3.427, allocations: 492.7 kB / 0.5475 GB, free: 31.62 MB / 339.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005152/3.432, allocations: 2.135 MB / 0.5495 GB, free: 29.73 MB / 339.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006046/3.438, allocations: 2.554 MB / 0.552 GB, free: 27.3 MB / 339.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00574/3.444, allocations: 2.584 MB / 0.5546 GB, free: 25.07 MB / 339.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.319e-05/3.444, allocations: 0 / 0.5546 GB, free: 25.07 MB / 339.1 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.01479/3.459, allocations: 6.012 MB / 0.5604 GB, free: 19.72 MB / 339.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/3.459, allocations: 4 kB / 0.5604 GB, free: 19.72 MB / 339.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.342e-05/3.459, allocations: 8 kB / 0.5604 GB, free: 19.71 MB / 339.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006296/3.466, allocations: 1.749 MB / 0.5622 GB, free: 18.22 MB / 339.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00538/3.471, allocations: 354.1 kB / 0.5625 GB, free: 17.95 MB / 339.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/3.483, allocations: 6.748 MB / 0.5691 GB, free: 11.64 MB / 339.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/3.486, allocations: 173.6 kB / 0.5692 GB, free: 11.47 MB / 339.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009076/3.486, allocations: 107.5 kB / 0.5693 GB, free: 11.38 MB / 339.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: currentSensor.y[2].re:VARIABLE() "Real part of complex number" type: Real [3] currentSensor.y[1].im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentSensor.y[3].im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentSensor.y[3].re:VARIABLE() "Real part of complex number" type: Real [3] currentSensor.y[1].re:VARIABLE() "Real part of complex number" type: Real [3] currentSensor.y[2].im:VARIABLE() "Imaginary part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: powerSensor.powerSensor[1].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[3].i.re:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[3].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[2].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[2].i.re:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[1].i.re:VARIABLE(unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star2.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: voltageSource.voltageSource[2].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[2].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[3].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[3].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[1].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[1].i.im:VARIABLE(unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * 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: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.001083/3.488, allocations: 220.7 kB / 0.5696 GB, free: 11.19 MB / 339.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007234/3.488, allocations: 157.8 kB / 0.5697 GB, free: 11.03 MB / 339.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/3.504, allocations: 5.89 MB / 0.5755 GB, free: 5.938 MB / 339.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01356/3.517, allocations: 5.583 MB / 0.5809 GB, free: 0.9883 MB / 339.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.098e-05/3.517, allocations: 0 / 0.5809 GB, free: 0.9883 MB / 339.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.519e-05/3.517, allocations: 10.31 kB / 0.5809 GB, free: 0.9883 MB / 339.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03463/3.552, allocations: 11.27 MB / 0.5919 GB, free: 6.121 MB / 355.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.133e-05/3.552, allocations: 224 / 0.5919 GB, free: 6.121 MB / 355.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003806/3.556, allocations: 253.2 kB / 0.5922 GB, free: 5.875 MB / 355.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005623/3.562, allocations: 1.738 MB / 0.5939 GB, free: 4.148 MB / 355.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007949/3.562, allocations: 51.2 kB / 0.5939 GB, free: 4.102 MB / 355.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1829/3.745, allocations: 6.74 MB / 0.6005 GB, free: 95.1 MB / 355.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.135e-05/3.745, allocations: 6.969 kB / 0.6005 GB, free: 95.1 MB / 355.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02157/3.767, allocations: 9.479 MB / 0.6098 GB, free: 94.46 MB / 355.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02868/3.796, allocations: 13.17 MB / 0.6226 GB, free: 93.43 MB / 355.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005998/3.796, allocations: 270.5 kB / 0.6229 GB, free: 93.28 MB / 355.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009865/3.797, allocations: 14.2 kB / 0.6229 GB, free: 93.28 MB / 355.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/3.799, allocations: 13.22 kB / 0.6229 GB, free: 93.28 MB / 355.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001093/3.8, allocations: 255.4 kB / 0.6231 GB, free: 93.28 MB / 355.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005044/3.801, allocations: 84.28 kB / 0.6232 GB, free: 93.28 MB / 355.1 MB Notification: Performance of sort global known variables: time 0.001142/3.802, allocations: 0.5662 MB / 0.6238 GB, free: 93.18 MB / 355.1 MB Notification: Performance of remove unused functions: time 0.005532/3.808, allocations: 0.9985 MB / 0.6248 GB, free: 93.02 MB / 355.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (voltageSource.voltageSource[1].pin_p.reference.gamma,voltageSource.voltageSource[3].pin_p.reference.gamma,voltageSource.voltageSource[2].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * 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: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/3.809, allocations: 162.1 kB / 0.6249 GB, free: 92.94 MB / 355.1 MB Notification: Performance of simCode: created initialization part: time 0.01287/3.822, allocations: 5.017 MB / 0.6298 GB, free: 92.84 MB / 355.1 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/3.822, allocations: 0 / 0.6298 GB, free: 92.84 MB / 355.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00713/3.829, allocations: 2.578 MB / 0.6323 GB, free: 92.81 MB / 355.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/3.833, allocations: 290.8 kB / 0.6326 GB, free: 92.8 MB / 355.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02585/3.859, allocations: 8.314 MB / 0.6407 GB, free: 91.38 MB / 355.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008668/3.868, allocations: 3.696 MB / 0.6443 GB, free: 89.87 MB / 355.1 MB Notification: Performance of SimCode: time 1.974e-06/3.868, allocations: 0 / 0.6443 GB, free: 89.87 MB / 355.1 MB