Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,fileNamePrefix="Modelica_3_2_1_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.784/1.784, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.798e-05/3.813e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2702, allocations: 38.77 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.3974, allocations: 70.39 MB / 334.3 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.3977, allocations: 71.97 kB / 334.3 MB, free: 3.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03102/0.4287, allocations: 6.682 MB / 341 MB, free: 12.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4288, allocations: 0 / 341 MB, free: 12.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.4288, allocations: 4 kB / 341 MB, free: 12.43 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001301/0.4302, allocations: 0.5333 MB / 341.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.4302, allocations: 8.031 kB / 341.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.4304, allocations: 62.53 kB / 341.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.4305, allocations: 35.53 kB / 341.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.431, allocations: 262.9 kB / 341.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.431, allocations: 20.52 kB / 341.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/0.4311, allocations: 24 kB / 342 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006232/0.4317, allocations: 219.8 kB / 342.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.4318, allocations: 4 kB / 342.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/0.4318, allocations: 12 kB / 342.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.4318, allocations: 8 kB / 342.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005292/0.4324, allocations: 173.1 kB / 342.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002632/0.435, allocations: 1.005 MB / 343.4 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005078/0.4356, allocations: 174.9 kB / 343.5 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.4359, allocations: 105.1 kB / 343.6 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.4361, allocations: 89.23 kB / 343.7 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.4361, allocations: 30.75 kB / 343.8 MB, free: 9.457 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.966e-06/0.4361, allocations: 0 / 343.8 MB, free: 9.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.009948/0.4461, allocations: 1.258 MB / 345 MB, free: 8.145 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.4462, allocations: 55.41 kB / 345.1 MB, free: 8.078 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.4466, allocations: 212.9 kB / 345.3 MB, free: 7.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.685e-05/0.4467, allocations: 29.7 kB / 345.3 MB, free: 7.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.4468, allocations: 180.2 kB / 345.5 MB, free: 7.648 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.447, allocations: 102.5 kB / 345.6 MB, free: 7.547 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.447, allocations: 8 kB / 345.6 MB, free: 7.539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4472, allocations: 338.8 kB / 345.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.4475, allocations: 95.98 kB / 346 MB, free: 7.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.4479, allocations: 160.7 kB / 346.2 MB, free: 6.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.4483, allocations: 104 kB / 346.3 MB, free: 6.828 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4483, allocations: 0 / 346.3 MB, free: 6.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.003808/0.4521, allocations: 0.5216 MB / 346.8 MB, free: 6.293 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.4522, allocations: 12.16 kB / 346.8 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.4522, allocations: 0 / 346.8 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002281/0.4545, allocations: 213.5 kB / 347 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.455, allocations: 47.97 kB / 347.1 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006091/0.4611, allocations: 2.692 MB / 349.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.4617, allocations: 16.03 kB / 349.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.4617, allocations: 19.92 kB / 349.8 MB, free: 3.129 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.4619, allocations: 124.9 kB / 349.9 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/0.462, allocations: 23.78 kB / 349.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/0.4658, allocations: 0.4981 MB / 350.4 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.4659, allocations: 7.938 kB / 350.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.4659, allocations: 4 kB / 350.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.4659, allocations: 0 / 350.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004659/0.4706, allocations: 0.9535 MB / 351.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.4706, allocations: 0 / 351.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.471, allocations: 35.97 kB / 351.4 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002125/0.4732, allocations: 209.5 kB / 351.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.4732, allocations: 7.984 kB / 351.6 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006099/0.4793, allocations: 2.691 MB / 354.3 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4794, allocations: 0 / 354.3 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004266/0.4837, allocations: 0.7184 MB / 355.1 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.484, allocations: 120.8 kB / 355.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.406e-05/0.484, allocations: 8 kB / 355.2 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004312/0.4845, allocations: 8 kB / 355.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.4846, allocations: 27.95 kB / 355.2 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/0.4847, allocations: 15.98 kB / 355.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002568/0.4849, allocations: 169.3 kB / 355.4 MB, free: 13.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.485, allocations: 0 / 355.4 MB, free: 13.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000738/0.4857, allocations: 100.2 kB / 355.5 MB, free: 13.12 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005403/0.4911, allocations: 1.35 MB / 356.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002005/0.4932, allocations: 405.4 kB / 357.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.4933, allocations: 0 / 357.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001369/0.4947, allocations: 285.9 kB / 357.5 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006072/0.4953, allocations: 17.92 kB / 357.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.4985, allocations: 0.5032 MB / 358 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006399/0.4992, allocations: 0.7833 MB / 358.8 MB, free: 9.668 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002318/0.4994, allocations: 14.08 kB / 358.8 MB, free: 9.656 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.4997, allocations: 87.41 kB / 358.9 MB, free: 9.57 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4997, allocations: 0 / 358.9 MB, free: 9.57 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0468/0.5465, allocations: 7.436 MB / 366.4 MB, free: 2.199 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003145/0.5469, allocations: 192.9 kB / 366.5 MB, free: 1.973 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.867/3.414, allocations: 0 / 366.5 MB, free: 1.973 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat does not exist to compare? outputFormat=mat