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"}) Notification: Performance of loadModel(Modelica): time 2.143/2.143, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.863e-05/2.871e-05, allocations: 8 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3636, allocations: 44.5 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.5234, allocations: 84.36 MB / 378.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/0.5238, allocations: 79.95 kB / 378.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8015/1.325, allocations: 155.5 MB / 0.5217 GB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.295e-06/1.325, allocations: 0 / 0.5217 GB, free: 14.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002272/1.326, allocations: 99.88 kB / 0.5218 GB, free: 14.64 MB / 362.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.01861/1.344, allocations: 4.215 MB / 0.5259 GB, free: 10.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.344, allocations: 8.031 kB / 0.5259 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01383/1.358, allocations: 1.684 MB / 0.5275 GB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007536/1.366, allocations: 2.684 MB / 0.5302 GB, free: 5.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004698/1.366, allocations: 156 kB / 0.5303 GB, free: 5.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001981/1.368, allocations: 259.9 kB / 0.5306 GB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01524/1.384, allocations: 5.564 MB / 0.536 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02405/1.408, allocations: 6.763 MB / 0.5426 GB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001881/1.408, allocations: 4 kB / 0.5426 GB, free: 9.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001193/1.409, allocations: 0 / 0.5426 GB, free: 9.008 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004869/1.41, allocations: 305.3 kB / 0.5429 GB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06475/1.474, allocations: 22.36 MB / 0.5647 GB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2932/1.768, allocations: 6.395 MB / 0.571 GB, free: 72.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007385/1.775, allocations: 3.216 MB / 0.5741 GB, free: 71.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0269/1.802, allocations: 10.81 MB / 0.5847 GB, free: 70.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.228e-05/1.802, allocations: 56.84 kB / 0.5847 GB, free: 70.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=319): time 7.825e-06/1.802, allocations: 3.719 kB / 0.5847 GB, free: 70.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=319): time 0.01235/1.815, allocations: 5.265 MB / 0.5899 GB, free: 70.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/1.815, allocations: 76.25 kB / 0.5899 GB, free: 70.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/1.817, allocations: 1.01 MB / 0.5909 GB, free: 70.24 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007866/1.818, allocations: 25.7 kB / 0.591 GB, free: 70.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/1.819, allocations: 1.677 MB / 0.5926 GB, free: 69.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001754/1.821, allocations: 1.027 MB / 0.5936 GB, free: 68.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003784/1.821, allocations: 3.375 kB / 0.5936 GB, free: 68.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004935/1.821, allocations: 0.4941 MB / 0.5941 GB, free: 68.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004569/1.826, allocations: 2.158 MB / 0.5962 GB, free: 68.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00553/1.832, allocations: 2.842 MB / 0.599 GB, free: 67.83 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008025/1.84, allocations: 3.009 MB / 0.6019 GB, free: 67.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.746e-05/1.84, allocations: 6.5 kB / 0.6019 GB, free: 67.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01661/1.856, allocations: 6.386 MB / 0.6081 GB, free: 67.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/1.857, allocations: 14.12 kB / 0.6082 GB, free: 67.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.776e-05/1.857, allocations: 21.12 kB / 0.6082 GB, free: 67.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003441/1.86, allocations: 1.408 MB / 0.6096 GB, free: 67.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004081/1.864, allocations: 0.5139 MB / 0.6101 GB, free: 67.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007325/1.872, allocations: 5.285 MB / 0.6152 GB, free: 64.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003516/1.875, allocations: 327 kB / 0.6155 GB, free: 64.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009853/1.876, allocations: 138.7 kB / 0.6157 GB, free: 64.21 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.001251/1.877, allocations: 243.5 kB / 0.6159 GB, free: 64.07 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01305/1.89, allocations: 5.267 MB / 0.621 GB, free: 61.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/1.892, allocations: 169.3 kB / 0.6212 GB, free: 61.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/1.905, allocations: 5.649 MB / 0.6267 GB, free: 59.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01087/1.916, allocations: 5.238 MB / 0.6318 GB, free: 57.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/1.916, allocations: 0 / 0.6318 GB, free: 57.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-05/1.916, allocations: 14.59 kB / 0.6318 GB, free: 57.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02476/1.941, allocations: 10.35 MB / 0.642 GB, free: 53.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-05/1.941, allocations: 0 / 0.642 GB, free: 53.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002641/1.944, allocations: 287.1 kB / 0.6422 GB, free: 53.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003312/1.947, allocations: 1.375 MB / 0.6436 GB, free: 52.49 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006941/1.948, allocations: 46.56 kB / 0.6436 GB, free: 52.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006974/1.955, allocations: 5.241 MB / 0.6487 GB, free: 47.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/1.955, allocations: 3.953 kB / 0.6487 GB, free: 47.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01848/1.973, allocations: 8.617 MB / 0.6572 GB, free: 40.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002427/1.976, allocations: 0.7358 MB / 0.6579 GB, free: 39.37 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008314/1.977, allocations: 4 kB / 0.6579 GB, free: 39.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/1.979, allocations: 65.97 kB / 0.6579 GB, free: 39.33 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008105/1.979, allocations: 239.7 kB / 0.6582 GB, free: 39.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003119/1.98, allocations: 83.02 kB / 0.6582 GB, free: 39.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001257/1.981, allocations: 0.7233 MB / 0.659 GB, free: 38.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.11e-07/1.981, allocations: 0 / 0.659 GB, free: 38.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004478/1.985, allocations: 0.9926 MB / 0.6599 GB, free: 37.48 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.01971/2.005, allocations: 9.249 MB / 0.669 GB, free: 29.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01196/2.017, allocations: 5.023 MB / 0.6739 GB, free: 24.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/2.017, allocations: 0 / 0.6739 GB, free: 24.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006116/2.023, allocations: 2.426 MB / 0.6762 GB, free: 22.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/2.027, allocations: 275.2 kB / 0.6765 GB, free: 22.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02553/2.052, allocations: 9.449 MB / 0.6857 GB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004146/2.057, allocations: 3.325 MB / 0.689 GB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002979/2.06, allocations: 0.5962 MB / 0.6895 GB, free: 11.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003006/2.063, allocations: 1.317 MB / 0.6908 GB, free: 10.27 MB / 394.7 MB Notification: Performance of SimCode: time 1.843e-06/2.063, allocations: 0 / 0.6908 GB, free: 10.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4533/2.516, allocations: 69.8 MB / 0.759 GB, free: 86.06 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/2.516, allocations: 173.1 kB / 0.7592 GB, free: 85.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.099/6.616, allocations: 0 / 0.7592 GB, free: 85.86 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat