Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.893/1.893, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.764e-05, allocations: 4 kB / 269.5 MB, free: 6.285 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09457/0.09462, allocations: 47.57 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.402/0.4967, allocations: 86.11 MB / 403.1 MB, free: 1.574 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.497, allocations: 76.02 kB / 403.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04546/0.5425, allocations: 9.259 MB / 412.5 MB, free: 9.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5425, allocations: 0 / 412.5 MB, free: 9.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.5426, allocations: 4 kB / 412.5 MB, free: 9.578 MB / 330.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.001614/0.5442, allocations: 0.5907 MB / 413.1 MB, free: 8.965 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5442, allocations: 8.031 kB / 413.1 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.694e-05/0.5444, allocations: 61.78 kB / 413.1 MB, free: 8.902 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.5445, allocations: 39.53 kB / 413.2 MB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005654/0.5451, allocations: 329.5 kB / 413.5 MB, free: 8.543 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.131e-05/0.5452, allocations: 49.83 kB / 413.5 MB, free: 8.496 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.5454, allocations: 35.73 kB / 413.6 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007146/0.5461, allocations: 292.1 kB / 413.9 MB, free: 8.258 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.5462, allocations: 7.984 kB / 413.9 MB, free: 8.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.386e-05/0.5462, allocations: 7.562 kB / 413.9 MB, free: 8.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.5462, allocations: 8 kB / 413.9 MB, free: 8.242 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007031/0.547, allocations: 257.2 kB / 414.1 MB, free: 8.074 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.5496, allocations: 1.178 MB / 415.3 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006319/0.5502, allocations: 264.6 kB / 415.6 MB, free: 6.852 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/0.5506, allocations: 144.1 kB / 415.7 MB, free: 6.758 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.5506, allocations: 4 kB / 415.7 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.5507, allocations: 49.69 kB / 415.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 2.685e-06/0.5507, allocations: 0 / 415.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.01504/0.5657, allocations: 2.145 MB / 417.9 MB, free: 4.836 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.5658, allocations: 85.11 kB / 418 MB, free: 4.734 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005339/0.5664, allocations: 261.2 kB / 418.2 MB, free: 4.531 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.393e-05/0.5665, allocations: 32.45 kB / 418.3 MB, free: 4.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.5666, allocations: 167.4 kB / 418.4 MB, free: 4.359 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.5668, allocations: 146.6 kB / 418.6 MB, free: 4.234 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.5668, allocations: 6.875 kB / 418.6 MB, free: 4.234 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.567, allocations: 340.6 kB / 418.9 MB, free: 3.906 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004084/0.5674, allocations: 143 kB / 419.1 MB, free: 3.824 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/0.5679, allocations: 194.4 kB / 419.3 MB, free: 3.684 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004687/0.5683, allocations: 160.9 kB / 419.4 MB, free: 3.586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5684, allocations: 0 / 419.4 MB, free: 3.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.01187/0.5802, allocations: 1.47 MB / 420.9 MB, free: 2.316 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.5803, allocations: 8 kB / 420.9 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.5803, allocations: 0 / 420.9 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01118/0.5915, allocations: 1.036 MB / 421.9 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/0.5921, allocations: 67.2 kB / 422 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/0.6099, allocations: 4.344 MB / 426.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008256/0.6108, allocations: 35.34 kB / 426.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.6109, allocations: 19.36 kB / 426.4 MB, free: 13.87 MB / 346.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.000176/0.6111, allocations: 131.5 kB / 426.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.6112, allocations: 35.56 kB / 426.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.6137, allocations: 0.5965 MB / 427.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.6137, allocations: 4 kB / 427.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6137, allocations: 4 kB / 427.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.6138, allocations: 3.984 kB / 427.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004655/0.6184, allocations: 1.221 MB / 428.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.6185, allocations: 0 / 428.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008998/0.6194, allocations: 95.38 kB / 428.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002521/0.6219, allocations: 261 kB / 428.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.806e-05/0.622, allocations: 18.55 kB / 428.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005088/0.6271, allocations: 2.136 MB / 430.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.6272, allocations: 0 / 430.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/0.6301, allocations: 0.9301 MB / 431.8 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.6304, allocations: 158 kB / 432 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.72e-05/0.6305, allocations: 3.688 kB / 432 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007813/0.6313, allocations: 34.5 kB / 432 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.6315, allocations: 38.88 kB / 432 MB, free: 9.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-05/0.6316, allocations: 15.81 kB / 432.1 MB, free: 9.113 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003212/0.6319, allocations: 208.8 kB / 432.3 MB, free: 8.953 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6319, allocations: 4 kB / 432.3 MB, free: 8.949 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009705/0.6329, allocations: 146.8 kB / 432.4 MB, free: 8.82 MB / 346.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.003561/0.6365, allocations: 1.599 MB / 434 MB, free: 7.438 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.638, allocations: 0.5302 MB / 434.5 MB, free: 7.043 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.638, allocations: 0 / 434.5 MB, free: 7.043 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007307/0.6387, allocations: 340.8 kB / 434.9 MB, free: 6.773 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.6393, allocations: 34.94 kB / 434.9 MB, free: 6.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.6419, allocations: 0.806 MB / 435.7 MB, free: 6.004 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.6424, allocations: 0.8009 MB / 436.5 MB, free: 5.168 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002959/0.6427, allocations: 34.95 kB / 436.5 MB, free: 5.129 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.643, allocations: 119.8 kB / 436.7 MB, free: 5.086 MB / 346.7 MB Notification: Performance of SimCode: time 1.403e-06/0.643, allocations: 0 / 436.7 MB, free: 5.086 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05642/0.6994, allocations: 11.21 MB / 447.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003435/0.6998, allocations: 203 kB / 448.1 MB, free: 9.723 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.62/3.32, allocations: 0 / 448.1 MB, free: 9.723 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat does not exist to compare? outputFormat=mat