Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.766/1.766, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.905e-05/2.923e-05, allocations: 1.25 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09101/0.09106, allocations: 44.51 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3927/0.4838, allocations: 80.36 MB / 380.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.4842, allocations: 78.91 kB / 380.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1061/0.5903, allocations: 30.69 MB / 411.1 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5904, allocations: 0 / 411.1 MB, free: 5.227 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.048e-05/0.5905, allocations: 39.16 kB / 411.1 MB, free: 5.219 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004967/0.5955, allocations: 1.693 MB / 412.8 MB, free: 4.188 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.5955, allocations: 11.69 kB / 412.8 MB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003627/0.5959, allocations: 200.8 kB / 413 MB, free: 4.113 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/0.5979, allocations: 320.3 kB / 413.4 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/0.6005, allocations: 1.086 MB / 414.4 MB, free: 3.477 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-05/0.6006, allocations: 104.9 kB / 414.5 MB, free: 3.469 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/0.6009, allocations: 133.2 kB / 414.7 MB, free: 3.465 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003782/0.6047, allocations: 1.771 MB / 416.4 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/0.6048, allocations: 0 / 416.4 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/0.605, allocations: 54.97 kB / 416.5 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.459e-05/0.6051, allocations: 48.61 kB / 416.5 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003337/0.6084, allocations: 1.494 MB / 418 MB, free: 2.855 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.6207, allocations: 5.586 MB / 423.6 MB, free: 200 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004618/0.6253, allocations: 2.84 MB / 426.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009696/0.6263, allocations: 468.1 kB / 426.9 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003555/0.6299, allocations: 1.526 MB / 428.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.63, allocations: 48.14 kB / 428.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 3.416e-06/0.63, allocations: 0 / 428.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.002016/0.632, allocations: 0.7951 MB / 429.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.6321, allocations: 88.86 kB / 429.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.6339, allocations: 0.9128 MB / 430.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.477e-05/0.634, allocations: 37.36 kB / 430.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006589/0.6346, allocations: 0.6779 MB / 431 MB, free: 11.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.6349, allocations: 191.3 kB / 431.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.6349, allocations: 15.91 kB / 431.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.6351, allocations: 333.7 kB / 431.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007317/0.6358, allocations: 321.7 kB / 431.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008525/0.6367, allocations: 491.8 kB / 432.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008571/0.6376, allocations: 392.7 kB / 432.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.6376, allocations: 0 / 432.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00209/0.6397, allocations: 0.9286 MB / 433.6 MB, free: 9.738 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.6397, allocations: 3.875 kB / 433.6 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.6398, allocations: 7.75 kB / 433.7 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/0.6398, allocations: 8.312 kB / 433.7 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.6412, allocations: 190.1 kB / 433.8 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.6412, allocations: 11.56 kB / 433.9 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009096/0.6422, allocations: 86.33 kB / 433.9 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-05/0.6422, allocations: 31.38 kB / 434 MB, free: 9.625 MB / 330.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.0002186/0.6425, allocations: 144.5 kB / 434.1 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.6427, allocations: 89.28 kB / 434.2 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.6444, allocations: 0.6481 MB / 434.9 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.6445, allocations: 11.61 kB / 434.9 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.6445, allocations: 3.938 kB / 434.9 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.6445, allocations: 7.766 kB / 434.9 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003478/0.648, allocations: 1.618 MB / 436.5 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.648, allocations: 0 / 436.5 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008406/0.6489, allocations: 91.84 kB / 436.6 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006558/0.6495, allocations: 153.9 kB / 436.7 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.227e-05/0.6496, allocations: 18.36 kB / 436.7 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004313/0.6539, allocations: 2.6 MB / 439.3 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.654, allocations: 7.891 kB / 439.4 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/0.657, allocations: 1.413 MB / 440.8 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/0.6573, allocations: 183.4 kB / 440.9 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.6575, allocations: 17.89 kB / 441 MB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.6586, allocations: 66.5 kB / 441 MB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.6588, allocations: 63.73 kB / 441.1 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.719e-05/0.6589, allocations: 23.98 kB / 441.1 MB, free: 4.512 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001583/0.6605, allocations: 0.7099 MB / 441.8 MB, free: 3.805 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6605, allocations: 0 / 441.8 MB, free: 3.805 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001466/0.6619, allocations: 366.4 kB / 442.2 MB, free: 3.445 MB / 330.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.003693/0.6656, allocations: 2.287 MB / 444.5 MB, free: 1.105 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001792/0.6675, allocations: 0.6938 MB / 445.2 MB, free: 424 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.6675, allocations: 0 / 445.2 MB, free: 424 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.669, allocations: 0.5397 MB / 445.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.6704, allocations: 163.2 kB / 445.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007012/0.6774, allocations: 2.696 MB / 448.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001674/0.6791, allocations: 1.522 MB / 450.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001116/0.6802, allocations: 230.7 kB / 450.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009405/0.6812, allocations: 479.3 kB / 450.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6812, allocations: 0 / 450.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0894/0.7706, allocations: 21 MB / 471.8 MB, free: 5.734 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/0.7709, allocations: 200.2 kB / 472 MB, free: 5.508 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3/3.771, allocations: 0 / 472 MB, free: 5.508 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat