Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.85/1.85, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.057e-05, allocations: 4 kB / 269.5 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09668/0.09674, allocations: 47.58 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3991/0.4959, allocations: 83.83 MB / 400.9 MB, free: 4.305 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.4962, allocations: 84.25 kB / 400.9 MB, free: 4.262 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.136/0.6323, allocations: 39.2 MB / 440.2 MB, free: 312 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6323, allocations: 0 / 440.2 MB, free: 312 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002249/0.6325, allocations: 40.19 kB / 440.2 MB, free: 272 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00366/0.6362, allocations: 1.929 MB / 442.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.6363, allocations: 8.031 kB / 442.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.6364, allocations: 73.78 kB / 442.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006462/0.6371, allocations: 284.3 kB / 442.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004861/0.6419, allocations: 1.899 MB / 444.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-05/0.6421, allocations: 57.73 kB / 444.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002629/0.6423, allocations: 45.73 kB / 444.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008925/0.6432, allocations: 374.8 kB / 444.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.6433, allocations: 0 / 444.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/0.6433, allocations: 13.94 kB / 444.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.6434, allocations: 8 kB / 444.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007856/0.6442, allocations: 293 kB / 445.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007474/0.6516, allocations: 3.1 MB / 448.3 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007764/0.6525, allocations: 290.8 kB / 448.5 MB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003816/0.6529, allocations: 155.6 kB / 448.7 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.086e-05/0.6529, allocations: 4 kB / 448.7 MB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.653, allocations: 43.03 kB / 448.7 MB, free: 9.035 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 2.846e-06/0.653, allocations: 3.938 kB / 448.7 MB, free: 9.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.006747/0.6598, allocations: 2.226 MB / 451 MB, free: 6.977 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.6598, allocations: 81.55 kB / 451 MB, free: 6.879 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01409/0.674, allocations: 4.849 MB / 455.9 MB, free: 3.324 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.6741, allocations: 32.95 kB / 455.9 MB, free: 3.293 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.6756, allocations: 1.185 MB / 457.1 MB, free: 2.855 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.6758, allocations: 165.5 kB / 457.3 MB, free: 2.691 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.6758, allocations: 12 kB / 457.3 MB, free: 2.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.676, allocations: 325.9 kB / 457.6 MB, free: 2.355 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.6764, allocations: 137.1 kB / 457.7 MB, free: 2.219 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004632/0.6769, allocations: 203.8 kB / 457.9 MB, free: 2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/0.6773, allocations: 165.6 kB / 458.1 MB, free: 1.836 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6774, allocations: 0 / 458.1 MB, free: 1.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.004066/0.6814, allocations: 0.9971 MB / 459.1 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.6815, allocations: 8 kB / 459.1 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.6815, allocations: 3.984 kB / 459.1 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007711/0.6823, allocations: 156.7 kB / 459.3 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000747/0.683, allocations: 91.89 kB / 459.3 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.6842, allocations: 0.7436 MB / 460.1 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000977/0.6852, allocations: 27.89 kB / 460.1 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.6853, allocations: 16 kB / 460.1 MB, free: 15.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 46 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.6854, allocations: 140.9 kB / 460.3 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006172/0.6861, allocations: 280.5 kB / 460.5 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.6882, allocations: 0.7472 MB / 461.3 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.6883, allocations: 4 kB / 461.3 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.6883, allocations: 4 kB / 461.3 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.6883, allocations: 3.984 kB / 461.3 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.6913, allocations: 1.703 MB / 463 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.6913, allocations: 0 / 463 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008974/0.6923, allocations: 103.8 kB / 463.1 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004133/0.6927, allocations: 88.8 kB / 463.2 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/0.6928, allocations: 19.98 kB / 463.2 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008213/0.6936, allocations: 0.6344 MB / 463.8 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.6936, allocations: 0 / 463.8 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.6959, allocations: 1.059 MB / 464.9 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/0.6977, allocations: 0.6693 MB / 465.6 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003772/0.6981, allocations: 19.98 kB / 465.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009248/0.699, allocations: 27.95 kB / 465.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.6991, allocations: 28.39 kB / 465.7 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.798e-05/0.6992, allocations: 19.98 kB / 465.7 MB, free: 10.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008206/0.7074, allocations: 3.808 MB / 469.5 MB, free: 6.262 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.7074, allocations: 3.938 kB / 469.5 MB, free: 6.258 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001681/0.7091, allocations: 327.9 kB / 469.8 MB, free: 5.938 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00376/0.7129, allocations: 1.956 MB / 471.8 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.714, allocations: 363.3 kB / 472.1 MB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7141, allocations: 0 / 472.1 MB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005388/0.7146, allocations: 197.6 kB / 472.3 MB, free: 3.461 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.7161, allocations: 179.8 kB / 472.5 MB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.7293, allocations: 5.435 MB / 477.9 MB, free: 13.78 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002474/0.7318, allocations: 1.864 MB / 479.8 MB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001143/0.733, allocations: 383.6 kB / 480.2 MB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00199/0.735, allocations: 1.019 MB / 481.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.735, allocations: 0 / 481.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4051/1.14, allocations: 44.94 MB / 0.5138 GB, free: 129.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/1.14, allocations: 267.8 kB / 0.514 GB, free: 129.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.904/5.045, allocations: 1.062 kB / 0.514 GB, free: 129.4 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat does not exist to compare? outputFormat=mat