Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.967/1.967, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.845e-05/2.85e-05, allocations: 0 / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3103, allocations: 44.5 MB / 294.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.4614, allocations: 84.29 MB / 378.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.4617, allocations: 83.95 kB / 378.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6991/1.161, allocations: 140.4 MB / 0.5068 GB, free: 29.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.385e-06/1.161, allocations: 0 / 0.5068 GB, free: 29.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001806/1.161, allocations: 95.88 kB / 0.5069 GB, free: 29.87 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.01708/1.178, allocations: 3.886 MB / 0.5107 GB, free: 25.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/1.178, allocations: 12.03 kB / 0.5107 GB, free: 25.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01589/1.194, allocations: 1.806 MB / 0.5125 GB, free: 24.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007003/1.201, allocations: 2.423 MB / 0.5149 GB, free: 21.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004785/1.202, allocations: 140 kB / 0.515 GB, free: 21.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001835/1.204, allocations: 255.9 kB / 0.5152 GB, free: 21.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01439/1.218, allocations: 5.215 MB / 0.5203 GB, free: 16.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01892/1.237, allocations: 6.149 MB / 0.5263 GB, free: 9.703 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001784/1.237, allocations: 7.938 kB / 0.5263 GB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001268/1.239, allocations: 0 / 0.5263 GB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003471/1.239, allocations: 276.7 kB / 0.5266 GB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05459/1.294, allocations: 20.53 MB / 0.5467 GB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/1.308, allocations: 7.542 MB / 0.554 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007437/1.315, allocations: 2.87 MB / 0.5568 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3008/1.616, allocations: 9.452 MB / 0.5661 GB, free: 82.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.3e-05/1.616, allocations: 53.42 kB / 0.5661 GB, free: 82.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=265): time 7.835e-06/1.616, allocations: 0 / 0.5661 GB, free: 82.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=265): time 0.01197/1.628, allocations: 4.376 MB / 0.5704 GB, free: 82.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/1.628, allocations: 71.56 kB / 0.5705 GB, free: 82.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/1.63, allocations: 1.041 MB / 0.5715 GB, free: 82.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005565/1.631, allocations: 25.7 kB / 0.5715 GB, free: 82.15 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001121/1.632, allocations: 1.671 MB / 0.5731 GB, free: 81.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001442/1.634, allocations: 0.8572 MB / 0.574 GB, free: 80.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/1.634, allocations: 0 / 0.574 GB, free: 80.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002919/1.634, allocations: 450.7 kB / 0.5744 GB, free: 80.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004447/1.639, allocations: 1.879 MB / 0.5762 GB, free: 80.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005029/1.644, allocations: 2.639 MB / 0.5788 GB, free: 79.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007154/1.651, allocations: 2.693 MB / 0.5814 GB, free: 79.72 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-05/1.651, allocations: 7.781 kB / 0.5814 GB, free: 79.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.01423/1.665, allocations: 5.58 MB / 0.5869 GB, free: 79.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/1.665, allocations: 12.84 kB / 0.5869 GB, free: 79.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.192e-05/1.665, allocations: 25.42 kB / 0.5869 GB, free: 79.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/1.668, allocations: 1.065 MB / 0.588 GB, free: 79.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004058/1.672, allocations: 0.5307 MB / 0.5885 GB, free: 79.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005672/1.678, allocations: 3.959 MB / 0.5924 GB, free: 77.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003458/1.681, allocations: 317.8 kB / 0.5927 GB, free: 77.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009564/1.682, allocations: 141.8 kB / 0.5928 GB, free: 77.73 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.0009046/1.683, allocations: 230.9 kB / 0.593 GB, free: 77.59 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01056/1.694, allocations: 4.369 MB / 0.5973 GB, free: 77.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008766/1.695, allocations: 160.7 kB / 0.5974 GB, free: 77.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/1.706, allocations: 4.692 MB / 0.602 GB, free: 77.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009776/1.716, allocations: 4.331 MB / 0.6062 GB, free: 76.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/1.716, allocations: 0 / 0.6062 GB, free: 76.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.744e-05/1.716, allocations: 9.562 kB / 0.6063 GB, free: 76.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02095/1.737, allocations: 8.83 MB / 0.6149 GB, free: 73.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.629e-05/1.737, allocations: 3.75 kB / 0.6149 GB, free: 73.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/1.739, allocations: 255 kB / 0.6151 GB, free: 73.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002577/1.742, allocations: 1.026 MB / 0.6161 GB, free: 72.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005529/1.743, allocations: 40.22 kB / 0.6162 GB, free: 72.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005255/1.748, allocations: 3.925 MB / 0.62 GB, free: 70.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/1.748, allocations: 0 / 0.62 GB, free: 70.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02293/1.771, allocations: 7.2 MB / 0.627 GB, free: 67.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009527/1.772, allocations: 290 kB / 0.6273 GB, free: 66.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001615/1.773, allocations: 0 / 0.6273 GB, free: 66.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003233/1.777, allocations: 60.05 kB / 0.6274 GB, free: 66.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00137/1.778, allocations: 209.4 kB / 0.6276 GB, free: 66.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004463/1.779, allocations: 75.42 kB / 0.6276 GB, free: 66.92 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00293/1.782, allocations: 0.7305 MB / 0.6283 GB, free: 66.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.782, allocations: 2.938 kB / 0.6283 GB, free: 66.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007962/1.79, allocations: 0.914 MB / 0.6292 GB, free: 66.36 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.01882/1.809, allocations: 7.816 MB / 0.6369 GB, free: 60.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01056/1.819, allocations: 4.358 MB / 0.6411 GB, free: 56.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.819, allocations: 448 / 0.6411 GB, free: 56.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00495/1.824, allocations: 2.024 MB / 0.6431 GB, free: 54.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/1.827, allocations: 235.2 kB / 0.6433 GB, free: 54.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02362/1.851, allocations: 8.269 MB / 0.6514 GB, free: 47.56 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003682/1.855, allocations: 2.971 MB / 0.6543 GB, free: 45.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00279/1.857, allocations: 1.232 MB / 0.6555 GB, free: 44.04 MB / 394.7 MB Notification: Performance of SimCode: time 1.863e-06/1.857, allocations: 0 / 0.6555 GB, free: 44.04 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.876/5.734, allocations: 128.8 MB / 0.7813 GB, free: 82.82 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat