Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.915/1.915, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.149e-05/3.155e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08862/0.08867, allocations: 44.5 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4019/0.4906, allocations: 78.9 MB / 378.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.4909, allocations: 84.2 kB / 378.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1189/0.6098, allocations: 38.49 MB / 417.4 MB, free: 1.668 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6098, allocations: 0 / 417.4 MB, free: 1.668 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002672/0.6101, allocations: 34.78 kB / 417.5 MB, free: 1.668 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00428/0.6144, allocations: 1.987 MB / 419.5 MB, free: 276 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.6145, allocations: 15.62 kB / 419.5 MB, free: 272 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.6147, allocations: 73.91 kB / 419.6 MB, free: 224 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006921/0.6154, allocations: 284.3 kB / 419.8 MB, free: 68 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005473/0.6209, allocations: 1.865 MB / 421.7 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.621, allocations: 67.31 kB / 421.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002596/0.6213, allocations: 48.36 kB / 421.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009067/0.6222, allocations: 374 kB / 422.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.6222, allocations: 0 / 422.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.6223, allocations: 17.09 kB / 422.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.6223, allocations: 7.719 kB / 422.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007869/0.6231, allocations: 299 kB / 422.5 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007625/0.6308, allocations: 3.102 MB / 425.6 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007337/0.6316, allocations: 298.9 kB / 425.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.6319, allocations: 143 kB / 426 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.306e-05/0.632, allocations: 18.98 kB / 426 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.632, allocations: 45.27 kB / 426.1 MB, free: 13.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 3.156e-06/0.632, allocations: 0 / 426.1 MB, free: 13.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.006976/0.639, allocations: 2.219 MB / 428.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.6391, allocations: 89.38 kB / 428.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01621/0.6554, allocations: 4.834 MB / 433.2 MB, free: 9.707 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.6555, allocations: 33.33 kB / 433.3 MB, free: 9.672 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001955/0.6575, allocations: 1.155 MB / 434.4 MB, free: 9.266 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.6578, allocations: 169.5 kB / 434.6 MB, free: 9.125 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.6579, allocations: 11.31 kB / 434.6 MB, free: 9.121 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.658, allocations: 320.2 kB / 434.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/0.6585, allocations: 140.4 kB / 435 MB, free: 8.727 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004721/0.659, allocations: 218 kB / 435.3 MB, free: 8.551 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.6595, allocations: 223 kB / 435.5 MB, free: 8.379 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6595, allocations: 4 kB / 435.5 MB, free: 8.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002436/0.662, allocations: 0.7966 MB / 436.3 MB, free: 7.699 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.046e-05/0.6621, allocations: 62.41 kB / 436.3 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.6621, allocations: 4 kB / 436.3 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000838/0.6629, allocations: 153.7 kB / 436.5 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007931/0.6638, allocations: 99.06 kB / 436.6 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.6652, allocations: 0.7594 MB / 437.3 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.6664, allocations: 31.14 kB / 437.4 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/0.6665, allocations: 19.8 kB / 437.4 MB, free: 6.68 MB / 330.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 (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * 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.0001864/0.6667, allocations: 134.8 kB / 437.5 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008274/0.6675, allocations: 276.5 kB / 437.8 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/0.6699, allocations: 0.7652 MB / 438.6 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.67, allocations: 4 kB / 438.6 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.67, allocations: 0 / 438.6 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.67, allocations: 7.984 kB / 438.6 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003835/0.6739, allocations: 1.692 MB / 440.3 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.6739, allocations: 0 / 440.3 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.675, allocations: 102.4 kB / 440.4 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004823/0.6755, allocations: 90.23 kB / 440.5 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/0.6756, allocations: 11.62 kB / 440.5 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009991/0.6766, allocations: 0.6431 MB / 441.1 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.6766, allocations: 7.984 kB / 441.1 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/0.6794, allocations: 1.063 MB / 442.2 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002191/0.6816, allocations: 0.6656 MB / 442.8 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005485/0.6822, allocations: 15.61 kB / 442.9 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.6833, allocations: 27.25 kB / 442.9 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.6835, allocations: 28.02 kB / 442.9 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.674e-05/0.6836, allocations: 23.61 kB / 442.9 MB, free: 2.066 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.01055/0.6941, allocations: 3.785 MB / 446.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.102e-06/0.6942, allocations: 4 kB / 446.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001944/0.6961, allocations: 331.9 kB / 447 MB, free: 14.72 MB / 346.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.004549/0.7007, allocations: 1.953 MB / 449 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.7025, allocations: 488.3 kB / 449.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.7025, allocations: 448 / 449.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008267/0.7034, allocations: 202.5 kB / 449.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/0.7058, allocations: 175 kB / 449.8 MB, free: 11.92 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02168/0.7275, allocations: 5.436 MB / 455.3 MB, free: 6.426 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00465/0.7322, allocations: 1.857 MB / 457.1 MB, free: 4.535 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001937/0.7342, allocations: 379.5 kB / 457.5 MB, free: 4.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003613/0.7378, allocations: 1.011 MB / 458.5 MB, free: 3.148 MB / 346.7 MB Notification: Performance of SimCode: time 2.154e-06/0.7379, allocations: 0 / 458.5 MB, free: 3.148 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1829/0.9208, allocations: 44.94 MB / 0.4917 GB, free: 6.109 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003543/0.9212, allocations: 257.4 kB / 0.4919 GB, free: 5.777 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.255/5.177, allocations: 3.906 kB / 0.4919 GB, free: 5.773 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat does not exist to compare? outputFormat=mat