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.883/1.883, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.044e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09429/0.09435, allocations: 44.51 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4173/0.5117, allocations: 81.88 MB / 381.9 MB, free: 12.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.512, allocations: 80.95 kB / 382 MB, free: 12.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04387/0.5559, allocations: 9.201 MB / 391.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.556, allocations: 0 / 391.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.214e-05/0.556, allocations: 10.91 kB / 391.2 MB, free: 11.98 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.001552/0.5576, allocations: 0.5851 MB / 391.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.5576, allocations: 15.56 kB / 391.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.5577, allocations: 61.14 kB / 391.8 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.5579, allocations: 38.98 kB / 391.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007248/0.5586, allocations: 322.9 kB / 392.2 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.5588, allocations: 47.73 kB / 392.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002917/0.5591, allocations: 37.42 kB / 392.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007202/0.5598, allocations: 302 kB / 392.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.5598, allocations: 0 / 392.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.5599, allocations: 6.812 kB / 392.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.5599, allocations: 19.64 kB / 392.6 MB, free: 11.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006794/0.5606, allocations: 257.9 kB / 392.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002642/0.5633, allocations: 1.172 MB / 394 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005965/0.5639, allocations: 252.1 kB / 394.3 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.5643, allocations: 152.4 kB / 394.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.5643, allocations: 7.375 kB / 394.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.5643, allocations: 37.88 kB / 394.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 3.457e-06/0.5644, allocations: 0 / 394.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.01478/0.5791, allocations: 2.141 MB / 396.6 MB, free: 10 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.5792, allocations: 80.89 kB / 396.7 MB, free: 9.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005377/0.5798, allocations: 261.4 kB / 396.9 MB, free: 9.809 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.5799, allocations: 29.27 kB / 396.9 MB, free: 9.777 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.955e-05/0.58, allocations: 170.9 kB / 397.1 MB, free: 9.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.5802, allocations: 144.5 kB / 397.3 MB, free: 9.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.5802, allocations: 7.312 kB / 397.3 MB, free: 9.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.183e-05/0.5803, allocations: 340.3 kB / 397.6 MB, free: 9.258 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.5807, allocations: 147.1 kB / 397.7 MB, free: 9.254 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.5812, allocations: 194.8 kB / 397.9 MB, free: 9.203 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/0.5816, allocations: 159.1 kB / 398.1 MB, free: 9.199 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5816, allocations: 0 / 398.1 MB, free: 9.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.01151/0.5931, allocations: 1.462 MB / 399.5 MB, free: 9.051 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.5932, allocations: 11.62 kB / 399.6 MB, free: 9.047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.5933, allocations: 0 / 399.6 MB, free: 9.047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01108/0.6043, allocations: 1.049 MB / 400.6 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.6049, allocations: 61.28 kB / 400.7 MB, free: 8.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01727/0.6222, allocations: 4.351 MB / 405 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008407/0.6231, allocations: 34.81 kB / 405.1 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.6232, allocations: 23.25 kB / 405.1 MB, free: 7.488 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.0001581/0.6233, allocations: 120.5 kB / 405.2 MB, free: 7.379 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.6235, allocations: 31.28 kB / 405.2 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/0.6259, allocations: 0.6073 MB / 405.8 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.6259, allocations: 11.73 kB / 405.8 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.626, allocations: 3.797 kB / 405.8 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.626, allocations: 0 / 405.8 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004685/0.6307, allocations: 1.22 MB / 407.1 MB, free: 6.941 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.6307, allocations: 3.938 kB / 407.1 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009286/0.6317, allocations: 94.25 kB / 407.2 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002421/0.6341, allocations: 261.9 kB / 407.4 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.442e-05/0.6342, allocations: 14.38 kB / 407.4 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004991/0.6392, allocations: 2.137 MB / 409.6 MB, free: 21.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6393, allocations: 0 / 409.6 MB, free: 21.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002954/0.6422, allocations: 0.9251 MB / 410.5 MB, free: 21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/0.6426, allocations: 155 kB / 410.6 MB, free: 20.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.196e-05/0.6427, allocations: 10.75 kB / 410.7 MB, free: 20.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007918/0.6435, allocations: 34.59 kB / 410.7 MB, free: 20.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.6437, allocations: 38.81 kB / 410.7 MB, free: 20.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.6437, allocations: 10.84 kB / 410.7 MB, free: 20.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003216/0.6441, allocations: 212.3 kB / 410.9 MB, free: 20.74 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6441, allocations: 3.938 kB / 410.9 MB, free: 20.74 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009719/0.6451, allocations: 144.7 kB / 411.1 MB, free: 20.73 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.003449/0.6485, allocations: 1.589 MB / 412.7 MB, free: 19.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.6499, allocations: 0.5398 MB / 413.2 MB, free: 19.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.65, allocations: 0 / 413.2 MB, free: 19.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006889/0.6507, allocations: 346.8 kB / 413.6 MB, free: 19.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.6512, allocations: 35.22 kB / 413.6 MB, free: 19.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.6538, allocations: 0.8101 MB / 414.4 MB, free: 18.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.6542, allocations: 0.8056 MB / 415.2 MB, free: 18.21 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002923/0.6545, allocations: 30.5 kB / 415.2 MB, free: 18.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/0.6548, allocations: 117.8 kB / 415.4 MB, free: 18.17 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6548, allocations: 0 / 415.4 MB, free: 18.17 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03862/0.6935, allocations: 11.2 MB / 426.5 MB, free: 12.53 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/0.6938, allocations: 215.4 kB / 426.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.631/3.324, allocations: 0 / 426.8 MB, free: 12.29 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