Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.018/2.018, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.932e-05, allocations: 4 kB / 292.8 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1028, allocations: 50.4 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4338/0.5366, allocations: 82.64 MB / 425.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.537, allocations: 76.7 kB / 425.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04178/0.5788, allocations: 10.08 MB / 436 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5788, allocations: 4 kB / 436 MB, free: 2.891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.24e-05/0.5789, allocations: 4 kB / 436 MB, free: 2.887 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001709/0.5806, allocations: 0.6418 MB / 436.6 MB, free: 2.234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.5807, allocations: 8.031 kB / 436.6 MB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.5808, allocations: 72.22 kB / 436.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007225/0.5815, allocations: 79.42 kB / 436.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006248/0.5822, allocations: 302.3 kB / 437.1 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.5822, allocations: 31.66 kB / 437.1 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.112e-05/0.5823, allocations: 33.25 kB / 437.1 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008959/0.5832, allocations: 331.6 kB / 437.4 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.5833, allocations: 0 / 437.4 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.5833, allocations: 13.62 kB / 437.5 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.5834, allocations: 11.98 kB / 437.5 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006643/0.584, allocations: 217 kB / 437.7 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003285/0.5874, allocations: 1.374 MB / 439.1 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.5878, allocations: 161.2 kB / 439.2 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.5881, allocations: 78.7 kB / 439.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.5892, allocations: 0.8735 MB / 440.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.5893, allocations: 30.56 kB / 440.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.394e-06/0.5893, allocations: 4 kB / 440.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004113/0.5897, allocations: 139 kB / 440.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.5898, allocations: 81.11 kB / 440.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.5902, allocations: 252.2 kB / 440.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.5902, allocations: 29.64 kB / 440.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.5904, allocations: 245.8 kB / 440.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/0.5905, allocations: 46.34 kB / 441 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/0.5905, allocations: 7.938 kB / 441 MB, free: 14.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5907, allocations: 341.1 kB / 441.3 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.5909, allocations: 52.5 kB / 441.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.5911, allocations: 174.1 kB / 441.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.5913, allocations: 76.97 kB / 441.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.5914, allocations: 0 / 441.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000623/0.592, allocations: 261 kB / 441.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.592, allocations: 8.656 kB / 441.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.5921, allocations: 7.938 kB / 441.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.5921, allocations: 12 kB / 441.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/0.5926, allocations: 67.91 kB / 442 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/0.5927, allocations: 20.06 kB / 442 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.593, allocations: 34.25 kB / 442 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.5931, allocations: 15.95 kB / 442 MB, free: 13.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.5932, allocations: 126 kB / 442.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.002e-05/0.5933, allocations: 27.72 kB / 442.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.151e-05/0.5934, allocations: 23.48 kB / 442.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.5934, allocations: 4 kB / 442.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.5934, allocations: 0 / 442.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.5934, allocations: 3.984 kB / 442.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009425/0.5944, allocations: 0.4949 MB / 442.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.5944, allocations: 0 / 442.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.5948, allocations: 43.45 kB / 442.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.5949, allocations: 0 / 442.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.5949, allocations: 4 kB / 442.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.5949, allocations: 0 / 442.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.5949, allocations: 3.938 kB / 442.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.5955, allocations: 391.4 kB / 443.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.5956, allocations: 96.86 kB / 443.2 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.5957, allocations: 11.12 kB / 443.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.5961, allocations: 12 kB / 443.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.5961, allocations: 11.73 kB / 443.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.5962, allocations: 12 kB / 443.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002918/0.5965, allocations: 195.8 kB / 443.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5965, allocations: 0 / 443.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006483/0.5971, allocations: 84.5 kB / 443.5 MB, free: 11.83 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001014/0.5982, allocations: 1.089 MB / 444.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000445/0.5986, allocations: 140.2 kB / 444.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5987, allocations: 0 / 444.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.5988, allocations: 48.55 kB / 444.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.5992, allocations: 28.2 kB / 444.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.601, allocations: 0.5142 MB / 445.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.6014, allocations: 0.7794 MB / 446.1 MB, free: 9.281 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002328/0.6016, allocations: 34.05 kB / 446.2 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.6018, allocations: 105.1 kB / 446.3 MB, free: 9.211 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6018, allocations: 0 / 446.3 MB, free: 9.211 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03625/0.6381, allocations: 4.997 MB / 451.3 MB, free: 4.316 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003397/0.6385, allocations: 187.1 kB / 451.5 MB, free: 4.086 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.632/3.271, allocations: 3.938 kB / 451.5 MB, free: 4.082 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat