Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.803/1.803, allocations: 171.2 MB / 183.8 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.525e-05/5.54e-05, allocations: 4 kB / 225.1 MB, free: 2.605 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3359, allocations: 38.76 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.4766, allocations: 74.51 MB / 338.4 MB, free: 15.13 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.477, allocations: 79.95 kB / 338.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.077/1.554, allocations: 171.8 MB / 0.4983 GB, free: 52.35 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.745e-06/1.554, allocations: 0 / 0.4983 GB, free: 52.35 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003105/1.555, allocations: 117.1 kB / 0.4984 GB, free: 52.34 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.02224/1.577, allocations: 4.494 MB / 0.5028 GB, free: 51.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/1.577, allocations: 13.03 kB / 0.5028 GB, free: 51.09 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003025/1.58, allocations: 0.7119 MB / 0.5035 GB, free: 51.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/1.583, allocations: 494.2 kB / 0.504 GB, free: 50.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008479/1.591, allocations: 2.929 MB / 0.5068 GB, free: 50.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000632/1.592, allocations: 369.3 kB / 0.5072 GB, free: 50.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002319/1.594, allocations: 471.8 kB / 0.5077 GB, free: 50.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02438/1.619, allocations: 7.56 MB / 0.515 GB, free: 49.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00023/1.619, allocations: 10.81 kB / 0.515 GB, free: 49.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001766/1.621, allocations: 206.6 kB / 0.5152 GB, free: 49.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002971/1.621, allocations: 226.1 kB / 0.5155 GB, free: 49.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01624/1.637, allocations: 5.329 MB / 0.5207 GB, free: 49.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06078/1.698, allocations: 23.95 MB / 0.5441 GB, free: 43.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006193/1.704, allocations: 2.725 MB / 0.5467 GB, free: 42.49 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007128/1.712, allocations: 3.173 MB / 0.5498 GB, free: 41.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003904/1.712, allocations: 75.42 kB / 0.5499 GB, free: 41.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/1.712, allocations: 55.94 kB / 0.5499 GB, free: 40.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=324): time 7.404e-06/1.712, allocations: 0 / 0.5499 GB, free: 40.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=324): time 0.01398/1.726, allocations: 5.538 MB / 0.5553 GB, free: 38.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/1.726, allocations: 133.5 kB / 0.5555 GB, free: 38.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/1.728, allocations: 0.7567 MB / 0.5562 GB, free: 38.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007321/1.729, allocations: 61.11 kB / 0.5563 GB, free: 38.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009205/1.729, allocations: 1.635 MB / 0.5579 GB, free: 36.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001803/1.731, allocations: 1.055 MB / 0.5589 GB, free: 36.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004054/1.732, allocations: 43.69 kB / 0.5589 GB, free: 35.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000427/1.732, allocations: 439.4 kB / 0.5594 GB, free: 35.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005197/1.737, allocations: 2.101 MB / 0.5614 GB, free: 34.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00575/1.743, allocations: 2.533 MB / 0.5639 GB, free: 33.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005591/1.749, allocations: 2.541 MB / 0.5664 GB, free: 32.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.6e-05/1.749, allocations: 3.719 kB / 0.5664 GB, free: 32.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.01375/1.763, allocations: 5.904 MB / 0.5721 GB, free: 27.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/1.763, allocations: 8.594 kB / 0.5721 GB, free: 27.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.714e-05/1.763, allocations: 12 kB / 0.5722 GB, free: 27.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004318/1.767, allocations: 1.748 MB / 0.5739 GB, free: 26.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002711/1.77, allocations: 327.7 kB / 0.5742 GB, free: 25.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008973/1.779, allocations: 6.414 MB / 0.5804 GB, free: 19.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/1.781, allocations: 231 kB / 0.5807 GB, free: 19.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005607/1.782, allocations: 106.8 kB / 0.5808 GB, free: 19.61 MB / 346.7 MB 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.0006965/1.783, allocations: 223 kB / 0.581 GB, free: 19.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006872/1.783, allocations: 154.9 kB / 0.5811 GB, free: 19.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/1.798, allocations: 5.855 MB / 0.5868 GB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01334/1.811, allocations: 5.499 MB / 0.5922 GB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.071e-05/1.811, allocations: 6.344 kB / 0.5922 GB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.664e-05/1.811, allocations: 7.688 kB / 0.5922 GB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02999/1.841, allocations: 12.17 MB / 0.6041 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.957e-05/1.841, allocations: 8.219 kB / 0.6041 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002341/1.844, allocations: 219.2 kB / 0.6043 GB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005067/1.849, allocations: 1.73 MB / 0.606 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007973/1.849, allocations: 74.39 kB / 0.6061 GB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/1.86, allocations: 6.408 MB / 0.6123 GB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.86, allocations: 0 / 0.6123 GB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3007/2.161, allocations: 9.673 MB / 0.6218 GB, free: 63.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007494/2.162, allocations: 276.2 kB / 0.6221 GB, free: 63.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001079/2.163, allocations: 42.5 kB / 0.6221 GB, free: 63.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002027/2.165, allocations: 63.31 kB / 0.6222 GB, free: 63.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001241/2.166, allocations: 270.4 kB / 0.6224 GB, free: 63.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004856/2.167, allocations: 79.7 kB / 0.6225 GB, free: 63.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001536/2.168, allocations: 0.5973 MB / 0.6231 GB, free: 63.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.91e-07/2.168, allocations: 0 / 0.6231 GB, free: 63.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004694/2.173, allocations: 1.073 MB / 0.6241 GB, free: 63.5 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.02231/2.195, allocations: 10.58 MB / 0.6345 GB, free: 61.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01321/2.209, allocations: 4.954 MB / 0.6393 GB, free: 61.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/2.209, allocations: 3.719 kB / 0.6393 GB, free: 61.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007292/2.216, allocations: 2.545 MB / 0.6418 GB, free: 61.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003865/2.22, allocations: 337.9 kB / 0.6421 GB, free: 61.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03455/2.255, allocations: 9.536 MB / 0.6514 GB, free: 60.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008049/2.263, allocations: 3.505 MB / 0.6548 GB, free: 59.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004068/2.267, allocations: 1.364 MB / 0.6562 GB, free: 59.35 MB / 362.7 MB Notification: Performance of SimCode: time 1.994e-06/2.267, allocations: 0 / 0.6562 GB, free: 59.35 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.362/6.629, allocations: 206.2 MB / 0.8576 GB, free: 30.06 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat