Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.889/1.889, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.364e-05, allocations: 0 / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09167/0.09175, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.415/0.5068, allocations: 81.88 MB / 381.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.5071, allocations: 82.53 kB / 381.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04286/0.55, allocations: 9.198 MB / 391.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5501, allocations: 0 / 391.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.5501, allocations: 3.906 kB / 391.1 MB, free: 11.43 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001451/0.5516, allocations: 0.5932 MB / 391.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5516, allocations: 7.625 kB / 391.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.841e-05/0.5517, allocations: 64.31 kB / 391.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.5518, allocations: 41.38 kB / 391.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005201/0.5524, allocations: 324.2 kB / 392.1 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.967e-05/0.5524, allocations: 48.92 kB / 392.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/0.5527, allocations: 37.39 kB / 392.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/0.5534, allocations: 305.8 kB / 392.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.5534, allocations: 0 / 392.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.5535, allocations: 11.06 kB / 392.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.5535, allocations: 15.7 kB / 392.6 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006463/0.5541, allocations: 254.7 kB / 392.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.5564, allocations: 1.175 MB / 394 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000594/0.557, allocations: 260.1 kB / 394.2 MB, free: 9.934 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.5574, allocations: 149.3 kB / 394.4 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/0.5575, allocations: 7.844 kB / 394.4 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.5575, allocations: 37.56 kB / 394.4 MB, free: 9.875 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 2.845e-06/0.5575, allocations: 0 / 394.4 MB, free: 9.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.01427/0.5718, allocations: 2.143 MB / 396.6 MB, free: 9.441 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.5719, allocations: 92.83 kB / 396.7 MB, free: 9.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.5723, allocations: 257.7 kB / 396.9 MB, free: 9.238 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.021e-05/0.5724, allocations: 33.42 kB / 396.9 MB, free: 9.207 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.958e-05/0.5725, allocations: 164.4 kB / 397.1 MB, free: 9.094 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.5727, allocations: 145.6 kB / 397.2 MB, free: 9.004 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.5727, allocations: 7.812 kB / 397.3 MB, free: 9.004 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.199e-05/0.5728, allocations: 344.1 kB / 397.6 MB, free: 8.691 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/0.5732, allocations: 138.7 kB / 397.7 MB, free: 8.691 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/0.5737, allocations: 198.4 kB / 397.9 MB, free: 8.637 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.5741, allocations: 156.7 kB / 398.1 MB, free: 8.637 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5741, allocations: 0 / 398.1 MB, free: 8.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.01127/0.5854, allocations: 1.473 MB / 399.5 MB, free: 8.484 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.5855, allocations: 7.938 kB / 399.6 MB, free: 8.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.5855, allocations: 3.844 kB / 399.6 MB, free: 8.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/0.5962, allocations: 1.039 MB / 400.6 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.5967, allocations: 65.44 kB / 400.7 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/0.6135, allocations: 4.337 MB / 405 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007934/0.6144, allocations: 37.95 kB / 405 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.6145, allocations: 27.3 kB / 405.1 MB, free: 6.926 MB / 314.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: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001496/0.6146, allocations: 120.1 kB / 405.2 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.6147, allocations: 31.09 kB / 405.2 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.6171, allocations: 0.616 MB / 405.8 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.6171, allocations: 3.906 kB / 405.8 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6171, allocations: 0 / 405.8 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.6172, allocations: 3.797 kB / 405.8 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004347/0.6215, allocations: 1.224 MB / 407.1 MB, free: 6.379 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.6216, allocations: 0 / 407.1 MB, free: 6.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008505/0.6224, allocations: 98.91 kB / 407.1 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002427/0.6249, allocations: 264.4 kB / 407.4 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-05/0.625, allocations: 14.31 kB / 407.4 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004915/0.6299, allocations: 2.119 MB / 409.5 MB, free: 20.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.63, allocations: 8.094 kB / 409.5 MB, free: 20.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003555/0.6335, allocations: 0.9376 MB / 410.5 MB, free: 20.47 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.6339, allocations: 145.3 kB / 410.6 MB, free: 20.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.992e-05/0.634, allocations: 11.34 kB / 410.6 MB, free: 20.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007568/0.6347, allocations: 34.36 kB / 410.7 MB, free: 20.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.6349, allocations: 35.16 kB / 410.7 MB, free: 20.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.635, allocations: 19.08 kB / 410.7 MB, free: 20.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003001/0.6353, allocations: 205.2 kB / 410.9 MB, free: 20.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6353, allocations: 0 / 410.9 MB, free: 20.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001422/0.6367, allocations: 146.2 kB / 411.1 MB, free: 20.21 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.003716/0.6405, allocations: 1.605 MB / 412.7 MB, free: 19.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.6419, allocations: 0.5548 MB / 413.2 MB, free: 19.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.6419, allocations: 0 / 413.2 MB, free: 19.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006808/0.6426, allocations: 348.1 kB / 413.6 MB, free: 18.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.6432, allocations: 34.97 kB / 413.6 MB, free: 18.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.6456, allocations: 0.816 MB / 414.4 MB, free: 18.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.646, allocations: 0.8027 MB / 415.2 MB, free: 17.67 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002818/0.6463, allocations: 34.53 kB / 415.3 MB, free: 17.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.6466, allocations: 113.8 kB / 415.4 MB, free: 17.63 MB / 330.7 MB Notification: Performance of SimCode: time 1.283e-06/0.6466, allocations: 0 / 415.4 MB, free: 17.63 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04221/0.6889, allocations: 11.24 MB / 426.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.002263/0.6913, allocations: 208.6 kB / 426.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.797/3.489, allocations: 0 / 426.8 MB, free: 11.73 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat does not exist to compare? outputFormat=mat