Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",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.802/1.802, allocations: 171.2 MB / 178.1 MB, free: 8.273 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.238/2.04, allocations: 41.11 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/2.152, allocations: 38.76 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.31/2.462, allocations: 74.33 MB / 332.3 MB, free: 13.78 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/2.462, allocations: 83.52 kB / 332.4 MB, free: 13.74 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.8131/3.275, allocations: 158.1 MB / 490.5 MB, free: 59.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/3.275, allocations: 12 kB / 490.5 MB, free: 59.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002532/3.278, allocations: 450.6 kB / 491 MB, free: 58.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007967/3.286, allocations: 2.657 MB / 493.6 MB, free: 56.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004959/3.286, allocations: 156 kB / 493.8 MB, free: 55.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001756/3.288, allocations: 263.9 kB / 494 MB, free: 55.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01558/3.304, allocations: 4.81 MB / 498.8 MB, free: 50.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0291/3.333, allocations: 6.369 MB / 0.4934 GB, free: 44.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002429/3.333, allocations: 4 kB / 0.4934 GB, free: 44.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001959/3.335, allocations: 3.906 kB / 0.4934 GB, free: 44.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003332/3.336, allocations: 199.9 kB / 0.4936 GB, free: 44.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07757/3.413, allocations: 20.84 MB / 0.5139 GB, free: 23.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007991/3.421, allocations: 2.496 MB / 0.5164 GB, free: 20.65 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009206/3.43, allocations: 2.847 MB / 0.5191 GB, free: 17.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003811/3.431, allocations: 61.09 kB / 0.5192 GB, free: 17.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/3.431, allocations: 56.56 kB / 0.5193 GB, free: 17.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=284): time 9.248e-06/3.431, allocations: 0 / 0.5193 GB, free: 17.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=284): time 0.01847/3.449, allocations: 4.801 MB / 0.5239 GB, free: 12.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.761e-05/3.45, allocations: 128.8 kB / 0.5241 GB, free: 12.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/3.452, allocations: 0.7341 MB / 0.5248 GB, free: 11.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007807/3.453, allocations: 25.7 kB / 0.5248 GB, free: 11.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001246/3.454, allocations: 1.436 MB / 0.5262 GB, free: 10.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002197/3.456, allocations: 0.9005 MB / 0.5271 GB, free: 9.527 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006039/3.457, allocations: 4 kB / 0.5271 GB, free: 9.523 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0007207/3.458, allocations: 476.3 kB / 0.5275 GB, free: 9.051 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006864/3.465, allocations: 1.89 MB / 0.5294 GB, free: 7.156 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007696/3.472, allocations: 2.315 MB / 0.5317 GB, free: 4.688 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008004/3.48, allocations: 2.312 MB / 0.5339 GB, free: 2.355 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.693e-05/3.481, allocations: 4 kB / 0.5339 GB, free: 2.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.1872/3.668, allocations: 5.28 MB / 0.5391 GB, free: 95.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/3.668, allocations: 2.75 kB / 0.5391 GB, free: 95.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.4e-05/3.668, allocations: 15.3 kB / 0.5391 GB, free: 95.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005898/3.674, allocations: 1.39 MB / 0.5404 GB, free: 95.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005032/3.679, allocations: 360.1 kB / 0.5408 GB, free: 95.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/3.692, allocations: 5.39 MB / 0.5461 GB, free: 93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003411/3.695, allocations: 176.1 kB / 0.5462 GB, free: 93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/3.696, allocations: 105.1 kB / 0.5463 GB, free: 93 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: complexToPolar[1].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] complexToPolar[2].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[2].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] complexToPolar[1].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[3].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[3].u.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[3].i.re:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[2].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[1].i.re:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[1].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[3].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[2].i.re:VARIABLE(unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: voltageSource.voltageSource[3].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[2].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[3].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[2].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[1].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[1].i.re:VARIABLE(unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] 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.re:VARIABLE(flow=true unit = "A" ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.001471/3.698, allocations: 193.8 kB / 0.5465 GB, free: 92.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000947/3.699, allocations: 145.6 kB / 0.5466 GB, free: 92.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01901/3.718, allocations: 5.065 MB / 0.5516 GB, free: 92.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0169/3.735, allocations: 4.772 MB / 0.5563 GB, free: 92.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.398e-05/3.735, allocations: 0 / 0.5563 GB, free: 92.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.864e-05/3.735, allocations: 13.02 kB / 0.5563 GB, free: 92.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03667/3.771, allocations: 9.992 MB / 0.566 GB, free: 92.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.028e-05/3.772, allocations: 5.031 kB / 0.566 GB, free: 92.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003892/3.775, allocations: 241.2 kB / 0.5663 GB, free: 92.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005511/3.781, allocations: 1.386 MB / 0.5676 GB, free: 92.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000856/3.782, allocations: 45.38 kB / 0.5677 GB, free: 92.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/3.794, allocations: 5.374 MB / 0.5729 GB, free: 89.92 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.476e-05/3.794, allocations: 4.938 kB / 0.5729 GB, free: 89.92 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02753/3.821, allocations: 8.346 MB / 0.5811 GB, free: 87.75 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03578/3.857, allocations: 11.61 MB / 0.5924 GB, free: 82.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007985/3.858, allocations: 265.7 kB / 0.5926 GB, free: 81.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001207/3.859, allocations: 3.875 kB / 0.5927 GB, free: 81.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002688/3.862, allocations: 17.78 kB / 0.5927 GB, free: 81.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001472/3.863, allocations: 240.6 kB / 0.5929 GB, free: 81.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006761/3.864, allocations: 69.23 kB / 0.593 GB, free: 81.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001697/3.866, allocations: 0.56 MB / 0.5935 GB, free: 81.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.007663/3.874, allocations: 0.9267 MB / 0.5944 GB, free: 81.49 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (139): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001253/3.875, allocations: 162.4 kB / 0.5946 GB, free: 81.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01673/3.892, allocations: 4.437 MB / 0.5989 GB, free: 79.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/3.892, allocations: 0 / 0.5989 GB, free: 79.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009402/3.901, allocations: 2.25 MB / 0.6011 GB, free: 78.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/3.905, allocations: 261.5 kB / 0.6013 GB, free: 78.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02453/3.929, allocations: 7.472 MB / 0.6086 GB, free: 72.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006976/3.936, allocations: 3.424 MB / 0.612 GB, free: 69.68 MB / 346.7 MB Notification: Performance of SimCode: time 1.413e-06/3.936, allocations: 2.156 kB / 0.612 GB, free: 69.68 MB / 346.7 MB