Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",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.669/1.669, allocations: 194.9 MB / 202.5 MB, free: 6.91 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2419/1.911, allocations: 46.84 MB / 249.3 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0914/2.002, allocations: 44.51 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3118/2.314, allocations: 104.9 MB / 398.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/2.314, allocations: 83.52 kB / 398.9 MB, free: 15.59 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.2567/2.571, allocations: 54.95 MB / 453.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/2.571, allocations: 8 kB / 453.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/2.573, allocations: 276.8 kB / 454.1 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004733/2.578, allocations: 1.366 MB / 455.5 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003129/2.578, allocations: 173 kB / 455.6 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/2.579, allocations: 163.8 kB / 455.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006553/2.586, allocations: 1.632 MB / 457.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006555/2.592, allocations: 1.794 MB / 459.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.115e-05/2.593, allocations: 7.938 kB / 459.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00028/2.593, allocations: 0 / 459.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.27e-05/2.593, allocations: 48 kB / 459.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0247/2.618, allocations: 7.589 MB / 466.9 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/2.621, allocations: 1.17 MB / 468 MB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004131/2.626, allocations: 1.296 MB / 469.3 MB, free: 1.953 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/2.626, allocations: 26 kB / 469.4 MB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.955e-05/2.626, allocations: 60.5 kB / 469.4 MB, free: 1.859 MB / 362.7 MB Notification: Performance of pre-optimization done (n=208): time 8.736e-06/2.626, allocations: 11.98 kB / 469.4 MB, free: 1.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=250): time 0.059/2.685, allocations: 9.131 MB / 478.6 MB, free: 8.645 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002198/2.685, allocations: 393.8 kB / 479 MB, free: 8.176 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0033/2.689, allocations: 1.178 MB / 480.1 MB, free: 6.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006043/2.689, allocations: 29.7 kB / 480.2 MB, free: 6.949 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005897/2.69, allocations: 0.573 MB / 480.7 MB, free: 6.367 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00137/2.691, allocations: 0.812 MB / 481.5 MB, free: 5.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/2.692, allocations: 0 / 481.5 MB, free: 5.543 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000249/2.692, allocations: 398.7 kB / 481.9 MB, free: 5.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002909/2.695, allocations: 0.8759 MB / 482.8 MB, free: 4.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003309/2.698, allocations: 1.089 MB / 483.9 MB, free: 3.125 MB / 378.7 MB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.05661/2.755, allocations: 7.004 MB / 490.9 MB, free: 12.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/2.755, allocations: 0 / 490.9 MB, free: 12.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.0454/2.8, allocations: 5.741 MB / 496.6 MB, free: 6.238 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/2.8, allocations: 4 kB / 496.6 MB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.702e-05/2.8, allocations: 4 kB / 496.7 MB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0393/2.84, allocations: 3.609 MB / 0.4885 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003903/2.844, allocations: 387.5 kB / 0.4889 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1974/3.041, allocations: 23.34 MB / 0.5117 GB, free: 129.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004157/3.045, allocations: 96.77 kB / 0.5118 GB, free: 129.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006197/3.046, allocations: 89.64 kB / 0.5119 GB, free: 129.4 MB / 394.7 MB Warning: Assuming redundant initial conditions for the following 2 initial equations: transformer.H[1] = $START.transformer.H[1] transformer.H[3] = $START.transformer.H[3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformer.core2.Hstat:VARIABLE(unit = "A/m" protected = true ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformer.core1.Hstat:VARIABLE(unit = "A/m" protected = true ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformer.core3.Hstat:VARIABLE(unit = "A/m" protected = true ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 (transformer.core1.asc,transformer.core2.asc,transformer.core3.asc,diode1.off,diode2.off,diode3.off,diode4.off,diode5.off,diode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 6 {1 19,1 20,1 20,2 7,2 7,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007514/3.047, allocations: 152.1 kB / 0.512 GB, free: 129.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008252/3.048, allocations: 202.6 kB / 0.5122 GB, free: 129.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/3.06, allocations: 3.01 MB / 0.5152 GB, free: 129 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.798e-05/3.06, allocations: 27.09 kB / 0.5152 GB, free: 129 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.158e-05/3.06, allocations: 3.312 kB / 0.5152 GB, free: 129 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-05/3.06, allocations: 14.86 kB / 0.5152 GB, free: 129 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02292/3.083, allocations: 5.671 MB / 0.5207 GB, free: 128.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-05/3.083, allocations: 2.938 kB / 0.5207 GB, free: 128.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004616/3.087, allocations: 438.9 kB / 0.5212 GB, free: 128.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01/3.098, allocations: 1.18 MB / 0.5223 GB, free: 127.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006454/3.098, allocations: 33.12 kB / 0.5223 GB, free: 127.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02625/3.125, allocations: 15.87 MB / 0.5378 GB, free: 114.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/3.125, allocations: 3.906 kB / 0.5378 GB, free: 114.5 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0176/3.142, allocations: 4.59 MB / 0.5423 GB, free: 112.3 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02152/3.164, allocations: 6.284 MB / 0.5485 GB, free: 109.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/3.166, allocations: 0.5221 MB / 0.549 GB, free: 108.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008693/3.167, allocations: 21.91 kB / 0.549 GB, free: 108.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004223/3.171, allocations: 116.7 kB / 0.5491 GB, free: 108.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007138/3.172, allocations: 147.2 kB / 0.5492 GB, free: 108.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002674/3.172, allocations: 70.2 kB / 0.5493 GB, free: 108.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001998/3.174, allocations: 0.892 MB / 0.5502 GB, free: 108.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005519/3.18, allocations: 0.6694 MB / 0.5508 GB, free: 108.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.Phi[1],transformer.Phi[2],transformer.Phi[3],transformer.core1.Hstat,transformer.core2.Hstat,transformer.core3.Hstat,transformer.winding11.i,transformer.winding12.i,transformer.winding13.i,transformer.winding21.i,transformer.winding22.i,transformer.winding23.i,capacitor1.v,capacitor2.v,pdissStatAvg.x[1],pdissStatAvg.x[2],pdissEddyAvg.x[1],pdissEddyAvg.x[2],pdissCopAvg.x[1],pdissCopAvg.x[2],transformer.core3.MagRel,transformer.core2.MagRel,transformer.core1.MagRel) * Number of discrete variables: 9 (transformer.core1.asc,transformer.core2.asc,transformer.core3.asc,diode1.off,diode2.off,diode3.off,diode4.off,diode5.off,diode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 194 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 6 {1 8,1 8,1 8,2 7,2 7,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001133/3.181, allocations: 245.7 kB / 0.5511 GB, free: 108.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008606/3.189, allocations: 3.338 MB / 0.5543 GB, free: 106.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/3.189, allocations: 3.609 kB / 0.5543 GB, free: 106.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005775/3.195, allocations: 2.226 MB / 0.5565 GB, free: 104.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/3.198, allocations: 230.5 kB / 0.5567 GB, free: 104.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/3.214, allocations: 4.415 MB / 0.561 GB, free: 102.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003079/3.217, allocations: 1.809 MB / 0.5628 GB, free: 102 MB / 394.7 MB Notification: Performance of SimCode: time 2.004e-06/3.217, allocations: 0 / 0.5628 GB, free: 102 MB / 394.7 MB