Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.051/2.051, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.846e-05, allocations: 0 / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 44.5 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4324/0.5416, allocations: 85.03 MB / 385 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.542, allocations: 78.92 kB / 385.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7966/1.339, allocations: 157.2 MB / 0.5296 GB, free: 79.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.316e-06/1.339, allocations: 0.9688 kB / 0.5296 GB, free: 79.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003352/1.339, allocations: 98.7 kB / 0.5297 GB, free: 79 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.02274/1.362, allocations: 4.227 MB / 0.5338 GB, free: 77.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.362, allocations: 7.938 kB / 0.5338 GB, free: 77.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003448/1.365, allocations: 0.6789 MB / 0.5345 GB, free: 77.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01481/1.38, allocations: 1.698 MB / 0.5361 GB, free: 77.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008725/1.389, allocations: 2.677 MB / 0.5388 GB, free: 77.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007391/1.39, allocations: 351.2 kB / 0.5391 GB, free: 77.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002252/1.392, allocations: 444 kB / 0.5395 GB, free: 77.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02451/1.417, allocations: 7.418 MB / 0.5468 GB, free: 76.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003331/1.417, allocations: 0 / 0.5468 GB, free: 76.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002966/1.42, allocations: 195.6 kB / 0.5469 GB, free: 76.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008228/1.421, allocations: 305.7 kB / 0.5472 GB, free: 76.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02116/1.442, allocations: 6.037 MB / 0.5531 GB, free: 76.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06025/1.502, allocations: 23.24 MB / 0.5758 GB, free: 70.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01954/1.522, allocations: 6.413 MB / 0.5821 GB, free: 66.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01475/1.537, allocations: 3.282 MB / 0.5853 GB, free: 64.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05132/1.588, allocations: 10.81 MB / 0.5959 GB, free: 59.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.945e-05/1.588, allocations: 64.23 kB / 0.5959 GB, free: 58.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=319): time 7.854e-06/1.588, allocations: 0 / 0.5959 GB, free: 58.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=319): time 0.01365/1.602, allocations: 5.162 MB / 0.601 GB, free: 56.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/1.602, allocations: 75.12 kB / 0.601 GB, free: 56.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/1.604, allocations: 1.062 MB / 0.6021 GB, free: 56.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007125/1.605, allocations: 63.72 kB / 0.6021 GB, free: 56.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001128/1.606, allocations: 1.684 MB / 0.6038 GB, free: 55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001782/1.608, allocations: 1.058 MB / 0.6048 GB, free: 54.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004701/1.609, allocations: 55.03 kB / 0.6049 GB, free: 54.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005289/1.609, allocations: 0.4944 MB / 0.6053 GB, free: 53.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00551/1.615, allocations: 2.186 MB / 0.6075 GB, free: 52.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006281/1.621, allocations: 2.869 MB / 0.6103 GB, free: 51.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006462/1.628, allocations: 2.688 MB / 0.6129 GB, free: 48.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.987e-05/1.628, allocations: 4 kB / 0.6129 GB, free: 48.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01647/1.644, allocations: 6.193 MB / 0.619 GB, free: 43.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/1.644, allocations: 16 kB / 0.619 GB, free: 43.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.679e-05/1.644, allocations: 20 kB / 0.619 GB, free: 43.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00368/1.648, allocations: 1.408 MB / 0.6204 GB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004117/1.652, allocations: 0.5154 MB / 0.6209 GB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007253/1.659, allocations: 5.157 MB / 0.6259 GB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003623/1.663, allocations: 378.8 kB / 0.6263 GB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009767/1.664, allocations: 139.1 kB / 0.6264 GB, free: 36.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (301): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * 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.001127/1.665, allocations: 257.7 kB / 0.6266 GB, free: 36.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009315/1.666, allocations: 177.5 kB / 0.6268 GB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/1.681, allocations: 5.578 MB / 0.6323 GB, free: 31.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0124/1.693, allocations: 5.138 MB / 0.6373 GB, free: 26.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/1.693, allocations: 3.875 kB / 0.6373 GB, free: 26.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.534e-05/1.693, allocations: 11.48 kB / 0.6373 GB, free: 26.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02776/1.721, allocations: 11.12 MB / 0.6481 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-05/1.721, allocations: 4 kB / 0.6482 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002638/1.724, allocations: 279.8 kB / 0.6484 GB, free: 17.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003543/1.728, allocations: 1.384 MB / 0.6498 GB, free: 16.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007541/1.728, allocations: 68.39 kB / 0.6498 GB, free: 16.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00689/1.735, allocations: 5.117 MB / 0.6548 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.735, allocations: 4 kB / 0.6548 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01908/1.754, allocations: 8.513 MB / 0.6632 GB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00248/1.757, allocations: 0.725 MB / 0.6639 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007754/1.758, allocations: 36 kB / 0.6639 GB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001997/1.76, allocations: 87.25 kB / 0.664 GB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007432/1.761, allocations: 244.6 kB / 0.6642 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002995/1.761, allocations: 85.23 kB / 0.6643 GB, free: 2.734 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001459/1.762, allocations: 0.7765 MB / 0.665 GB, free: 2.031 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.762, allocations: 7.062 kB / 0.6651 GB, free: 2.027 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004547/1.767, allocations: 1.073 MB / 0.6661 GB, free: 0.9531 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor0.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (174): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * 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.3269/2.094, allocations: 9.519 MB / 0.6754 GB, free: 75.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01451/2.108, allocations: 5.063 MB / 0.6803 GB, free: 75.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/2.108, allocations: 0 / 0.6803 GB, free: 75.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006985/2.115, allocations: 2.445 MB / 0.6827 GB, free: 74.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003511/2.119, allocations: 315.8 kB / 0.683 GB, free: 74.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02801/2.147, allocations: 9.597 MB / 0.6924 GB, free: 73.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006805/2.154, allocations: 3.329 MB / 0.6957 GB, free: 88.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002995/2.157, allocations: 0.5939 MB / 0.6962 GB, free: 88.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003078/2.16, allocations: 1.313 MB / 0.6975 GB, free: 88.95 MB / 426.7 MB Notification: Performance of SimCode: time 1.463e-06/2.16, allocations: 2.844 kB / 0.6975 GB, free: 88.95 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2149/2.375, allocations: 71.95 MB / 0.7678 GB, free: 60.9 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/2.375, allocations: 218.5 kB / 0.768 GB, free: 60.66 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.328/6.703, allocations: 0 / 0.768 GB, free: 60.66 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat