Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.153/2.153, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.44e-05/2.437e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3043, allocations: 44.48 MB / 294.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1737/0.478, allocations: 84.29 MB / 378.5 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003974/0.4785, allocations: 83.95 kB / 378.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6936/1.172, allocations: 140.4 MB / 0.5069 GB, free: 30.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.023e-06/1.172, allocations: 0 / 0.5069 GB, free: 30.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002121/1.172, allocations: 91.88 kB / 0.507 GB, free: 30.02 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01823/1.191, allocations: 3.878 MB / 0.5107 GB, free: 26.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/1.191, allocations: 12.03 kB / 0.5108 GB, free: 26.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01577/1.206, allocations: 1.81 MB / 0.5125 GB, free: 24.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007065/1.214, allocations: 2.419 MB / 0.5149 GB, free: 21.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004233/1.214, allocations: 147.9 kB / 0.515 GB, free: 21.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001655/1.216, allocations: 247.9 kB / 0.5153 GB, free: 21.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01447/1.23, allocations: 5.219 MB / 0.5204 GB, free: 16.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0193/1.25, allocations: 6.149 MB / 0.5264 GB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001839/1.25, allocations: 4 kB / 0.5264 GB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001266/1.251, allocations: 4 kB / 0.5264 GB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003566/1.251, allocations: 276.7 kB / 0.5266 GB, free: 9.574 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05397/1.305, allocations: 20.54 MB / 0.5467 GB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/1.319, allocations: 7.545 MB / 0.5541 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007411/1.326, allocations: 2.862 MB / 0.5569 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3073/1.634, allocations: 9.455 MB / 0.5661 GB, free: 83.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.519e-05/1.634, allocations: 51.91 kB / 0.5661 GB, free: 83.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=265): time 7.584e-06/1.634, allocations: 0 / 0.5661 GB, free: 83.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=265): time 0.01278/1.647, allocations: 4.378 MB / 0.5704 GB, free: 82.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/1.647, allocations: 74.45 kB / 0.5705 GB, free: 82.83 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/1.649, allocations: 1.037 MB / 0.5715 GB, free: 82.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006112/1.65, allocations: 27.14 kB / 0.5715 GB, free: 82.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/1.651, allocations: 1.644 MB / 0.5731 GB, free: 81.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001534/1.653, allocations: 0.8588 MB / 0.574 GB, free: 81.49 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003901/1.653, allocations: 0 / 0.574 GB, free: 81.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004723/1.653, allocations: 490.5 kB / 0.5744 GB, free: 81.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004727/1.658, allocations: 1.88 MB / 0.5763 GB, free: 81.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007272/1.666, allocations: 2.633 MB / 0.5788 GB, free: 80.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/1.677, allocations: 2.694 MB / 0.5815 GB, free: 80.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-05/1.677, allocations: 7.531 kB / 0.5815 GB, free: 80.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.02155/1.698, allocations: 5.619 MB / 0.587 GB, free: 80.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.437e-05/1.698, allocations: 13.88 kB / 0.587 GB, free: 80.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.953e-05/1.699, allocations: 24.91 kB / 0.587 GB, free: 80.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004491/1.703, allocations: 1.059 MB / 0.588 GB, free: 80.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006446/1.71, allocations: 0.5332 MB / 0.5886 GB, free: 80.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007835/1.717, allocations: 3.964 MB / 0.5924 GB, free: 78.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004889/1.722, allocations: 319.2 kB / 0.5927 GB, free: 78.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/1.724, allocations: 139.7 kB / 0.5929 GB, free: 78.28 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.001484/1.725, allocations: 218.2 kB / 0.5931 GB, free: 78.14 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01683/1.742, allocations: 4.379 MB / 0.5974 GB, free: 77.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001274/1.743, allocations: 152 kB / 0.5975 GB, free: 77.83 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01904/1.762, allocations: 4.701 MB / 0.6021 GB, free: 77.65 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01714/1.78, allocations: 4.33 MB / 0.6063 GB, free: 77.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.6e-05/1.78, allocations: 0 / 0.6063 GB, free: 77.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.592e-05/1.78, allocations: 11.94 kB / 0.6063 GB, free: 77.51 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03348/1.813, allocations: 8.825 MB / 0.6149 GB, free: 73.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.844e-05/1.813, allocations: 2.875 kB / 0.6149 GB, free: 73.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003259/1.817, allocations: 254.6 kB / 0.6152 GB, free: 73.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004103/1.821, allocations: 1.025 MB / 0.6162 GB, free: 73.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007948/1.822, allocations: 33.8 kB / 0.6162 GB, free: 73.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008102/1.83, allocations: 3.929 MB / 0.6201 GB, free: 71.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/1.83, allocations: 0 / 0.6201 GB, free: 71.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02461/1.855, allocations: 7.201 MB / 0.6271 GB, free: 67.94 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009474/1.856, allocations: 293.2 kB / 0.6274 GB, free: 67.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001322/1.857, allocations: 4 kB / 0.6274 GB, free: 67.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002988/1.86, allocations: 60.27 kB / 0.6274 GB, free: 67.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001404/1.861, allocations: 206.6 kB / 0.6276 GB, free: 67.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005959/1.862, allocations: 66.09 kB / 0.6277 GB, free: 67.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002303/1.864, allocations: 0.7368 MB / 0.6284 GB, free: 67.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.503e-06/1.864, allocations: 0 / 0.6284 GB, free: 67.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00635/1.871, allocations: 0.9102 MB / 0.6293 GB, free: 67.08 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.02569/1.897, allocations: 7.835 MB / 0.637 GB, free: 61.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01527/1.912, allocations: 4.361 MB / 0.6412 GB, free: 57.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/1.912, allocations: 0 / 0.6412 GB, free: 57.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00782/1.92, allocations: 2.017 MB / 0.6432 GB, free: 55.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004125/1.924, allocations: 239.6 kB / 0.6434 GB, free: 55.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02419/1.948, allocations: 8.443 MB / 0.6517 GB, free: 48.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004631/1.953, allocations: 3.045 MB / 0.6546 GB, free: 45.89 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002977/1.956, allocations: 0.5746 MB / 0.6552 GB, free: 45.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002988/1.959, allocations: 1.214 MB / 0.6564 GB, free: 44.36 MB / 394.7 MB Notification: Performance of SimCode: time 2.114e-06/1.959, allocations: 0 / 0.6564 GB, free: 44.36 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1589/2.118, allocations: 60.76 MB / 0.7157 GB, free: 8.273 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003387/2.118, allocations: 162.5 kB / 0.7159 GB, free: 8.082 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.965/6.084, allocations: 0 / 0.7159 GB, free: 8.082 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat