Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_1_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.663/1.663, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.676e-05/2.691e-05, allocations: 0 / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2529, allocations: 38.76 MB / 263.9 MB, free: 9.723 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1314/0.3844, allocations: 74.1 MB / 338 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.3847, allocations: 75.95 kB / 338 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1198/0.5046, allocations: 29.62 MB / 367.7 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5046, allocations: 4 kB / 367.7 MB, free: 1.523 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001138/0.5048, allocations: 31.94 kB / 367.7 MB, free: 1.492 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.2213/0.7261, allocations: 1.647 MB / 369.3 MB, free: 78.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.7262, allocations: 9.125 kB / 369.3 MB, free: 78.35 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008319/0.727, allocations: 194 kB / 369.5 MB, free: 78.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.7284, allocations: 227.6 kB / 369.8 MB, free: 78.22 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003663/0.7321, allocations: 1.06 MB / 370.8 MB, free: 77.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.7323, allocations: 92.3 kB / 370.9 MB, free: 77.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004503/0.7327, allocations: 123.5 kB / 371 MB, free: 77.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004219/0.737, allocations: 1.66 MB / 372.7 MB, free: 77.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.003e-05/0.7371, allocations: 0 / 372.7 MB, free: 77.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/0.7373, allocations: 53.94 kB / 372.7 MB, free: 77.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.356e-05/0.7373, allocations: 50.39 kB / 372.8 MB, free: 77.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003478/0.7408, allocations: 1.356 MB / 374.1 MB, free: 77.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01232/0.7532, allocations: 5.227 MB / 379.4 MB, free: 76.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.7547, allocations: 1.043 MB / 380.4 MB, free: 75.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006792/0.7554, allocations: 365.4 kB / 380.8 MB, free: 75.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.7555, allocations: 5.266 kB / 380.8 MB, free: 75.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.7556, allocations: 40.52 kB / 380.8 MB, free: 75.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.026e-06/0.7556, allocations: 8.266 kB / 380.8 MB, free: 75.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001943/0.7575, allocations: 0.7621 MB / 381.6 MB, free: 75.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.7576, allocations: 87.8 kB / 381.7 MB, free: 75.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.7594, allocations: 0.9229 MB / 382.6 MB, free: 75.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.7595, allocations: 38.48 kB / 382.6 MB, free: 75.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/0.76, allocations: 0.6569 MB / 383.3 MB, free: 75.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.7601, allocations: 176.7 kB / 383.5 MB, free: 74.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.7602, allocations: 11.53 kB / 383.5 MB, free: 74.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.51e-05/0.7603, allocations: 333.1 kB / 383.8 MB, free: 74.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006245/0.7609, allocations: 311.1 kB / 384.1 MB, free: 74.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006896/0.7616, allocations: 458.1 kB / 384.6 MB, free: 74.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007636/0.7624, allocations: 375.2 kB / 384.9 MB, free: 74.06 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.7624, allocations: 3.969 kB / 384.9 MB, free: 74.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001898/0.7643, allocations: 0.8696 MB / 385.8 MB, free: 73.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.7644, allocations: 7.344 kB / 385.8 MB, free: 73.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.7644, allocations: 6.219 kB / 385.8 MB, free: 73.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/0.7645, allocations: 12.02 kB / 385.8 MB, free: 73.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.7658, allocations: 176.5 kB / 386 MB, free: 73.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/0.7659, allocations: 14.25 kB / 386 MB, free: 73.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009788/0.7668, allocations: 77.7 kB / 386.1 MB, free: 73.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.82e-05/0.7669, allocations: 30.44 kB / 386.1 MB, free: 73.71 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.0001865/0.7671, allocations: 137.5 kB / 386.2 MB, free: 73.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.7673, allocations: 95.16 kB / 386.3 MB, free: 73.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.7676, allocations: 106.8 kB / 386.4 MB, free: 73.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.7677, allocations: 3.781 kB / 386.4 MB, free: 73.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/0.7677, allocations: 7.641 kB / 386.5 MB, free: 73.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.7677, allocations: 7.328 kB / 386.5 MB, free: 73.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004784/0.7725, allocations: 2.175 MB / 388.6 MB, free: 72.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.475e-06/0.7725, allocations: 7.609 kB / 388.6 MB, free: 72.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000757/0.7733, allocations: 81.34 kB / 388.7 MB, free: 72.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006808/0.774, allocations: 154 kB / 388.9 MB, free: 72.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-05/0.7741, allocations: 22.69 kB / 388.9 MB, free: 72.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003822/0.7779, allocations: 2.609 MB / 391.5 MB, free: 70.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.778, allocations: 5.859 kB / 391.5 MB, free: 70.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.7805, allocations: 1.352 MB / 392.9 MB, free: 69.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005821/0.7812, allocations: 254.3 kB / 393.1 MB, free: 69.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.7813, allocations: 18.52 kB / 393.1 MB, free: 69.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.7824, allocations: 62.7 kB / 393.2 MB, free: 69.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/0.7826, allocations: 52.69 kB / 393.2 MB, free: 69.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.7827, allocations: 14.72 kB / 393.3 MB, free: 69.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001371/0.7841, allocations: 0.7285 MB / 394 MB, free: 69.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.7841, allocations: 0 / 394 MB, free: 69.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001467/0.7856, allocations: 341.3 kB / 394.3 MB, free: 69.29 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.003048/0.7886, allocations: 2.221 MB / 396.5 MB, free: 67.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.7902, allocations: 0.6391 MB / 397.2 MB, free: 67.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.7902, allocations: 0 / 397.2 MB, free: 67.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.7915, allocations: 0.5059 MB / 397.7 MB, free: 67.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.793, allocations: 168.8 kB / 397.8 MB, free: 67.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006158/0.7992, allocations: 2.631 MB / 400.5 MB, free: 64.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/0.8003, allocations: 1.5 MB / 402 MB, free: 63.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008979/0.8012, allocations: 204.2 kB / 402.2 MB, free: 63.4 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008134/0.8021, allocations: 450.8 kB / 402.6 MB, free: 63 MB / 314.7 MB Notification: Performance of SimCode: time 1.242e-06/0.8021, allocations: 0 / 402.6 MB, free: 63 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0601/0.8622, allocations: 20.68 MB / 423.3 MB, free: 45.27 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/0.8625, allocations: 195.9 kB / 423.5 MB, free: 45.05 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.989/3.852, allocations: 4.062 kB / 423.5 MB, free: 45.05 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat