Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.756/1.756, allocations: 171.3 MB / 178.8 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.306e-05/2.314e-05, allocations: 4 kB / 219.6 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2514, allocations: 38.76 MB / 258.3 MB, free: 12.16 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.3805, allocations: 73.43 MB / 331.8 MB, free: 4.473 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.3808, allocations: 79.95 kB / 331.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1212/0.502, allocations: 29.26 MB / 361.1 MB, free: 6.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.258e-06/0.502, allocations: 0 / 361.1 MB, free: 6.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001385/0.5022, allocations: 35.94 kB / 361.1 MB, free: 6.805 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.006724/0.5089, allocations: 1.649 MB / 362.8 MB, free: 5.105 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.509, allocations: 12.03 kB / 362.8 MB, free: 5.094 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.5106, allocations: 233.9 kB / 363 MB, free: 4.863 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003351/0.514, allocations: 1.051 MB / 364.1 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.629e-05/0.5141, allocations: 44 kB / 364.1 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004235/0.5145, allocations: 72 kB / 364.2 MB, free: 3.656 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004024/0.5186, allocations: 1.293 MB / 365.5 MB, free: 2.359 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004464/0.5231, allocations: 1.488 MB / 367 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.5232, allocations: 3.938 kB / 367 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/0.5233, allocations: 3.938 kB / 367 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.341e-05/0.5234, allocations: 45.98 kB / 367 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2288/0.7522, allocations: 4.98 MB / 372 MB, free: 80.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.7538, allocations: 1.03 MB / 373 MB, free: 79.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007196/0.7546, allocations: 350.8 kB / 373.4 MB, free: 79.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.648e-05/0.7547, allocations: 4.453 kB / 373.4 MB, free: 79.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.7547, allocations: 46.3 kB / 373.4 MB, free: 79.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.927e-06/0.7547, allocations: 0 / 373.4 MB, free: 79.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.002001/0.7567, allocations: 0.7184 MB / 374.1 MB, free: 79.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.7568, allocations: 85.17 kB / 374.2 MB, free: 79.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.7586, allocations: 0.8644 MB / 375.1 MB, free: 79.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.7588, allocations: 29.58 kB / 375.1 MB, free: 79.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/0.7592, allocations: 0.6548 MB / 375.8 MB, free: 78.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.7594, allocations: 165.6 kB / 375.9 MB, free: 78.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.7594, allocations: 3.469 kB / 375.9 MB, free: 78.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.141e-05/0.7595, allocations: 339.2 kB / 376.3 MB, free: 78.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005643/0.7601, allocations: 293.5 kB / 376.5 MB, free: 78.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006269/0.7607, allocations: 443.6 kB / 377 MB, free: 78.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006647/0.7614, allocations: 366.1 kB / 377.3 MB, free: 78.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.7614, allocations: 3.938 kB / 377.3 MB, free: 78.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001543/0.763, allocations: 0.7615 MB / 378.1 MB, free: 78.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.763, allocations: 7.406 kB / 378.1 MB, free: 78.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.7631, allocations: 3.781 kB / 378.1 MB, free: 78.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.938e-05/0.7631, allocations: 11.34 kB / 378.1 MB, free: 78.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.7645, allocations: 175.4 kB / 378.3 MB, free: 78.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.7645, allocations: 17.92 kB / 378.3 MB, free: 78.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009563/0.7655, allocations: 70.23 kB / 378.4 MB, free: 78.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.122e-05/0.7656, allocations: 28.02 kB / 378.4 MB, free: 78.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.7658, allocations: 118.6 kB / 378.5 MB, free: 78.05 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001766/0.7675, allocations: 0.7284 MB / 379.3 MB, free: 77.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.7678, allocations: 89.66 kB / 379.3 MB, free: 77.9 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.7681, allocations: 94.12 kB / 379.4 MB, free: 77.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.7682, allocations: 9.984 kB / 379.4 MB, free: 77.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.7682, allocations: 3.969 kB / 379.4 MB, free: 77.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.7682, allocations: 3.281 kB / 379.5 MB, free: 77.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00446/0.7727, allocations: 1.974 MB / 381.4 MB, free: 77.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.7727, allocations: 0 / 381.4 MB, free: 77.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007501/0.7735, allocations: 90.06 kB / 381.5 MB, free: 77.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006423/0.7741, allocations: 150.4 kB / 381.7 MB, free: 77.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.94e-05/0.7742, allocations: 10.05 kB / 381.7 MB, free: 77.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003739/0.778, allocations: 2.533 MB / 384.2 MB, free: 76.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.7781, allocations: 3.953 kB / 384.2 MB, free: 76.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.7805, allocations: 1.3 MB / 385.5 MB, free: 75.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007054/0.7813, allocations: 256.2 kB / 385.8 MB, free: 75.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.7816, allocations: 11.84 kB / 385.8 MB, free: 75.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009483/0.7825, allocations: 57.28 kB / 385.8 MB, free: 75.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.7827, allocations: 54.94 kB / 385.9 MB, free: 75.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/0.7828, allocations: 19.3 kB / 385.9 MB, free: 75.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001153/0.784, allocations: 0.6639 MB / 386.6 MB, free: 75.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.784, allocations: 3.531 kB / 386.6 MB, free: 75.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001381/0.7854, allocations: 314.8 kB / 386.9 MB, free: 75.2 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002745/0.7881, allocations: 2.154 MB / 389 MB, free: 73.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.7895, allocations: 0.6226 MB / 389.6 MB, free: 73.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.7896, allocations: 3.625 kB / 389.7 MB, free: 73.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.7908, allocations: 0.4956 MB / 390.1 MB, free: 73.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.7922, allocations: 140.8 kB / 390.3 MB, free: 73.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006626/0.7989, allocations: 2.55 MB / 392.8 MB, free: 72.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/0.8002, allocations: 1.473 MB / 394.3 MB, free: 71.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009367/0.8011, allocations: 450.9 kB / 394.7 MB, free: 71.04 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.8012, allocations: 0 / 394.7 MB, free: 71.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.756/3.557, allocations: 25.24 MB / 420 MB, free: 51.98 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat