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.142/2.142, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.243e-05/2.255e-05, allocations: 2.344 kB / 249.8 MB, free: 5.27 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09683/0.09689, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4518/0.5488, allocations: 84.29 MB / 378.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.5491, allocations: 82.48 kB / 378.7 MB, free: 6.324 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9073/1.456, allocations: 140.4 MB / 0.5069 GB, free: 79.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.086e-06/1.456, allocations: 4 kB / 0.5069 GB, free: 79.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002365/1.457, allocations: 91.56 kB / 0.507 GB, free: 79.36 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.02582/1.483, allocations: 3.885 MB / 0.5108 GB, free: 78.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.41e-05/1.483, allocations: 5.906 kB / 0.5108 GB, free: 78.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02819/1.511, allocations: 1.809 MB / 0.5126 GB, free: 77.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/1.522, allocations: 2.427 MB / 0.515 GB, free: 77.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000519/1.523, allocations: 143 kB / 0.5151 GB, free: 77.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002063/1.525, allocations: 245.4 kB / 0.5153 GB, free: 77.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01777/1.543, allocations: 5.217 MB / 0.5204 GB, free: 77.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02227/1.565, allocations: 6.157 MB / 0.5264 GB, free: 76.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002061/1.565, allocations: 3.906 kB / 0.5264 GB, free: 76.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001523/1.567, allocations: 3.438 kB / 0.5264 GB, free: 76.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004507/1.568, allocations: 275.9 kB / 0.5267 GB, free: 76.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05456/1.622, allocations: 20.53 MB / 0.5467 GB, free: 71.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/1.635, allocations: 7.547 MB / 0.5541 GB, free: 65.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006992/1.642, allocations: 2.867 MB / 0.5569 GB, free: 64.69 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02635/1.668, allocations: 9.467 MB / 0.5662 GB, free: 59.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/1.668, allocations: 55.75 kB / 0.5662 GB, free: 59.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=265): time 7.374e-06/1.668, allocations: 0 / 0.5662 GB, free: 59.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=265): time 0.01175/1.68, allocations: 4.368 MB / 0.5705 GB, free: 57.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/1.68, allocations: 72.41 kB / 0.5706 GB, free: 57.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/1.683, allocations: 1.038 MB / 0.5716 GB, free: 57.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005902/1.683, allocations: 25.7 kB / 0.5716 GB, free: 57.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001067/1.684, allocations: 1.647 MB / 0.5732 GB, free: 56.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001393/1.686, allocations: 0.8618 MB / 0.574 GB, free: 55.37 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003759/1.686, allocations: 0 / 0.574 GB, free: 55.37 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004792/1.687, allocations: 489.9 kB / 0.5745 GB, free: 54.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004604/1.691, allocations: 1.88 MB / 0.5763 GB, free: 53.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005544/1.697, allocations: 2.638 MB / 0.5789 GB, free: 50.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008274/1.705, allocations: 2.689 MB / 0.5815 GB, free: 48.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.403e-05/1.705, allocations: 8 kB / 0.5816 GB, free: 48.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.01679/1.722, allocations: 5.625 MB / 0.587 GB, free: 43.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/1.722, allocations: 18.19 kB / 0.5871 GB, free: 43.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.287e-05/1.722, allocations: 20 kB / 0.5871 GB, free: 43.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004096/1.726, allocations: 1.052 MB / 0.5881 GB, free: 42.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006575/1.733, allocations: 0.5414 MB / 0.5886 GB, free: 42.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007716/1.741, allocations: 3.966 MB / 0.5925 GB, free: 38.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003742/1.744, allocations: 311.2 kB / 0.5928 GB, free: 38.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000797/1.745, allocations: 138.2 kB / 0.5929 GB, free: 38.29 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.0009519/1.746, allocations: 232.4 kB / 0.5932 GB, free: 38.07 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01177/1.758, allocations: 4.376 MB / 0.5974 GB, free: 34.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009504/1.759, allocations: 153.9 kB / 0.5976 GB, free: 34.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/1.772, allocations: 4.689 MB / 0.6022 GB, free: 30.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01067/1.782, allocations: 4.336 MB / 0.6064 GB, free: 26.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/1.782, allocations: 0 / 0.6064 GB, free: 26.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-05/1.782, allocations: 11.39 kB / 0.6064 GB, free: 26.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02222/1.805, allocations: 8.826 MB / 0.615 GB, free: 18.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.623e-05/1.805, allocations: 0 / 0.615 GB, free: 18.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/1.807, allocations: 259.2 kB / 0.6153 GB, free: 18.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002722/1.81, allocations: 1.031 MB / 0.6163 GB, free: 17.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005984/1.811, allocations: 35.03 kB / 0.6163 GB, free: 17.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005601/1.816, allocations: 3.919 MB / 0.6201 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/1.816, allocations: 0 / 0.6201 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01678/1.833, allocations: 7.2 MB / 0.6272 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007143/1.834, allocations: 302 kB / 0.6275 GB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009766/1.835, allocations: 4.062 kB / 0.6275 GB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/1.837, allocations: 51.91 kB / 0.6275 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008173/1.838, allocations: 213.6 kB / 0.6277 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002806/1.838, allocations: 67.97 kB / 0.6278 GB, free: 7.105 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001506/1.839, allocations: 0.7288 MB / 0.6285 GB, free: 6.367 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.22e-07/1.839, allocations: 0 / 0.6285 GB, free: 6.367 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004558/1.844, allocations: 0.9212 MB / 0.6294 GB, free: 5.441 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.3162/2.16, allocations: 7.816 MB / 0.637 GB, free: 76.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01293/2.173, allocations: 4.348 MB / 0.6413 GB, free: 76.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/2.173, allocations: 0 / 0.6413 GB, free: 76.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006472/2.18, allocations: 2.028 MB / 0.6432 GB, free: 76.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/2.183, allocations: 237.4 kB / 0.6435 GB, free: 76.24 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02696/2.21, allocations: 8.438 MB / 0.6517 GB, free: 75.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004803/2.215, allocations: 3.051 MB / 0.6547 GB, free: 74.33 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003364/2.218, allocations: 0.5799 MB / 0.6553 GB, free: 74.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003144/2.222, allocations: 1.211 MB / 0.6564 GB, free: 74.3 MB / 394.7 MB Notification: Performance of SimCode: time 3.907e-06/2.222, allocations: 0 / 0.6564 GB, free: 74.3 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1666/2.388, allocations: 60.77 MB / 0.7158 GB, free: 53.21 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003466/2.389, allocations: 174.9 kB / 0.716 GB, free: 53.01 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.279/6.668, allocations: 0 / 0.716 GB, free: 53.01 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat