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.631/1.631, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.549e-05, allocations: 8 kB / 225.1 MB, free: 2.684 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.276, allocations: 38.77 MB / 263.9 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.4093, allocations: 74.09 MB / 337.9 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.4096, allocations: 79.94 kB / 338 MB, free: 15.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1228/0.5324, allocations: 29.61 MB / 367.6 MB, free: 1.672 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5325, allocations: 4 kB / 367.6 MB, free: 1.668 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001086/0.5326, allocations: 31.94 kB / 367.7 MB, free: 1.637 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.2677/0.8003, allocations: 1.649 MB / 369.3 MB, free: 78.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.8004, allocations: 9.812 kB / 369.3 MB, free: 78.62 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008724/0.8013, allocations: 193.4 kB / 369.5 MB, free: 78.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.8027, allocations: 228 kB / 369.7 MB, free: 78.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003672/0.8064, allocations: 1.056 MB / 370.8 MB, free: 78.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.8066, allocations: 97.47 kB / 370.9 MB, free: 78.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004896/0.8071, allocations: 120.6 kB / 371 MB, free: 78.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004756/0.8119, allocations: 1.66 MB / 372.7 MB, free: 78.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.806e-05/0.812, allocations: 6.562 kB / 372.7 MB, free: 78.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002102/0.8122, allocations: 51.86 kB / 372.7 MB, free: 78.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.921e-05/0.8123, allocations: 51.69 kB / 372.8 MB, free: 78.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003768/0.8161, allocations: 1.344 MB / 374.1 MB, free: 78.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/0.8282, allocations: 5.224 MB / 379.3 MB, free: 76.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.8297, allocations: 1.047 MB / 380.4 MB, free: 76.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006657/0.8304, allocations: 367.3 kB / 380.8 MB, free: 76.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/0.8305, allocations: 8.812 kB / 380.8 MB, free: 76.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.8305, allocations: 38.36 kB / 380.8 MB, free: 75.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.005e-06/0.8305, allocations: 3.609 kB / 380.8 MB, free: 75.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001944/0.8325, allocations: 0.7617 MB / 381.6 MB, free: 75.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.8325, allocations: 87.92 kB / 381.6 MB, free: 75.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.8343, allocations: 0.9284 MB / 382.6 MB, free: 75.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.8344, allocations: 33.45 kB / 382.6 MB, free: 75.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/0.8349, allocations: 0.6533 MB / 383.3 MB, free: 75.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.8351, allocations: 182.5 kB / 383.4 MB, free: 75.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.8351, allocations: 11.78 kB / 383.5 MB, free: 75.1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.101e-05/0.8352, allocations: 336.9 kB / 383.8 MB, free: 74.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006426/0.8359, allocations: 305.8 kB / 384.1 MB, free: 74.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007063/0.8366, allocations: 458.7 kB / 384.5 MB, free: 74.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007521/0.8373, allocations: 376.5 kB / 384.9 MB, free: 74.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.8374, allocations: 3.406 kB / 384.9 MB, free: 74.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001711/0.8391, allocations: 0.8093 MB / 385.7 MB, free: 74.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.8391, allocations: 6.594 kB / 385.7 MB, free: 74.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.8392, allocations: 6.906 kB / 385.7 MB, free: 74.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/0.8392, allocations: 12.67 kB / 385.7 MB, free: 74.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.8405, allocations: 175.8 kB / 385.9 MB, free: 74.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.25e-05/0.8406, allocations: 12.44 kB / 385.9 MB, free: 74.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000975/0.8415, allocations: 93.28 kB / 386 MB, free: 73.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-05/0.8416, allocations: 23.25 kB / 386 MB, free: 73.96 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.0001772/0.8418, allocations: 132.1 kB / 386.2 MB, free: 73.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.842, allocations: 96.06 kB / 386.3 MB, free: 73.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.8423, allocations: 106.2 kB / 386.4 MB, free: 73.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.8423, allocations: 3.938 kB / 386.4 MB, free: 73.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/0.8424, allocations: 10.05 kB / 386.4 MB, free: 73.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.8424, allocations: 3.516 kB / 386.4 MB, free: 73.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004857/0.8472, allocations: 2.177 MB / 388.6 MB, free: 72.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.8473, allocations: 0 / 388.6 MB, free: 72.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007822/0.8481, allocations: 89.52 kB / 388.6 MB, free: 72.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007041/0.8488, allocations: 154.2 kB / 388.8 MB, free: 72.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.8489, allocations: 21.56 kB / 388.8 MB, free: 72.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004046/0.853, allocations: 2.61 MB / 391.4 MB, free: 70.81 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.8531, allocations: 3.172 kB / 391.4 MB, free: 70.81 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/0.8558, allocations: 1.352 MB / 392.8 MB, free: 70.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006887/0.8565, allocations: 252 kB / 393 MB, free: 69.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.8567, allocations: 19.67 kB / 393 MB, free: 69.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009583/0.8577, allocations: 68.78 kB / 393.1 MB, free: 69.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.8579, allocations: 50.33 kB / 393.2 MB, free: 69.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/0.858, allocations: 14.67 kB / 393.2 MB, free: 69.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001353/0.8593, allocations: 0.7293 MB / 393.9 MB, free: 69.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.8593, allocations: 0 / 393.9 MB, free: 69.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001385/0.8607, allocations: 338.2 kB / 394.2 MB, free: 69.54 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.002862/0.8636, allocations: 2.232 MB / 396.5 MB, free: 68.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.8651, allocations: 0.6371 MB / 397.1 MB, free: 67.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.8651, allocations: 0 / 397.1 MB, free: 67.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.8663, allocations: 0.5014 MB / 397.6 MB, free: 67.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.8678, allocations: 160 kB / 397.8 MB, free: 67.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006788/0.8747, allocations: 2.603 MB / 400.4 MB, free: 65.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.8759, allocations: 1.468 MB / 401.8 MB, free: 64.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009464/0.8769, allocations: 456.4 kB / 402.3 MB, free: 63.62 MB / 314.7 MB Notification: Performance of SimCode: time 2.043e-06/0.8769, allocations: 0 / 402.3 MB, free: 63.62 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.766/3.643, allocations: 25.49 MB / 427.8 MB, free: 41.12 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