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"}) Notification: Performance of loadModel(Modelica): time 1.884/1.884, allocations: 195 MB / 202.8 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.806e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3153, allocations: 44.5 MB / 294.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1784/0.4938, allocations: 105 MB / 399.3 MB, free: 8.844 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.4941, allocations: 83.95 kB / 399.3 MB, free: 8.762 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4778/0.9719, allocations: 52.68 MB / 452 MB, free: 94.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.972, allocations: 3.5 kB / 452 MB, free: 94.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002144/0.9722, allocations: 56 kB / 452.1 MB, free: 94.84 MB / 362.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.009167/0.9814, allocations: 2.238 MB / 454.3 MB, free: 93.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.9814, allocations: 7.688 kB / 454.3 MB, free: 93.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.9828, allocations: 274.8 kB / 454.6 MB, free: 93.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004071/0.9869, allocations: 1.352 MB / 455.9 MB, free: 92.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/0.9872, allocations: 178 kB / 456.1 MB, free: 92.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001184/0.9884, allocations: 155.5 kB / 456.3 MB, free: 92.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005457/0.9939, allocations: 1.628 MB / 457.9 MB, free: 91.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005574/0.9995, allocations: 1.791 MB / 459.7 MB, free: 90.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.788e-05/0.9996, allocations: 7.312 kB / 459.7 MB, free: 90.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002592/0.9999, allocations: 4 kB / 459.7 MB, free: 90.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.822e-05/0.9999, allocations: 44 kB / 459.7 MB, free: 90.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02003/1.02, allocations: 7.573 MB / 467.3 MB, free: 82.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004262/1.024, allocations: 1.851 MB / 469.2 MB, free: 80.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003414/1.028, allocations: 1.269 MB / 470.4 MB, free: 79.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003098/1.028, allocations: 38.55 kB / 470.5 MB, free: 79.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/1.028, allocations: 64.92 kB / 470.5 MB, free: 79.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=208): time 5.3e-06/1.028, allocations: 0 / 470.5 MB, free: 79.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=250): time 0.05093/1.079, allocations: 9.097 MB / 479.6 MB, free: 70.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/1.079, allocations: 393.8 kB / 480 MB, free: 69.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002723/1.082, allocations: 1.174 MB / 481.2 MB, free: 68.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006081/1.083, allocations: 25.7 kB / 481.2 MB, free: 68.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006744/1.083, allocations: 0.8074 MB / 482 MB, free: 67.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/1.084, allocations: 0.807 MB / 482.8 MB, free: 66.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/1.085, allocations: 0 / 482.8 MB, free: 66.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/1.085, allocations: 402.7 kB / 483.2 MB, free: 66.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002556/1.087, allocations: 0.8639 MB / 484.1 MB, free: 65.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002696/1.09, allocations: 1.093 MB / 485.2 MB, free: 64.51 MB / 362.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.0486/1.139, allocations: 6.956 MB / 492.1 MB, free: 57.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/1.139, allocations: 4 kB / 492.1 MB, free: 57.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.03754/1.176, allocations: 5.642 MB / 497.8 MB, free: 51.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/1.177, allocations: 8 kB / 497.8 MB, free: 51.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.327e-05/1.177, allocations: 4 kB / 497.8 MB, free: 51.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03325/1.21, allocations: 3.578 MB / 0.4896 GB, free: 48.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00321/1.213, allocations: 383.5 kB / 0.49 GB, free: 47.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06001/1.273, allocations: 23.98 MB / 0.5134 GB, free: 22.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00383/1.277, allocations: 91.98 kB / 0.5135 GB, free: 22.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000579/1.278, allocations: 87.98 kB / 0.5136 GB, free: 22.63 MB / 362.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.0007275/1.278, allocations: 160 kB / 0.5137 GB, free: 22.47 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01263/1.291, allocations: 3.064 MB / 0.5167 GB, free: 19.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/1.292, allocations: 197.6 kB / 0.5169 GB, free: 19.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/1.303, allocations: 2.98 MB / 0.5198 GB, free: 16.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.703e-05/1.303, allocations: 28 kB / 0.5199 GB, free: 16.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.251e-05/1.303, allocations: 7.953 kB / 0.5199 GB, free: 16.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.445e-05/1.303, allocations: 11.95 kB / 0.5199 GB, free: 16.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01966/1.323, allocations: 5.651 MB / 0.5254 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.672e-05/1.323, allocations: 4 kB / 0.5254 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004175/1.327, allocations: 435.3 kB / 0.5258 GB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008911/1.336, allocations: 1.178 MB / 0.527 GB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005868/1.337, allocations: 27.97 kB / 0.527 GB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02616/1.363, allocations: 16.44 MB / 0.543 GB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/1.363, allocations: 3.984 kB / 0.543 GB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01761/1.38, allocations: 4.538 MB / 0.5475 GB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002098/1.383, allocations: 0.5256 MB / 0.548 GB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008405/1.383, allocations: 12 kB / 0.548 GB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003938/1.387, allocations: 111.9 kB / 0.5481 GB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009816/1.388, allocations: 201.8 kB / 0.5483 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002642/1.389, allocations: 67.98 kB / 0.5484 GB, free: 1.617 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002177/1.391, allocations: 0.8861 MB / 0.5492 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.391, allocations: 0 / 0.5492 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005591/1.397, allocations: 0.6796 MB / 0.5499 GB, free: 52 kB / 378.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.01825/1.415, allocations: 5.43 MB / 0.5552 GB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009786/1.425, allocations: 3.554 MB / 0.5587 GB, free: 6.801 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/1.425, allocations: 8.453 kB / 0.5587 GB, free: 6.793 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006233/1.431, allocations: 2.366 MB / 0.561 GB, free: 4.336 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/1.434, allocations: 241.7 kB / 0.5612 GB, free: 4.102 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2768/1.711, allocations: 4.643 MB / 0.5657 GB, free: 111.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001921/1.713, allocations: 1.638 MB / 0.5673 GB, free: 110.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002229/1.715, allocations: 256.7 kB / 0.5676 GB, free: 110.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002191/1.717, allocations: 0.8759 MB / 0.5684 GB, free: 110.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/1.717, allocations: 0 / 0.5684 GB, free: 110.7 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1871/1.905, allocations: 55.89 MB / 0.623 GB, free: 81.43 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002568/1.905, allocations: 176.9 kB / 0.6232 GB, free: 81.24 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.899/6.804, allocations: 0 / 0.6232 GB, free: 81.24 MB / 394.7 MB