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.942/1.942, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.296e-05/4.312e-05, allocations: 8 kB / 255.5 MB, free: 3.066 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1003, allocations: 44.5 MB / 300 MB, free: 6.5 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4329/0.5333, allocations: 84.95 MB / 384.9 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.5336, allocations: 80.89 kB / 385 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5962/1.13, allocations: 142 MB / 0.5146 GB, free: 3.789 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.13, allocations: 0 / 0.5146 GB, free: 3.789 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002715/1.13, allocations: 91.94 kB / 0.5147 GB, free: 3.699 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.3162/1.446, allocations: 3.889 MB / 0.5185 GB, free: 76.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/1.447, allocations: 10.41 kB / 0.5185 GB, free: 76.51 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003076/1.45, allocations: 0.6285 MB / 0.5191 GB, free: 76.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/1.467, allocations: 1.805 MB / 0.5209 GB, free: 76.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0085/1.475, allocations: 2.429 MB / 0.5233 GB, free: 76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007405/1.476, allocations: 321.6 kB / 0.5236 GB, free: 75.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002394/1.478, allocations: 420.2 kB / 0.524 GB, free: 75.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02649/1.505, allocations: 6.773 MB / 0.5306 GB, free: 75.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002822/1.505, allocations: 1.25 kB / 0.5306 GB, free: 75.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002571/1.508, allocations: 180.9 kB / 0.5308 GB, free: 75.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007229/1.509, allocations: 275.5 kB / 0.531 GB, free: 75.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02192/1.531, allocations: 5.687 MB / 0.5366 GB, free: 75.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07134/1.602, allocations: 21.34 MB / 0.5574 GB, free: 72.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/1.614, allocations: 7.542 MB / 0.5648 GB, free: 67.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007426/1.622, allocations: 2.923 MB / 0.5676 GB, free: 66.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02709/1.649, allocations: 9.46 MB / 0.5769 GB, free: 61.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/1.649, allocations: 55.53 kB / 0.5769 GB, free: 61.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 6.553e-06/1.649, allocations: 2.906 kB / 0.5769 GB, free: 61.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.01181/1.661, allocations: 4.25 MB / 0.5811 GB, free: 59.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/1.661, allocations: 70.59 kB / 0.5812 GB, free: 59.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002652/1.664, allocations: 1.092 MB / 0.5822 GB, free: 59.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006313/1.664, allocations: 57.2 kB / 0.5823 GB, free: 59.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/1.666, allocations: 1.671 MB / 0.5839 GB, free: 57.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001563/1.667, allocations: 0.8877 MB / 0.5848 GB, free: 57.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005175/1.668, allocations: 54.84 kB / 0.5848 GB, free: 57.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004185/1.668, allocations: 446.5 kB / 0.5853 GB, free: 56.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004978/1.673, allocations: 1.91 MB / 0.5871 GB, free: 56.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005989/1.679, allocations: 2.656 MB / 0.5897 GB, free: 54.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00618/1.685, allocations: 2.384 MB / 0.592 GB, free: 53.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.532e-05/1.686, allocations: 3.875 kB / 0.592 GB, free: 53.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.01556/1.701, allocations: 5.388 MB / 0.5973 GB, free: 51.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/1.701, allocations: 21.53 kB / 0.5973 GB, free: 51.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-05/1.701, allocations: 22.5 kB / 0.5973 GB, free: 51.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002858/1.704, allocations: 1.059 MB / 0.5984 GB, free: 51.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004249/1.709, allocations: 0.5295 MB / 0.5989 GB, free: 51.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005878/1.714, allocations: 3.867 MB / 0.6027 GB, free: 48.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003782/1.718, allocations: 374.9 kB / 0.603 GB, free: 48.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009845/1.719, allocations: 139.3 kB / 0.6032 GB, free: 48.34 MB / 410.7 MB 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.001061/1.72, allocations: 257.8 kB / 0.6034 GB, free: 48.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006808/1.721, allocations: 155.5 kB / 0.6036 GB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/1.734, allocations: 4.615 MB / 0.6081 GB, free: 46.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01088/1.745, allocations: 4.219 MB / 0.6122 GB, free: 42.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/1.745, allocations: 4 kB / 0.6122 GB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-05/1.745, allocations: 7.406 kB / 0.6122 GB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0246/1.769, allocations: 9.498 MB / 0.6215 GB, free: 34.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-05/1.769, allocations: 0 / 0.6215 GB, free: 34.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00241/1.772, allocations: 245.5 kB / 0.6217 GB, free: 34.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002753/1.775, allocations: 1.035 MB / 0.6227 GB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006399/1.775, allocations: 51.45 kB / 0.6228 GB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005388/1.781, allocations: 3.832 MB / 0.6265 GB, free: 30.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.781, allocations: 3.953 kB / 0.6265 GB, free: 30.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01715/1.798, allocations: 7.075 MB / 0.6334 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007328/1.799, allocations: 289 kB / 0.6337 GB, free: 23.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/1.8, allocations: 42.44 kB / 0.6337 GB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/1.802, allocations: 78.36 kB / 0.6338 GB, free: 23.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001028/1.803, allocations: 197.3 kB / 0.634 GB, free: 23.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004622/1.804, allocations: 71.11 kB / 0.6341 GB, free: 23.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001731/1.805, allocations: 0.7864 MB / 0.6348 GB, free: 22.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.805, allocations: 0 / 0.6348 GB, free: 22.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004941/1.81, allocations: 0.9939 MB / 0.6358 GB, free: 21.67 MB / 410.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.01843/1.829, allocations: 7.727 MB / 0.6434 GB, free: 14.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01164/1.841, allocations: 4.39 MB / 0.6476 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.841, allocations: 1.625 kB / 0.6476 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005777/1.846, allocations: 2.024 MB / 0.6496 GB, free: 9.137 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/1.85, allocations: 274.8 kB / 0.6499 GB, free: 8.926 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0334/1.883, allocations: 8.396 MB / 0.6581 GB, free: 1.703 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01526/1.898, allocations: 3.234 MB / 0.6612 GB, free: 15.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004938/1.903, allocations: 1.241 MB / 0.6624 GB, free: 14.82 MB / 426.7 MB Notification: Performance of SimCode: time 2.395e-06/1.903, allocations: 0 / 0.6624 GB, free: 14.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.691/5.594, allocations: 128.6 MB / 0.7881 GB, free: 41.23 MB / 426.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