Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.824/2.824, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.078e-05/3.085e-05, allocations: 2.281 kB / 249.8 MB, free: 5.258 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6807/0.7955, allocations: 84.37 MB / 378.6 MB, free: 6.57 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003735/0.7959, allocations: 84.5 kB / 378.7 MB, free: 6.555 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.321/2.117, allocations: 156.4 MB / 0.5226 GB, free: 79.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.116e-06/2.117, allocations: 0 / 0.5226 GB, free: 79.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002969/2.117, allocations: 97.91 kB / 0.5226 GB, free: 79.88 MB / 394.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.0263/2.143, allocations: 4.22 MB / 0.5268 GB, free: 78.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.12e-05/2.143, allocations: 7.531 kB / 0.5268 GB, free: 78.48 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003167/2.147, allocations: 0.5005 MB / 0.5273 GB, free: 78.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02037/2.167, allocations: 1.692 MB / 0.5289 GB, free: 78.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/2.177, allocations: 2.683 MB / 0.5315 GB, free: 77.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006162/2.178, allocations: 202.2 kB / 0.5317 GB, free: 77.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002261/2.18, allocations: 259.4 kB / 0.532 GB, free: 77.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01953/2.2, allocations: 5.563 MB / 0.5374 GB, free: 77.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03234/2.232, allocations: 6.762 MB / 0.544 GB, free: 77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002785/2.232, allocations: 7.469 kB / 0.544 GB, free: 77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002107/2.235, allocations: 7.312 kB / 0.544 GB, free: 77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006694/2.235, allocations: 297.4 kB / 0.5443 GB, free: 76.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09529/2.331, allocations: 22.35 MB / 0.5661 GB, free: 66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01605/2.347, allocations: 6.405 MB / 0.5724 GB, free: 61.65 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009745/2.356, allocations: 3.22 MB / 0.5755 GB, free: 58.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03804/2.395, allocations: 10.8 MB / 0.5861 GB, free: 49.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.618e-05/2.395, allocations: 64.5 kB / 0.5861 GB, free: 49.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=319): time 1.076e-05/2.395, allocations: 3.938 kB / 0.5861 GB, free: 49.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=319): time 0.01765/2.412, allocations: 5.263 MB / 0.5913 GB, free: 44.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/2.413, allocations: 73.41 kB / 0.5914 GB, free: 44.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002658/2.415, allocations: 1.012 MB / 0.5923 GB, free: 43.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00082/2.416, allocations: 25.7 kB / 0.5924 GB, free: 43.65 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001298/2.417, allocations: 1.676 MB / 0.594 GB, free: 42.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002018/2.419, allocations: 1.021 MB / 0.595 GB, free: 41.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005552/2.42, allocations: 4 kB / 0.595 GB, free: 41.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006447/2.421, allocations: 0.4972 MB / 0.5955 GB, free: 40.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006641/2.427, allocations: 2.158 MB / 0.5976 GB, free: 38.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007419/2.435, allocations: 2.846 MB / 0.6004 GB, free: 36.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/2.446, allocations: 3.008 MB / 0.6033 GB, free: 33.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.069e-05/2.446, allocations: 4 kB / 0.6033 GB, free: 33.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.02227/2.468, allocations: 6.386 MB / 0.6096 GB, free: 27.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/2.468, allocations: 18.14 kB / 0.6096 GB, free: 27.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.448e-05/2.468, allocations: 20 kB / 0.6096 GB, free: 27.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004722/2.473, allocations: 1.392 MB / 0.6109 GB, free: 25.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005995/2.479, allocations: 0.5226 MB / 0.6115 GB, free: 25.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009831/2.489, allocations: 5.284 MB / 0.6166 GB, free: 19.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004417/2.493, allocations: 324.1 kB / 0.6169 GB, free: 19.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/2.494, allocations: 140 kB / 0.6171 GB, free: 19.44 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[1].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[3].u.re:VARIABLE() "Real part of complex number" type: Real [3] 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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: powerSensor.powerSensor[2].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[3].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[1].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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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.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] 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[2].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[3].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] 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[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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[2].i.re:VARIABLE(flow=true unit = "A" ) "Real 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 (301): * Single equations (assignments): 239 * 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.00137/2.496, allocations: 247 kB / 0.6173 GB, free: 19.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008851/2.497, allocations: 169.8 kB / 0.6175 GB, free: 19.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01886/2.516, allocations: 5.644 MB / 0.623 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01664/2.532, allocations: 5.232 MB / 0.6281 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/2.532, allocations: 0 / 0.6281 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.573e-05/2.533, allocations: 14.72 kB / 0.6281 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4147/2.947, allocations: 10.36 MB / 0.6382 GB, free: 77.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.045e-05/2.947, allocations: 0 / 0.6382 GB, free: 77.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005605/2.953, allocations: 286 kB / 0.6385 GB, free: 77.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007615/2.961, allocations: 1.377 MB / 0.6398 GB, free: 77.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001082/2.962, allocations: 52.2 kB / 0.6399 GB, free: 77.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0173/2.979, allocations: 5.232 MB / 0.645 GB, free: 74.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/2.979, allocations: 4.234 kB / 0.645 GB, free: 74.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03417/3.013, allocations: 8.619 MB / 0.6534 GB, free: 74.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003352/3.017, allocations: 0.7369 MB / 0.6541 GB, free: 74.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/3.018, allocations: 0 / 0.6541 GB, free: 74.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002993/3.021, allocations: 62.55 kB / 0.6542 GB, free: 74.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001431/3.023, allocations: 245.8 kB / 0.6544 GB, free: 74.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000519/3.023, allocations: 81.94 kB / 0.6545 GB, free: 74.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002043/3.025, allocations: 0.7233 MB / 0.6552 GB, free: 74.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.132e-06/3.025, allocations: 2.375 kB / 0.6552 GB, free: 74.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006027/3.031, allocations: 0.993 MB / 0.6562 GB, free: 74.29 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 (174): * Single equations (assignments): 112 * 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.0301/3.061, allocations: 9.248 MB / 0.6652 GB, free: 73.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01784/3.079, allocations: 5.019 MB / 0.6701 GB, free: 73.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/3.079, allocations: 4.984 kB / 0.6701 GB, free: 73.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00949/3.089, allocations: 2.417 MB / 0.6725 GB, free: 73.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004856/3.094, allocations: 277 kB / 0.6727 GB, free: 73.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03856/3.132, allocations: 9.453 MB / 0.682 GB, free: 69.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008293/3.141, allocations: 3.326 MB / 0.6852 GB, free: 84.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004947/3.146, allocations: 0.5984 MB / 0.6858 GB, free: 84.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004774/3.151, allocations: 1.317 MB / 0.6871 GB, free: 83.22 MB / 410.7 MB Notification: Performance of SimCode: time 2.054e-06/3.151, allocations: 0 / 0.6871 GB, free: 83.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2821/3.433, allocations: 71.77 MB / 0.7572 GB, free: 33.8 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003033/3.433, allocations: 169.8 kB / 0.7573 GB, free: 33.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.612/9.045, allocations: 0 / 0.7573 GB, free: 33.6 MB / 410.7 MB