Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.795/1.795, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.934e-05/2.941e-05, allocations: 4 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09233/0.09238, allocations: 44.5 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4096/0.502, allocations: 85.2 MB / 385.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.5023, allocations: 88.22 kB / 385.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06593/0.5683, allocations: 15.49 MB / 400.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5683, allocations: 0 / 400.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.932e-05/0.5684, allocations: 11.66 kB / 400.8 MB, free: 10.3 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002309/0.5707, allocations: 0.8527 MB / 401.6 MB, free: 9.688 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.5708, allocations: 11.09 kB / 401.6 MB, free: 9.688 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.5709, allocations: 96.03 kB / 401.7 MB, free: 9.633 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.5711, allocations: 78.11 kB / 401.8 MB, free: 9.594 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009006/0.5721, allocations: 0.4921 MB / 402.3 MB, free: 9.281 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9e-05/0.5722, allocations: 72.86 kB / 402.4 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002879/0.5725, allocations: 69.11 kB / 402.4 MB, free: 9.238 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.5738, allocations: 0.5567 MB / 403 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.5738, allocations: 0 / 403 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.558e-05/0.5739, allocations: 26.94 kB / 403 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.5739, allocations: 19.61 kB / 403 MB, free: 9.082 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.5751, allocations: 473 kB / 403.5 MB, free: 9.051 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004779/0.5799, allocations: 2.319 MB / 405.8 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009666/0.5809, allocations: 432 kB / 406.3 MB, free: 7.688 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005599/0.5815, allocations: 241.4 kB / 406.5 MB, free: 7.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.382e-05/0.5816, allocations: 11.7 kB / 406.5 MB, free: 7.656 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.5816, allocations: 38.25 kB / 406.5 MB, free: 7.613 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 2.835e-06/0.5816, allocations: 0 / 406.5 MB, free: 7.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.01852/0.6001, allocations: 3.016 MB / 409.6 MB, free: 6.609 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.6002, allocations: 89.41 kB / 409.6 MB, free: 6.512 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008711/0.6011, allocations: 480.7 kB / 410.1 MB, free: 6.375 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.6012, allocations: 37.02 kB / 410.1 MB, free: 6.344 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.6014, allocations: 320.6 kB / 410.5 MB, free: 6.145 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.6016, allocations: 209.2 kB / 410.7 MB, free: 5.996 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.6017, allocations: 13.44 kB / 410.7 MB, free: 5.992 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.6018, allocations: 372.5 kB / 411 MB, free: 5.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/0.6024, allocations: 221.9 kB / 411.3 MB, free: 5.656 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006168/0.603, allocations: 313.6 kB / 411.6 MB, free: 5.555 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006483/0.6037, allocations: 257.8 kB / 411.8 MB, free: 5.523 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6037, allocations: 4 kB / 411.8 MB, free: 5.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.01226/0.616, allocations: 1.782 MB / 413.6 MB, free: 5.082 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.6161, allocations: 7.75 kB / 413.6 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.6161, allocations: 3.906 kB / 413.6 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01141/0.6275, allocations: 1.159 MB / 414.8 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007741/0.6283, allocations: 96.09 kB / 414.9 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/0.6481, allocations: 5.784 MB / 420.6 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.6493, allocations: 46.41 kB / 420.7 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.276e-05/0.6494, allocations: 22.55 kB / 420.7 MB, free: 2.625 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {2 30} Notification: Performance of prepare postOptimizeDAE: time 0.0002022/0.6496, allocations: 141.1 kB / 420.9 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.6498, allocations: 62.33 kB / 420.9 MB, free: 2.473 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.6518, allocations: 0.7622 MB / 421.7 MB, free: 2.309 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.6518, allocations: 3.844 kB / 421.7 MB, free: 2.309 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6519, allocations: 3.906 kB / 421.7 MB, free: 2.309 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.6519, allocations: 3.984 kB / 421.7 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005646/0.6575, allocations: 1.833 MB / 423.5 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.467e-06/0.6576, allocations: 0 / 423.5 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.6587, allocations: 115.3 kB / 423.6 MB, free: 1.605 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002818/0.6615, allocations: 339.3 kB / 424 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.6617, allocations: 17.33 kB / 424 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006381/0.6681, allocations: 2.81 MB / 426.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6681, allocations: 0 / 426.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003647/0.6718, allocations: 1.278 MB / 428.1 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/0.6723, allocations: 206.9 kB / 428.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.6724, allocations: 20.55 kB / 428.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.6735, allocations: 54.41 kB / 428.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.6737, allocations: 48.64 kB / 428.4 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.6738, allocations: 24.33 kB / 428.4 MB, free: 15.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006478/0.6745, allocations: 376.6 kB / 428.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6745, allocations: 0 / 428.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001219/0.6757, allocations: 221.1 kB / 429 MB, free: 15.21 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.Phi,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.004411/0.6801, allocations: 1.961 MB / 431 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.6823, allocations: 0.7809 MB / 431.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.6824, allocations: 0.5625 kB / 431.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.6835, allocations: 483.9 kB / 432.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009109/0.6844, allocations: 78.78 kB / 432.3 MB, free: 13.08 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.6885, allocations: 1.225 MB / 433.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/0.6892, allocations: 0.9224 MB / 434.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005115/0.6897, allocations: 63.72 kB / 434.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005299/0.6902, allocations: 234.4 kB / 434.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6902, allocations: 0 / 434.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07928/0.7695, allocations: 17.82 MB / 452.5 MB, free: 10.41 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003063/0.7699, allocations: 223.4 kB / 452.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.908/3.678, allocations: 0 / 452.8 MB, free: 10.18 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat does not exist to compare? outputFormat=mat