Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.98/1.98, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.393e-05, allocations: 8 kB / 292.8 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1021, allocations: 50.41 MB / 343.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5164/0.6186, allocations: 89.14 MB / 432.3 MB, free: 4.754 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.6189, allocations: 85 kB / 432.4 MB, free: 4.707 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04703/0.666, allocations: 9.48 MB / 441.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.666, allocations: 0 / 441.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.6661, allocations: 4 kB / 441.9 MB, free: 12.55 MB / 362.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.001651/0.6677, allocations: 0.59 MB / 442.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.6678, allocations: 12.03 kB / 442.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.6679, allocations: 60.41 kB / 442.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.668, allocations: 39.53 kB / 442.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005828/0.6686, allocations: 321.9 kB / 442.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.994e-05/0.6687, allocations: 48 kB / 442.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/0.669, allocations: 42 kB / 443 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007166/0.6697, allocations: 290.2 kB / 443.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.6698, allocations: 7.938 kB / 443.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/0.6698, allocations: 13.88 kB / 443.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.6698, allocations: 8 kB / 443.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007279/0.6706, allocations: 247.2 kB / 443.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.6732, allocations: 1.171 MB / 444.7 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006382/0.6739, allocations: 259.3 kB / 445 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.6743, allocations: 144.5 kB / 445.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.6743, allocations: 4 kB / 445.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.6744, allocations: 45.92 kB / 445.2 MB, free: 9.691 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 3.156e-06/0.6744, allocations: 0 / 445.2 MB, free: 9.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0151/0.6895, allocations: 2.145 MB / 447.3 MB, free: 7.824 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.6896, allocations: 84.89 kB / 447.4 MB, free: 7.723 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005048/0.6901, allocations: 270.1 kB / 447.6 MB, free: 7.512 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.513e-05/0.6902, allocations: 33.39 kB / 447.7 MB, free: 7.477 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.6903, allocations: 163.5 kB / 447.8 MB, free: 7.344 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.6905, allocations: 150.3 kB / 448 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.6906, allocations: 10.88 kB / 448 MB, free: 7.211 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.6907, allocations: 339.1 kB / 448.3 MB, free: 6.883 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/0.6912, allocations: 145.2 kB / 448.5 MB, free: 6.801 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004638/0.6916, allocations: 196.5 kB / 448.7 MB, free: 6.656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004904/0.6921, allocations: 157.9 kB / 448.8 MB, free: 6.562 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6922, allocations: 0 / 448.8 MB, free: 6.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.01186/0.704, allocations: 1.471 MB / 450.3 MB, free: 5.293 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.7041, allocations: 5.406 kB / 450.3 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.7041, allocations: 7.984 kB / 450.3 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0113/0.7154, allocations: 1.034 MB / 451.3 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/0.716, allocations: 63.41 kB / 451.4 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01785/0.7339, allocations: 4.358 MB / 455.8 MB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008061/0.7347, allocations: 35.77 kB / 455.8 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.7348, allocations: 19.11 kB / 455.8 MB, free: 0.832 MB / 362.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.0001848/0.735, allocations: 123.7 kB / 455.9 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.7352, allocations: 31.62 kB / 456 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.7376, allocations: 0.5937 MB / 456.5 MB, free: 268 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.7376, allocations: 4 kB / 456.6 MB, free: 264 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.7376, allocations: 0 / 456.6 MB, free: 264 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.7377, allocations: 7.953 kB / 456.6 MB, free: 256 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004595/0.7423, allocations: 1.227 MB / 457.8 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.7423, allocations: 3.953 kB / 457.8 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009014/0.7432, allocations: 95.25 kB / 457.9 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00249/0.7457, allocations: 260.4 kB / 458.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.07e-05/0.7458, allocations: 10.55 kB / 458.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005136/0.751, allocations: 2.133 MB / 460.3 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.659e-06/0.751, allocations: 8.062 kB / 460.3 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/0.7543, allocations: 0.9301 MB / 461.2 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003074/0.7546, allocations: 152.6 kB / 461.4 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.344e-05/0.7547, allocations: 12 kB / 461.4 MB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007974/0.7555, allocations: 27.98 kB / 461.4 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.7557, allocations: 40.38 kB / 461.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/0.7558, allocations: 12 kB / 461.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003534/0.7562, allocations: 213.4 kB / 461.7 MB, free: 11.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7562, allocations: 0 / 461.7 MB, free: 11.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009755/0.7572, allocations: 140 kB / 461.8 MB, free: 11.23 MB / 378.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.003728/0.7609, allocations: 1.602 MB / 463.4 MB, free: 9.594 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.7625, allocations: 0.5328 MB / 463.9 MB, free: 9.055 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.7625, allocations: 0 / 463.9 MB, free: 9.055 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007793/0.7633, allocations: 347 kB / 464.3 MB, free: 8.703 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.7639, allocations: 32.67 kB / 464.3 MB, free: 8.672 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.7667, allocations: 0.8013 MB / 465.1 MB, free: 7.832 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.7672, allocations: 0.8047 MB / 465.9 MB, free: 6.996 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002925/0.7675, allocations: 30.97 kB / 465.9 MB, free: 6.961 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/0.7678, allocations: 123.4 kB / 466.1 MB, free: 6.84 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7678, allocations: 0 / 466.1 MB, free: 6.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04767/0.8155, allocations: 11.21 MB / 477.3 MB, free: 11.75 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000327/0.8159, allocations: 201.3 kB / 477.5 MB, free: 11.53 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/3.443, allocations: 0 / 477.5 MB, free: 11.53 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat does not exist to compare? outputFormat=mat