Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.711/1.711, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.984e-05/5.038e-05, allocations: 4 kB / 225.1 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2849, allocations: 38.76 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.4157, allocations: 70.38 MB / 334.2 MB, free: 3.387 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.416, allocations: 75.95 kB / 334.3 MB, free: 3.312 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03062/0.4466, allocations: 6.673 MB / 340.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4467, allocations: 3.938 kB / 340.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.4467, allocations: 4 kB / 341 MB, free: 12.6 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.001248/0.448, allocations: 0.5294 MB / 341.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.448, allocations: 12.03 kB / 341.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.4481, allocations: 62.53 kB / 341.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.889e-05/0.4483, allocations: 43.53 kB / 341.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.4487, allocations: 250.9 kB / 341.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.4488, allocations: 24.52 kB / 341.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/0.4488, allocations: 24 kB / 341.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000617/0.4495, allocations: 224.9 kB / 342.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.4495, allocations: 3.984 kB / 342.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.4496, allocations: 12 kB / 342.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.4496, allocations: 8 kB / 342.1 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005221/0.4501, allocations: 170.2 kB / 342.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.4526, allocations: 1.013 MB / 343.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/0.4532, allocations: 181.6 kB / 343.5 MB, free: 9.863 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.4535, allocations: 93.17 kB / 343.6 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.4537, allocations: 93.28 kB / 343.7 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.4537, allocations: 30.75 kB / 343.7 MB, free: 9.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 8.756e-06/0.4538, allocations: 0 / 343.7 MB, free: 9.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.01164/0.4654, allocations: 1.261 MB / 345 MB, free: 8.305 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/0.4656, allocations: 59.34 kB / 345 MB, free: 8.234 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005472/0.4662, allocations: 208.9 kB / 345.2 MB, free: 8.023 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-05/0.4663, allocations: 33.64 kB / 345.3 MB, free: 7.984 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.4665, allocations: 238.6 kB / 345.5 MB, free: 7.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.4667, allocations: 102.5 kB / 345.6 MB, free: 7.648 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.4668, allocations: 12 kB / 345.6 MB, free: 7.637 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.467, allocations: 318.8 kB / 345.9 MB, free: 7.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004515/0.4675, allocations: 99.98 kB / 346 MB, free: 7.219 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000529/0.468, allocations: 160.7 kB / 346.2 MB, free: 7.043 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005222/0.4685, allocations: 112.1 kB / 346.3 MB, free: 6.934 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4686, allocations: 0 / 346.3 MB, free: 6.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.005589/0.4742, allocations: 0.5141 MB / 346.8 MB, free: 6.406 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.4743, allocations: 4 kB / 346.8 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.4743, allocations: 4 kB / 346.8 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/0.4765, allocations: 205.5 kB / 347 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.477, allocations: 55.91 kB / 347.1 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006005/0.483, allocations: 2.695 MB / 349.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.4835, allocations: 12.09 kB / 349.8 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.4836, allocations: 19.98 kB / 349.8 MB, free: 3.246 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.0001704/0.4838, allocations: 124.9 kB / 349.9 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.4839, allocations: 27.66 kB / 349.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/0.4876, allocations: 0.4903 MB / 350.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4876, allocations: 192 / 350.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.4876, allocations: 7.984 kB / 350.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4876, allocations: 3.938 kB / 350.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004457/0.4921, allocations: 0.9533 MB / 351.4 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.4921, allocations: 0 / 351.4 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.4925, allocations: 39.95 kB / 351.4 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00213/0.4947, allocations: 213.5 kB / 351.6 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.4947, allocations: 7.984 kB / 351.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005961/0.5007, allocations: 2.691 MB / 354.3 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5007, allocations: 0 / 354.3 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004113/0.5049, allocations: 0.7106 MB / 355 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.5051, allocations: 120.8 kB / 355.2 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.464e-05/0.5052, allocations: 11.98 kB / 355.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/0.5056, allocations: 12.06 kB / 355.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.5058, allocations: 27.95 kB / 355.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.5058, allocations: 15.97 kB / 355.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002424/0.5061, allocations: 169.3 kB / 355.4 MB, free: 13.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5061, allocations: 0 / 355.4 MB, free: 13.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007102/0.5068, allocations: 92 kB / 355.5 MB, free: 13.24 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.004628/0.5115, allocations: 1.351 MB / 356.8 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.5127, allocations: 418.3 kB / 357.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5127, allocations: 192 / 357.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006928/0.5134, allocations: 286.4 kB / 357.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.5138, allocations: 28.69 kB / 357.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.5155, allocations: 0.5359 MB / 358.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.516, allocations: 0.7794 MB / 358.9 MB, free: 9.719 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.5162, allocations: 87.39 kB / 359 MB, free: 9.633 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5162, allocations: 0 / 359 MB, free: 9.633 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.749/3.265, allocations: 6.972 MB / 365.9 MB, free: 2.652 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat does not exist to compare? outputFormat=mat