Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.691/2.691, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.218e-05/3.229e-05, allocations: 4.062 kB / 249.8 MB, free: 5.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6661/0.7803, allocations: 84.29 MB / 378.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003805/0.7808, allocations: 83.08 kB / 378.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.089/1.87, allocations: 141.2 MB / 0.5076 GB, free: 79.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.236e-06/1.87, allocations: 2.812 kB / 0.5076 GB, free: 79.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002816/1.87, allocations: 85.7 kB / 0.5077 GB, free: 79.37 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.02424/1.894, allocations: 3.886 MB / 0.5115 GB, free: 78.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.415e-05/1.894, allocations: 7.5 kB / 0.5115 GB, free: 78.16 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003168/1.898, allocations: 477.7 kB / 0.512 GB, free: 78.1 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02276/1.92, allocations: 1.805 MB / 0.5137 GB, free: 77.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009244/1.93, allocations: 2.433 MB / 0.5161 GB, free: 77.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005839/1.93, allocations: 188.1 kB / 0.5163 GB, free: 77.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00227/1.933, allocations: 242.4 kB / 0.5165 GB, free: 77.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01948/1.952, allocations: 5.225 MB / 0.5216 GB, free: 77.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02563/1.978, allocations: 6.147 MB / 0.5276 GB, free: 76.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002992/1.978, allocations: 15.75 kB / 0.5277 GB, free: 76.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001948/1.98, allocations: 0 / 0.5277 GB, free: 76.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000527/1.981, allocations: 274 kB / 0.5279 GB, free: 76.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06903/2.05, allocations: 20.53 MB / 0.548 GB, free: 71.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0152/2.065, allocations: 7.549 MB / 0.5553 GB, free: 65.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008736/2.074, allocations: 2.86 MB / 0.5581 GB, free: 64.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04611/2.12, allocations: 9.465 MB / 0.5674 GB, free: 59.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.382e-05/2.12, allocations: 51.5 kB / 0.5674 GB, free: 59.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=265): time 1.306e-05/2.12, allocations: 0 / 0.5674 GB, free: 59.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=265): time 0.01691/2.137, allocations: 4.371 MB / 0.5717 GB, free: 57.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/2.137, allocations: 71.06 kB / 0.5718 GB, free: 57.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002974/2.14, allocations: 1.044 MB / 0.5728 GB, free: 57.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000671/2.141, allocations: 25.7 kB / 0.5728 GB, free: 57.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/2.142, allocations: 1.639 MB / 0.5744 GB, free: 55.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001798/2.144, allocations: 0.8655 MB / 0.5752 GB, free: 55.24 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000537/2.145, allocations: 3.391 kB / 0.5752 GB, free: 55.24 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000561/2.145, allocations: 491.4 kB / 0.5757 GB, free: 54.85 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005875/2.151, allocations: 1.876 MB / 0.5775 GB, free: 53.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006766/2.158, allocations: 2.633 MB / 0.5801 GB, free: 51.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/2.168, allocations: 2.698 MB / 0.5828 GB, free: 48.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.284e-05/2.169, allocations: 8 kB / 0.5828 GB, free: 48.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.02166/2.19, allocations: 5.612 MB / 0.5882 GB, free: 44.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/2.19, allocations: 16 kB / 0.5883 GB, free: 44.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.187e-05/2.19, allocations: 24 kB / 0.5883 GB, free: 44.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003879/2.194, allocations: 1.055 MB / 0.5893 GB, free: 43.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005527/2.2, allocations: 0.5401 MB / 0.5898 GB, free: 42.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007418/2.207, allocations: 3.97 MB / 0.5937 GB, free: 39.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004434/2.212, allocations: 313.6 kB / 0.594 GB, free: 38.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/2.213, allocations: 142.1 kB / 0.5942 GB, free: 38.72 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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] 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[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[3].i.im:VARIABLE(unit = "A" ) "Imaginary 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[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[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[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] 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[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: 103 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (305): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.001569/2.215, allocations: 229.4 kB / 0.5944 GB, free: 38.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008841/2.215, allocations: 157.8 kB / 0.5945 GB, free: 38.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01635/2.232, allocations: 4.689 MB / 0.5991 GB, free: 34.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01673/2.249, allocations: 4.335 MB / 0.6033 GB, free: 30.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.399e-05/2.249, allocations: 3.844 kB / 0.6033 GB, free: 30.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.208e-05/2.249, allocations: 10.36 kB / 0.6033 GB, free: 30.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04005/2.289, allocations: 8.815 MB / 0.612 GB, free: 23.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.463e-05/2.289, allocations: 11.23 kB / 0.612 GB, free: 23.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004409/2.293, allocations: 252.1 kB / 0.6122 GB, free: 23.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005105/2.299, allocations: 1.021 MB / 0.6132 GB, free: 22.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008928/2.3, allocations: 38.31 kB / 0.6132 GB, free: 22.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/2.311, allocations: 3.925 MB / 0.6171 GB, free: 18.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/2.311, allocations: 0 / 0.6171 GB, free: 18.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02614/2.337, allocations: 7.206 MB / 0.6241 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009016/2.338, allocations: 296.8 kB / 0.6244 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/2.339, allocations: 0 / 0.6244 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002955/2.342, allocations: 57.83 kB / 0.6244 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001397/2.343, allocations: 197.2 kB / 0.6246 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006572/2.344, allocations: 71.78 kB / 0.6247 GB, free: 11.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002154/2.346, allocations: 0.7451 MB / 0.6254 GB, free: 10.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.183e-06/2.346, allocations: 0 / 0.6254 GB, free: 10.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005813/2.352, allocations: 0.9211 MB / 0.6263 GB, free: 10.06 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (152): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.02589/2.378, allocations: 7.817 MB / 0.634 GB, free: 2.898 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.3749/2.753, allocations: 4.351 MB / 0.6382 GB, free: 76.47 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/2.753, allocations: 0 / 0.6382 GB, free: 76.47 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007671/2.761, allocations: 2.015 MB / 0.6402 GB, free: 76.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/2.765, allocations: 236 kB / 0.6404 GB, free: 76.44 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03295/2.798, allocations: 8.448 MB / 0.6487 GB, free: 75.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004811/2.803, allocations: 3.049 MB / 0.6516 GB, free: 74.54 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003798/2.806, allocations: 0.5777 MB / 0.6522 GB, free: 74.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003111/2.809, allocations: 1.216 MB / 0.6534 GB, free: 74.51 MB / 394.7 MB Notification: Performance of SimCode: time 1.543e-06/2.81, allocations: 2.812 kB / 0.6534 GB, free: 74.51 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2472/3.057, allocations: 62.41 MB / 0.7143 GB, free: 56.22 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002424/3.057, allocations: 166.9 kB / 0.7145 GB, free: 56.03 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.42/8.477, allocations: 0 / 0.7145 GB, free: 56.03 MB / 394.7 MB