Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.951/1.951, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.274e-05/4.302e-05, allocations: 0 / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3452, allocations: 38.77 MB / 263.9 MB, free: 9.77 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/0.5252, allocations: 74.77 MB / 338.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/0.5256, allocations: 79.95 kB / 338.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7557/1.281, allocations: 156.1 MB / 494.8 MB, free: 8.633 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/1.281, allocations: 0 / 494.8 MB, free: 8.633 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002794/1.282, allocations: 99.88 kB / 494.9 MB, free: 8.535 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: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.02097/1.303, allocations: 4.16 MB / 499.1 MB, free: 4.309 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/1.303, allocations: 11.97 kB / 499.1 MB, free: 4.297 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002644/1.305, allocations: 0.6621 MB / 499.8 MB, free: 3.625 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002072/1.308, allocations: 446.7 kB / 0.4885 GB, free: 3.184 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008626/1.316, allocations: 2.642 MB / 0.4911 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006509/1.317, allocations: 345 kB / 0.4914 GB, free: 156 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2533/1.57, allocations: 443.2 kB / 0.4918 GB, free: 55.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02079/1.591, allocations: 6.874 MB / 0.4985 GB, free: 55.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001738/1.591, allocations: 13.84 kB / 0.4986 GB, free: 55.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009428/1.592, allocations: 194.5 kB / 0.4987 GB, free: 55.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002037/1.592, allocations: 195.1 kB / 0.4989 GB, free: 55.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/1.606, allocations: 4.892 MB / 0.5037 GB, free: 55.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05237/1.659, allocations: 21.84 MB / 0.525 GB, free: 53.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005708/1.665, allocations: 2.526 MB / 0.5275 GB, free: 52.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006292/1.671, allocations: 2.823 MB / 0.5303 GB, free: 51.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003492/1.671, allocations: 70.81 kB / 0.5303 GB, free: 51.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/1.671, allocations: 54.56 kB / 0.5304 GB, free: 51.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=284): time 6.613e-06/1.671, allocations: 0 / 0.5304 GB, free: 51.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=284): time 0.01139/1.683, allocations: 4.735 MB / 0.535 GB, free: 49.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/1.683, allocations: 128.2 kB / 0.5351 GB, free: 49.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/1.685, allocations: 0.7583 MB / 0.5359 GB, free: 48.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006196/1.685, allocations: 56.48 kB / 0.5359 GB, free: 48.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009277/1.686, allocations: 1.546 MB / 0.5374 GB, free: 47.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001572/1.688, allocations: 0.9299 MB / 0.5383 GB, free: 47.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/1.688, allocations: 38.75 kB / 0.5384 GB, free: 47.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002919/1.688, allocations: 429.4 kB / 0.5388 GB, free: 46.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004165/1.692, allocations: 1.867 MB / 0.5406 GB, free: 46.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/1.697, allocations: 2.302 MB / 0.5429 GB, free: 44.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004804/1.702, allocations: 2.264 MB / 0.5451 GB, free: 43.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-05/1.702, allocations: 3.656 kB / 0.5451 GB, free: 43.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01168/1.714, allocations: 5.201 MB / 0.5501 GB, free: 41.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.07e-05/1.714, allocations: 7.625 kB / 0.5502 GB, free: 41.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.41e-05/1.714, allocations: 14.06 kB / 0.5502 GB, free: 41.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003401/1.717, allocations: 1.389 MB / 0.5515 GB, free: 41.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002692/1.72, allocations: 343.8 kB / 0.5518 GB, free: 41.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007015/1.727, allocations: 5.121 MB / 0.5568 GB, free: 37.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/1.729, allocations: 230.2 kB / 0.5571 GB, free: 37.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003658/1.73, allocations: 100.5 kB / 0.5572 GB, free: 37.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * 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.0006195/1.73, allocations: 215.1 kB / 0.5574 GB, free: 37.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005797/1.731, allocations: 141.4 kB / 0.5575 GB, free: 37.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/1.742, allocations: 5.04 MB / 0.5624 GB, free: 35.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009388/1.751, allocations: 4.704 MB / 0.567 GB, free: 30.9 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/1.751, allocations: 4 kB / 0.567 GB, free: 30.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.808e-05/1.752, allocations: 18.48 kB / 0.567 GB, free: 30.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02436/1.776, allocations: 10.85 MB / 0.5776 GB, free: 21.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-05/1.776, allocations: 7.781 kB / 0.5776 GB, free: 21.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/1.778, allocations: 214.9 kB / 0.5779 GB, free: 21.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003187/1.781, allocations: 1.382 MB / 0.5792 GB, free: 20.31 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003944/1.781, allocations: 66.55 kB / 0.5793 GB, free: 20.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00659/1.788, allocations: 5.092 MB / 0.5842 GB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/1.788, allocations: 6.531 kB / 0.5842 GB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01699/1.805, allocations: 8.211 MB / 0.5923 GB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005666/1.806, allocations: 266.4 kB / 0.5925 GB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005585/1.806, allocations: 40 kB / 0.5926 GB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/1.808, allocations: 55.34 kB / 0.5926 GB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006373/1.808, allocations: 249.7 kB / 0.5928 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002642/1.809, allocations: 74.97 kB / 0.5929 GB, free: 7.457 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001023/1.81, allocations: 0.588 MB / 0.5935 GB, free: 6.938 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.81, allocations: 0 / 0.5935 GB, free: 6.938 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003373/1.813, allocations: 0.9872 MB / 0.5945 GB, free: 5.953 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (139): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * 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.01999/1.833, allocations: 9.939 MB / 0.6042 GB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01151/1.845, allocations: 4.391 MB / 0.6085 GB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.845, allocations: 0 / 0.6085 GB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005958/1.851, allocations: 2.213 MB / 0.6106 GB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/1.854, allocations: 302.8 kB / 0.6109 GB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02506/1.879, allocations: 8.629 MB / 0.6193 GB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006035/1.885, allocations: 3.236 MB / 0.6225 GB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00348/1.888, allocations: 1.246 MB / 0.6237 GB, free: 11.69 MB / 378.7 MB Notification: Performance of SimCode: time 2.355e-06/1.888, allocations: 8 kB / 0.6237 GB, free: 11.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.098/5.986, allocations: 162.8 MB / 0.7827 GB, free: 88.7 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat