Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.977/1.977, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.91e-05/2.935e-05, allocations: 4 kB / 292.8 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 50.41 MB / 343.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4948/0.6014, allocations: 85.98 MB / 429.1 MB, free: 7.996 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003928/0.6019, allocations: 81.02 kB / 429.2 MB, free: 7.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1423/0.7443, allocations: 31.5 MB / 460.7 MB, free: 12.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.7443, allocations: 0 / 460.7 MB, free: 12.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000168/0.7445, allocations: 32 kB / 460.8 MB, free: 12.82 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.007122/0.7516, allocations: 1.697 MB / 462.5 MB, free: 11.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.129e-05/0.7517, allocations: 8.031 kB / 462.5 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001061/0.7528, allocations: 206.6 kB / 462.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00373/0.7566, allocations: 321.8 kB / 463 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005091/0.7617, allocations: 1.078 MB / 464.1 MB, free: 9.414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.762, allocations: 99.02 kB / 464.2 MB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000823/0.7629, allocations: 143.9 kB / 464.3 MB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008654/0.7715, allocations: 1.759 MB / 466.1 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.997e-05/0.7717, allocations: 4 kB / 466.1 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003901/0.7721, allocations: 56 kB / 466.1 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/0.7722, allocations: 45.98 kB / 466.2 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006914/0.7791, allocations: 1.494 MB / 467.6 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02366/0.8028, allocations: 5.587 MB / 473.2 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007024/0.8099, allocations: 2.846 MB / 476.1 MB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/0.8117, allocations: 467.4 kB / 476.5 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005894/0.8177, allocations: 1.533 MB / 478.1 MB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.473e-05/0.8178, allocations: 42.78 kB / 478.1 MB, free: 10.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=52): time 4.528e-06/0.8178, allocations: 0 / 478.1 MB, free: 10.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.003574/0.8214, allocations: 0.7923 MB / 478.9 MB, free: 9.746 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/0.8215, allocations: 85.11 kB / 479 MB, free: 9.645 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003356/0.8249, allocations: 0.9182 MB / 479.9 MB, free: 8.719 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002098/0.8252, allocations: 37.7 kB / 479.9 MB, free: 8.676 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.8262, allocations: 0.6735 MB / 480.6 MB, free: 7.992 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004347/0.8267, allocations: 189.3 kB / 480.8 MB, free: 7.805 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.8268, allocations: 12 kB / 480.8 MB, free: 7.793 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.827, allocations: 330 kB / 481.1 MB, free: 7.465 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.8283, allocations: 329.4 kB / 481.5 MB, free: 7.145 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.8297, allocations: 489.8 kB / 481.9 MB, free: 6.594 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.8312, allocations: 393.5 kB / 482.3 MB, free: 6.211 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.8312, allocations: 8 kB / 482.3 MB, free: 6.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002756/0.834, allocations: 0.9119 MB / 483.2 MB, free: 5.285 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.8341, allocations: 8.5 kB / 483.2 MB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.8341, allocations: 12 kB / 483.3 MB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.475e-05/0.8342, allocations: 11.95 kB / 483.3 MB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.8359, allocations: 183.8 kB / 483.5 MB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.779e-05/0.836, allocations: 19.98 kB / 483.5 MB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.8372, allocations: 91.25 kB / 483.6 MB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.8374, allocations: 31.98 kB / 483.6 MB, free: 4.934 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0002521/0.8377, allocations: 140.7 kB / 483.7 MB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003586/0.8381, allocations: 86.97 kB / 483.8 MB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.8402, allocations: 0.6463 MB / 484.5 MB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.8403, allocations: 8 kB / 484.5 MB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/0.8403, allocations: 0 / 484.5 MB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.8403, allocations: 11.92 kB / 484.5 MB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004695/0.845, allocations: 1.625 MB / 486.1 MB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.8451, allocations: 0 / 486.1 MB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009842/0.8461, allocations: 91.88 kB / 486.2 MB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000808/0.8469, allocations: 152.7 kB / 486.3 MB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/0.8471, allocations: 19.98 kB / 486.4 MB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005044/0.8521, allocations: 2.599 MB / 489 MB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.8522, allocations: 4.031 kB / 489 MB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003579/0.8558, allocations: 1.413 MB / 490.4 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005294/0.8564, allocations: 192 kB / 490.6 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002831/0.8567, allocations: 19.98 kB / 490.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.8579, allocations: 63.94 kB / 490.6 MB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/0.8582, allocations: 63.8 kB / 490.7 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.856e-05/0.8583, allocations: 16 kB / 490.7 MB, free: 13.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001825/0.8601, allocations: 0.7138 MB / 491.4 MB, free: 12.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.082e-06/0.8602, allocations: 7.938 kB / 491.4 MB, free: 12.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001827/0.862, allocations: 362.4 kB / 491.8 MB, free: 12.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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.004416/0.8665, allocations: 2.297 MB / 494.1 MB, free: 10.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.8685, allocations: 0.6861 MB / 494.8 MB, free: 9.395 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.8685, allocations: 1.125 kB / 494.8 MB, free: 9.395 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.8703, allocations: 0.5392 MB / 495.3 MB, free: 8.844 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.872, allocations: 167.1 kB / 495.5 MB, free: 8.684 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008795/0.8808, allocations: 2.703 MB / 498.2 MB, free: 5.918 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002196/0.8831, allocations: 1.526 MB / 499.7 MB, free: 4.359 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001344/0.8845, allocations: 234.7 kB / 499.9 MB, free: 4.125 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/0.8858, allocations: 475.3 kB / 0.4887 GB, free: 3.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/0.8858, allocations: 0 / 0.4887 GB, free: 3.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07275/0.9586, allocations: 21.1 MB / 0.5093 GB, free: 14.77 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002819/0.9589, allocations: 204 kB / 0.5095 GB, free: 14.54 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.995/3.954, allocations: 0 / 0.5095 GB, free: 14.54 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat does not exist to compare? outputFormat=mat