Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.741/1.741, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.138e-05/2.146e-05, allocations: 0 / 219.6 MB, free: 6.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2626, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.4109, allocations: 73.83 MB / 332.2 MB, free: 3.941 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.4112, allocations: 83.94 kB / 332.3 MB, free: 3.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8247/1.236, allocations: 170.1 MB / 0.4906 GB, free: 3.273 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.545e-06/1.236, allocations: 0 / 0.4906 GB, free: 3.273 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003026/1.236, allocations: 115.9 kB / 0.4907 GB, free: 3.16 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1355 * Number of variables: 1355 Notification: Performance of Generate backend data structure: time 0.3078/1.544, allocations: 4.487 MB / 0.4951 GB, free: 51.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/1.544, allocations: 9.219 kB / 0.4951 GB, free: 51.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003488/1.548, allocations: 493 kB / 0.4955 GB, free: 51.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009606/1.557, allocations: 2.922 MB / 0.4984 GB, free: 51.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006023/1.558, allocations: 166.1 kB / 0.4986 GB, free: 51.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001936/1.56, allocations: 282.2 kB / 0.4988 GB, free: 51.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01832/1.578, allocations: 5.141 MB / 0.5038 GB, free: 51.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02827/1.607, allocations: 6.914 MB / 0.5106 GB, free: 50.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002175/1.607, allocations: 14.88 kB / 0.5106 GB, free: 50.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001172/1.608, allocations: 3.469 kB / 0.5106 GB, free: 50.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00031/1.609, allocations: 216.5 kB / 0.5108 GB, free: 50.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0618/1.67, allocations: 22.73 MB / 0.533 GB, free: 49.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005428/1.676, allocations: 2.682 MB / 0.5356 GB, free: 48.55 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006998/1.683, allocations: 3.119 MB / 0.5387 GB, free: 47.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003762/1.683, allocations: 77.03 kB / 0.5388 GB, free: 47.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/1.683, allocations: 56.12 kB / 0.5388 GB, free: 47.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=324): time 7.965e-06/1.683, allocations: 2.562 kB / 0.5388 GB, free: 47.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=324): time 0.0118/1.695, allocations: 5.403 MB / 0.5441 GB, free: 44.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/1.695, allocations: 129.7 kB / 0.5442 GB, free: 44.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/1.697, allocations: 0.7207 MB / 0.5449 GB, free: 44.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005441/1.697, allocations: 25.7 kB / 0.5449 GB, free: 44.28 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009096/1.698, allocations: 1.62 MB / 0.5465 GB, free: 43.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001364/1.7, allocations: 1.022 MB / 0.5475 GB, free: 42.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/1.7, allocations: 0 / 0.5475 GB, free: 42.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003489/1.7, allocations: 496.8 kB / 0.548 GB, free: 41.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003828/1.704, allocations: 2.059 MB / 0.55 GB, free: 41.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004296/1.708, allocations: 2.49 MB / 0.5524 GB, free: 39.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006438/1.715, allocations: 2.501 MB / 0.5549 GB, free: 38.72 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.249e-05/1.715, allocations: 6.781 kB / 0.5549 GB, free: 38.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.02636/1.741, allocations: 5.782 MB / 0.5605 GB, free: 36.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/1.741, allocations: 15 kB / 0.5605 GB, free: 36.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-05/1.741, allocations: 11.72 kB / 0.5606 GB, free: 36.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005566/1.747, allocations: 1.718 MB / 0.5622 GB, free: 35.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01062/1.758, allocations: 332 kB / 0.5626 GB, free: 35.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02521/1.783, allocations: 6.574 MB / 0.569 GB, free: 31.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/1.785, allocations: 190.9 kB / 0.5692 GB, free: 31.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004901/1.786, allocations: 109.7 kB / 0.5693 GB, free: 31.32 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: currentSensor.y[2].re:VARIABLE() "Real part of complex number" type: Real [3] currentSensor.y[1].im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentSensor.y[3].im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentSensor.y[3].re:VARIABLE() "Real part of complex number" type: Real [3] currentSensor.y[1].re:VARIABLE() "Real part of complex number" type: Real [3] currentSensor.y[2].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.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[3].i.re:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[3].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[2].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[2].i.re:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[1].i.re:VARIABLE(unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star2.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: voltageSource.voltageSource[2].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[2].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[3].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[3].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[1].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[1].i.im:VARIABLE(unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008829/1.787, allocations: 218.2 kB / 0.5695 GB, free: 31.19 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0126/1.799, allocations: 5.399 MB / 0.5747 GB, free: 27.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.8, allocations: 157.6 kB / 0.5749 GB, free: 27.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01281/1.813, allocations: 5.67 MB / 0.5804 GB, free: 22.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01114/1.824, allocations: 5.361 MB / 0.5857 GB, free: 17.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/1.824, allocations: 8 kB / 0.5857 GB, free: 17.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.302e-05/1.825, allocations: 14.69 kB / 0.5857 GB, free: 17.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02576/1.85, allocations: 11 MB / 0.5964 GB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.906e-05/1.85, allocations: 0 / 0.5964 GB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002065/1.852, allocations: 227.7 kB / 0.5966 GB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004065/1.857, allocations: 1.712 MB / 0.5983 GB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006786/1.857, allocations: 52.33 kB / 0.5984 GB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008424/1.866, allocations: 6.555 MB / 0.6048 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/1.866, allocations: 7.188 kB / 0.6048 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02942/1.895, allocations: 9.663 MB / 0.6142 GB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006863/1.896, allocations: 274 kB / 0.6145 GB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009591/1.897, allocations: 4 kB / 0.6145 GB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/1.899, allocations: 27.2 kB / 0.6145 GB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001014/1.9, allocations: 259.8 kB / 0.6147 GB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004254/1.9, allocations: 86.55 kB / 0.6148 GB, free: 9.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001172/1.901, allocations: 0.5585 MB / 0.6154 GB, free: 8.949 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.002e-06/1.901, allocations: 3.75 kB / 0.6154 GB, free: 8.949 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005013/1.906, allocations: 0.9914 MB / 0.6163 GB, free: 7.957 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (voltageSource.voltageSource[1].pin_p.reference.gamma,voltageSource.voltageSource[3].pin_p.reference.gamma,voltageSource.voltageSource[2].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.3158/2.222, allocations: 10.86 MB / 0.627 GB, free: 65.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01329/2.236, allocations: 4.872 MB / 0.6317 GB, free: 65.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/2.236, allocations: 6.656 kB / 0.6317 GB, free: 65.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006761/2.242, allocations: 2.503 MB / 0.6342 GB, free: 65.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003645/2.246, allocations: 311.8 kB / 0.6345 GB, free: 65.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02598/2.272, allocations: 9.613 MB / 0.6438 GB, free: 64.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006576/2.279, allocations: 3.6 MB / 0.6474 GB, free: 63.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001781/2.281, allocations: 367.5 kB / 0.6477 GB, free: 63.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002958/2.284, allocations: 1.357 MB / 0.649 GB, free: 63.21 MB / 362.7 MB Notification: Performance of SimCode: time 1.452e-06/2.284, allocations: 0 / 0.649 GB, free: 63.21 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1695/2.453, allocations: 71.38 MB / 0.7187 GB, free: 33.23 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/2.453, allocations: 157 kB / 0.7189 GB, free: 33.04 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.995/6.448, allocations: 0 / 0.7189 GB, free: 33.04 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat