Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_2_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.754/1.754, allocations: 194.9 MB / 202.5 MB, free: 6.906 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.23/1.984, allocations: 46.83 MB / 249.3 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/2.104, allocations: 44.51 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4303/2.534, allocations: 84.29 MB / 378.1 MB, free: 6.512 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003806/2.534, allocations: 80.64 kB / 378.2 MB, free: 6.5 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.8391/3.374, allocations: 159.1 MB / 0.5247 GB, free: 82.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/3.374, allocations: 7.875 kB / 0.5247 GB, free: 82.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01567/3.389, allocations: 1.64 MB / 0.5263 GB, free: 82.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00826/3.398, allocations: 2.694 MB / 0.529 GB, free: 81.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005614/3.398, allocations: 157.3 kB / 0.5291 GB, free: 81.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002048/3.4, allocations: 262.8 kB / 0.5294 GB, free: 81.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01778/3.418, allocations: 5.677 MB / 0.5349 GB, free: 81.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02333/3.442, allocations: 6.868 MB / 0.5416 GB, free: 81.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001702/3.442, allocations: 3.969 kB / 0.5416 GB, free: 81.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001418/3.443, allocations: 0 / 0.5416 GB, free: 81.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003725/3.444, allocations: 309.8 kB / 0.5419 GB, free: 81.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06375/3.507, allocations: 23.18 MB / 0.5646 GB, free: 69.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008394/3.516, allocations: 3.725 MB / 0.5682 GB, free: 66.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007946/3.524, allocations: 3.264 MB / 0.5714 GB, free: 63.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03215/3.556, allocations: 11.88 MB / 0.583 GB, free: 52.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/3.556, allocations: 61.12 kB / 0.583 GB, free: 52.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=336): time 7.694e-06/3.556, allocations: 0 / 0.583 GB, free: 52.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=336): time 0.01506/3.571, allocations: 5.489 MB / 0.5884 GB, free: 48.03 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/3.571, allocations: 77.41 kB / 0.5885 GB, free: 47.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/3.574, allocations: 1.029 MB / 0.5895 GB, free: 47.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007061/3.574, allocations: 26.55 kB / 0.5895 GB, free: 46.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001033/3.575, allocations: 1.566 MB / 0.591 GB, free: 45.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001762/3.577, allocations: 1.075 MB / 0.5921 GB, free: 44.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003916/3.578, allocations: 4 kB / 0.5921 GB, free: 44.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005329/3.578, allocations: 0.4958 MB / 0.5926 GB, free: 44.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005871/3.584, allocations: 2.302 MB / 0.5948 GB, free: 42.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006683/3.591, allocations: 2.992 MB / 0.5977 GB, free: 39.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007749/3.599, allocations: 2.893 MB / 0.6006 GB, free: 36.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-05/3.599, allocations: 7.938 kB / 0.6006 GB, free: 36.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.01789/3.617, allocations: 6.491 MB / 0.6069 GB, free: 29.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/3.617, allocations: 4 kB / 0.6069 GB, free: 29.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.916e-05/3.617, allocations: 20 kB / 0.6069 GB, free: 29.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003703/3.62, allocations: 1.423 MB / 0.6083 GB, free: 28.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00517/3.626, allocations: 0.5576 MB / 0.6089 GB, free: 27.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008185/3.634, allocations: 5.441 MB / 0.6142 GB, free: 22.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003964/3.638, allocations: 291.9 kB / 0.6145 GB, free: 21.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/3.639, allocations: 147.9 kB / 0.6146 GB, free: 21.7 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: complexToPolar[2].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[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] complexToPolar[1].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" ) "Real part of complex current" type: Real [3] powerSensor.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensor.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensor.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensor.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensor.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star2.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star2.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star2.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star2.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star2.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star2.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (318): * Single equations (assignments): 256 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * 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.0009863/3.64, allocations: 241.8 kB / 0.6148 GB, free: 21.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007154/3.641, allocations: 173.7 kB / 0.615 GB, free: 21.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01557/3.656, allocations: 5.881 MB / 0.6207 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01251/3.669, allocations: 5.43 MB / 0.626 GB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/3.669, allocations: 0 / 0.626 GB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-05/3.669, allocations: 11.95 kB / 0.6261 GB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1912/3.86, allocations: 11.04 MB / 0.6368 GB, free: 112.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.874e-05/3.86, allocations: 0 / 0.6368 GB, free: 112.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003622/3.864, allocations: 324.9 kB / 0.6371 GB, free: 112.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003817/3.868, allocations: 1.396 MB / 0.6385 GB, free: 112.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007556/3.869, allocations: 41.62 kB / 0.6386 GB, free: 112.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008142/3.877, allocations: 5.398 MB / 0.6438 GB, free: 110.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/3.877, allocations: 0 / 0.6438 GB, free: 110.7 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02249/3.899, allocations: 9.044 MB / 0.6527 GB, free: 110.5 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02941/3.929, allocations: 12.79 MB / 0.6651 GB, free: 109.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002597/3.932, allocations: 0.7636 MB / 0.6659 GB, free: 109.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000935/3.933, allocations: 0 / 0.6659 GB, free: 109.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002336/3.935, allocations: 37.25 kB / 0.6659 GB, free: 109.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/3.936, allocations: 244.5 kB / 0.6662 GB, free: 109.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003881/3.936, allocations: 85.61 kB / 0.6662 GB, free: 109.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001501/3.938, allocations: 0.7445 MB / 0.667 GB, free: 109.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005685/3.944, allocations: 0.9999 MB / 0.6679 GB, free: 109.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (191): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * 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.001152/3.945, allocations: 178.4 kB / 0.6681 GB, free: 109.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01374/3.959, allocations: 5.345 MB / 0.6733 GB, free: 109.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/3.959, allocations: 0 / 0.6733 GB, free: 109.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007311/3.966, allocations: 2.579 MB / 0.6759 GB, free: 108.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003812/3.97, allocations: 264.2 kB / 0.6761 GB, free: 108.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02583/3.996, allocations: 8.466 MB / 0.6844 GB, free: 105.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006739/4.003, allocations: 3.482 MB / 0.6878 GB, free: 104 MB / 394.7 MB Notification: Performance of SimCode: time 2.154e-06/4.003, allocations: 0 / 0.6878 GB, free: 104 MB / 394.7 MB