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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.693/1.693, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2415/1.934, allocations: 46.84 MB / 249.4 MB, free: 5.371 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09554/2.03, allocations: 44.49 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3012/2.331, allocations: 78.17 MB / 372 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/2.332, allocations: 79.94 kB / 372.1 MB, free: 7.109 MB / 298.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.142/2.474, allocations: 39.22 MB / 411.3 MB, free: 4.297 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/2.474, allocations: 11.98 kB / 411.3 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/2.475, allocations: 280.3 kB / 411.6 MB, free: 4.008 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006424/2.481, allocations: 1.858 MB / 413.5 MB, free: 2.469 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/2.482, allocations: 42.48 kB / 413.5 MB, free: 2.418 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003219/2.482, allocations: 39.33 kB / 413.5 MB, free: 2.383 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009419/2.483, allocations: 280.3 kB / 413.8 MB, free: 2.203 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008645/2.484, allocations: 325.8 kB / 414.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/2.484, allocations: 0 / 414.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/2.484, allocations: 4 kB / 414.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/2.484, allocations: 8 kB / 414.1 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008953/2.493, allocations: 3.002 MB / 417.1 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/2.494, allocations: 175.3 kB / 417.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/2.494, allocations: 144.5 kB / 417.5 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.281e-05/2.494, allocations: 4 kB / 417.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/2.494, allocations: 45.53 kB / 417.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 3.296e-06/2.494, allocations: 0 / 417.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.006967/2.501, allocations: 2.025 MB / 419.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/2.501, allocations: 85.53 kB / 419.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01837/2.52, allocations: 4.67 MB / 424.3 MB, free: 9.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00013/2.52, allocations: 29.73 kB / 424.3 MB, free: 9.895 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/2.521, allocations: 497.8 kB / 424.8 MB, free: 9.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/2.521, allocations: 165.1 kB / 425 MB, free: 9.375 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/2.521, allocations: 0 / 425 MB, free: 9.375 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/2.521, allocations: 327.5 kB / 425.3 MB, free: 9.059 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/2.522, allocations: 127.5 kB / 425.4 MB, free: 8.984 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/2.522, allocations: 205 kB / 425.6 MB, free: 8.816 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004902/2.523, allocations: 159.8 kB / 425.8 MB, free: 8.723 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/2.523, allocations: 0 / 425.8 MB, free: 8.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002666/2.525, allocations: 0.6946 MB / 426.5 MB, free: 8.141 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/2.526, allocations: 6.031 kB / 426.5 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/2.526, allocations: 7.984 kB / 426.5 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008056/2.526, allocations: 147.4 kB / 426.6 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009034/2.527, allocations: 98.88 kB / 426.7 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/2.529, allocations: 0.7803 MB / 427.5 MB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/2.53, allocations: 4 kB / 427.5 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/2.531, allocations: 14.88 kB / 427.5 MB, free: 7.203 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: core.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real 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.0002679/2.531, allocations: 116.6 kB / 427.6 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/2.532, allocations: 276 kB / 427.9 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/2.535, allocations: 0.7129 MB / 428.6 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/2.535, allocations: 4 kB / 428.6 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/2.535, allocations: 3.984 kB / 428.6 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/2.535, allocations: 7.938 kB / 428.6 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004381/2.539, allocations: 1.612 MB / 430.2 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/2.539, allocations: 0 / 430.2 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/2.541, allocations: 99.88 kB / 430.3 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004827/2.541, allocations: 96.14 kB / 430.4 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.966e-05/2.541, allocations: 7.938 kB / 430.4 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/2.542, allocations: 0.6549 MB / 431.1 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/2.542, allocations: 4 kB / 431.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002982/2.545, allocations: 1.014 MB / 432.1 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003693/2.549, allocations: 1.612 MB / 433.7 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002379/2.551, allocations: 0.672 MB / 434.4 MB, free: 1.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008195/2.552, allocations: 5.312 kB / 434.4 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00146/2.554, allocations: 11.98 kB / 434.4 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/2.554, allocations: 28.64 kB / 434.4 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.918e-05/2.554, allocations: 15.56 kB / 434.4 MB, free: 1.359 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.01128/2.565, allocations: 3.63 MB / 438.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00289/2.568, allocations: 315.9 kB / 438.4 MB, free: 13.49 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.001063/2.569, allocations: 311.6 kB / 438.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001373/2.571, allocations: 406.6 kB / 439.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/2.571, allocations: 4 kB / 439.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006148/2.572, allocations: 197.4 kB / 439.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/2.574, allocations: 159.4 kB / 439.4 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/2.59, allocations: 4.798 MB / 444.2 MB, free: 7.617 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005135/2.595, allocations: 2.004 MB / 446.2 MB, free: 5.578 MB / 346.7 MB Notification: Performance of SimCode: time 1.453e-06/2.595, allocations: 0 / 446.2 MB, free: 5.578 MB / 346.7 MB