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.692/1.692, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.262e-05, allocations: 0 / 225.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3613, allocations: 38.76 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.5349, allocations: 70.39 MB / 334.2 MB, free: 3.34 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/0.5353, allocations: 71.97 kB / 334.3 MB, free: 3.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04236/0.5777, allocations: 6.682 MB / 341 MB, free: 12.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5777, allocations: 4 kB / 341 MB, free: 12.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.581e-05/0.5778, allocations: 4 kB / 341 MB, free: 12.54 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.001631/0.5794, allocations: 0.5372 MB / 341.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.478e-05/0.5795, allocations: 8.031 kB / 341.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001482/0.5797, allocations: 62.53 kB / 341.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.5798, allocations: 39.53 kB / 341.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005949/0.5804, allocations: 250.9 kB / 341.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.684e-05/0.5805, allocations: 20.52 kB / 341.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.01e-05/0.5806, allocations: 28 kB / 341.9 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008845/0.5815, allocations: 220.9 kB / 342.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5816, allocations: 0 / 342.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/0.5817, allocations: 12 kB / 342.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.5817, allocations: 8 kB / 342.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007854/0.5825, allocations: 178.2 kB / 342.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003551/0.5861, allocations: 1.005 MB / 343.3 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006934/0.5868, allocations: 183 kB / 343.5 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004155/0.5873, allocations: 101.2 kB / 343.6 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.5875, allocations: 85.3 kB / 343.7 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.5876, allocations: 34.75 kB / 343.7 MB, free: 9.566 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 4.078e-06/0.5876, allocations: 0 / 343.7 MB, free: 9.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.01374/0.6013, allocations: 1.261 MB / 345 MB, free: 8.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.6014, allocations: 55.41 kB / 345.1 MB, free: 8.184 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/0.6019, allocations: 212.9 kB / 345.3 MB, free: 7.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.611e-05/0.602, allocations: 33.7 kB / 345.3 MB, free: 7.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.6023, allocations: 180.2 kB / 345.5 MB, free: 7.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.6025, allocations: 106.5 kB / 345.6 MB, free: 7.645 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.6025, allocations: 4 kB / 345.6 MB, free: 7.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.6027, allocations: 338.8 kB / 345.9 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006119/0.6034, allocations: 92 kB / 346 MB, free: 7.211 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/0.6039, allocations: 160.7 kB / 346.2 MB, free: 7.035 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.6044, allocations: 108 kB / 346.3 MB, free: 6.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.6044, allocations: 0 / 346.3 MB, free: 6.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00527/0.6097, allocations: 0.5179 MB / 346.8 MB, free: 6.398 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/0.6098, allocations: 8 kB / 346.8 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.6098, allocations: 0 / 346.8 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003002/0.6129, allocations: 217.5 kB / 347 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006629/0.6136, allocations: 55.91 kB / 347.1 MB, free: 6.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008393/0.622, allocations: 2.688 MB / 349.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006573/0.6227, allocations: 16 kB / 349.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.6228, allocations: 11.98 kB / 349.8 MB, free: 3.238 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.0002198/0.623, allocations: 125.5 kB / 349.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.6232, allocations: 23.72 kB / 349.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005109/0.6283, allocations: 498.1 kB / 350.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.6284, allocations: 7.938 kB / 350.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.6284, allocations: 0 / 350.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.6284, allocations: 4 kB / 350.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006545/0.635, allocations: 0.961 MB / 351.4 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.6351, allocations: 0 / 351.4 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005922/0.6357, allocations: 43.91 kB / 351.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002989/0.6387, allocations: 205.6 kB / 351.6 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.31e-05/0.6388, allocations: 11.98 kB / 351.6 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008371/0.6472, allocations: 2.7 MB / 354.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6472, allocations: 0 / 354.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005851/0.6531, allocations: 0.7066 MB / 355 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.6535, allocations: 132.7 kB / 355.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.652e-05/0.6536, allocations: 8.062 kB / 355.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.6542, allocations: 12 kB / 355.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.6544, allocations: 23.95 kB / 355.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-05/0.6545, allocations: 19.98 kB / 355.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003261/0.6548, allocations: 165.3 kB / 355.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.6549, allocations: 0 / 355.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001182/0.656, allocations: 92 kB / 355.5 MB, free: 13.23 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.00635/0.6624, allocations: 1.358 MB / 356.8 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002041/0.6645, allocations: 414.3 kB / 357.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.6646, allocations: 0 / 357.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009869/0.6656, allocations: 290.7 kB / 357.5 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005359/0.6661, allocations: 24.36 kB / 357.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.6686, allocations: 0.4952 MB / 358 MB, free: 10.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/0.6692, allocations: 0.7794 MB / 358.8 MB, free: 9.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.6694, allocations: 22.06 kB / 358.8 MB, free: 9.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.6697, allocations: 95.39 kB / 358.9 MB, free: 9.637 MB / 314.7 MB Notification: Performance of SimCode: time 1.373e-06/0.6697, allocations: 0 / 358.9 MB, free: 9.637 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05036/0.72, allocations: 7.464 MB / 366.4 MB, free: 2.242 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003162/0.7204, allocations: 194.7 kB / 366.6 MB, free: 2.012 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.736/3.456, allocations: 0 / 366.6 MB, free: 2.012 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