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.684/1.684, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.801e-05/3.814e-05, allocations: 4 kB / 225.1 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2674, allocations: 38.77 MB / 263.8 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.4021, allocations: 74.75 MB / 338.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.4025, allocations: 83.94 kB / 338.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7815/1.184, allocations: 156.2 MB / 494.8 MB, free: 8.809 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.52e-06/1.184, allocations: 3.984 kB / 494.8 MB, free: 8.805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002668/1.184, allocations: 99.88 kB / 494.9 MB, free: 8.707 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.01973/1.204, allocations: 4.152 MB / 499.1 MB, free: 4.488 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/1.204, allocations: 8.031 kB / 499.1 MB, free: 4.48 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002283/1.206, allocations: 0.6621 MB / 499.7 MB, free: 3.809 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/1.208, allocations: 458.7 kB / 0.4885 GB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007869/1.216, allocations: 2.649 MB / 0.4911 GB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004991/1.217, allocations: 341 kB / 0.4914 GB, free: 332 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2606/1.477, allocations: 443 kB / 0.4918 GB, free: 56.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01957/1.497, allocations: 6.926 MB / 0.4986 GB, free: 55.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001565/1.497, allocations: 12.19 kB / 0.4986 GB, free: 55.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007468/1.498, allocations: 190 kB / 0.4988 GB, free: 55.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001979/1.498, allocations: 196.8 kB / 0.4989 GB, free: 55.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01316/1.511, allocations: 4.951 MB / 0.5038 GB, free: 55.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0494/1.561, allocations: 21.83 MB / 0.5251 GB, free: 53.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005335/1.566, allocations: 2.539 MB / 0.5276 GB, free: 52.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006079/1.572, allocations: 2.824 MB / 0.5303 GB, free: 51.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003572/1.573, allocations: 68.23 kB / 0.5304 GB, free: 51.51 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/1.573, allocations: 54.72 kB / 0.5305 GB, free: 51.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=284): time 6.833e-06/1.573, allocations: 2.625 kB / 0.5305 GB, free: 51.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=284): time 0.01121/1.584, allocations: 4.737 MB / 0.5351 GB, free: 49.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/1.584, allocations: 128 kB / 0.5352 GB, free: 49.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/1.586, allocations: 0.7607 MB / 0.536 GB, free: 49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000574/1.586, allocations: 53.52 kB / 0.536 GB, free: 48.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009255/1.587, allocations: 1.547 MB / 0.5375 GB, free: 48.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001474/1.589, allocations: 0.9245 MB / 0.5384 GB, free: 47.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/1.589, allocations: 42.5 kB / 0.5385 GB, free: 47.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002478/1.589, allocations: 429.4 kB / 0.5389 GB, free: 47 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003883/1.593, allocations: 1.864 MB / 0.5407 GB, free: 46.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004363/1.598, allocations: 2.31 MB / 0.5429 GB, free: 44.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004781/1.602, allocations: 2.265 MB / 0.5452 GB, free: 44.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.337e-05/1.602, allocations: 3.688 kB / 0.5452 GB, free: 44.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01277/1.615, allocations: 5.242 MB / 0.5503 GB, free: 41.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/1.615, allocations: 7.406 kB / 0.5503 GB, free: 41.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.481e-05/1.615, allocations: 11.25 kB / 0.5503 GB, free: 41.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003544/1.619, allocations: 1.394 MB / 0.5517 GB, free: 41.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002737/1.622, allocations: 340.4 kB / 0.552 GB, free: 41.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007116/1.629, allocations: 5.123 MB / 0.557 GB, free: 38.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/1.631, allocations: 238.1 kB / 0.5572 GB, free: 37.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005064/1.632, allocations: 97.5 kB / 0.5573 GB, free: 37.95 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.0006674/1.632, allocations: 208.6 kB / 0.5575 GB, free: 37.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005658/1.633, allocations: 147 kB / 0.5576 GB, free: 37.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01281/1.646, allocations: 5.039 MB / 0.5626 GB, free: 35.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01039/1.656, allocations: 4.703 MB / 0.5672 GB, free: 31.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/1.656, allocations: 0 / 0.5672 GB, free: 31.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.573e-05/1.656, allocations: 11.12 kB / 0.5672 GB, free: 31.03 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03169/1.688, allocations: 10.87 MB / 0.5778 GB, free: 21.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.638e-05/1.688, allocations: 4.406 kB / 0.5778 GB, free: 21.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/1.691, allocations: 219 kB / 0.578 GB, free: 21.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004652/1.695, allocations: 1.381 MB / 0.5793 GB, free: 20.44 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005829/1.696, allocations: 61.47 kB / 0.5794 GB, free: 20.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009812/1.706, allocations: 5.098 MB / 0.5844 GB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/1.706, allocations: 4 kB / 0.5844 GB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02422/1.73, allocations: 8.222 MB / 0.5924 GB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006593/1.731, allocations: 262.2 kB / 0.5927 GB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000811/1.732, allocations: 43.8 kB / 0.5927 GB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/1.734, allocations: 58.78 kB / 0.5928 GB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009512/1.735, allocations: 244.9 kB / 0.593 GB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003785/1.735, allocations: 71.12 kB / 0.5931 GB, free: 7.586 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001484/1.736, allocations: 0.5905 MB / 0.5936 GB, free: 7.062 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.736, allocations: 0 / 0.5936 GB, free: 7.062 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004676/1.741, allocations: 0.9892 MB / 0.5946 GB, free: 6.078 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.02198/1.763, allocations: 9.892 MB / 0.6043 GB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01265/1.776, allocations: 4.423 MB / 0.6086 GB, free: 9.121 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.776, allocations: 0 / 0.6086 GB, free: 9.121 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006549/1.783, allocations: 2.237 MB / 0.6108 GB, free: 7.168 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003131/1.786, allocations: 296.4 kB / 0.6111 GB, free: 6.949 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02523/1.811, allocations: 8.654 MB / 0.6195 GB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005248/1.816, allocations: 3.235 MB / 0.6227 GB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002987/1.819, allocations: 1.249 MB / 0.6239 GB, free: 11.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/1.819, allocations: 8.969 kB / 0.6239 GB, free: 11.69 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.185/6.004, allocations: 163 MB / 0.7831 GB, free: 89.16 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