Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.996/1.996, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.858e-05/2.864e-05, allocations: 4 kB / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1023, allocations: 50.42 MB / 342.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4817/0.584, allocations: 114.8 MB / 457.4 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.5843, allocations: 84.02 kB / 457.5 MB, free: 11.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2698/0.8542, allocations: 54.16 MB / 0.4997 GB, free: 9.457 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.8542, allocations: 3.938 kB / 0.4997 GB, free: 9.453 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002783/0.8545, allocations: 59.98 kB / 0.4998 GB, free: 9.395 MB / 426.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.01037/0.8649, allocations: 2.228 MB / 0.5019 GB, free: 7.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.347e-05/0.865, allocations: 12.03 kB / 0.5019 GB, free: 7.098 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008146/0.8658, allocations: 274.4 kB / 0.5022 GB, free: 6.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.8669, allocations: 280.7 kB / 0.5025 GB, free: 6.543 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006837/0.8737, allocations: 1.354 MB / 0.5038 GB, free: 5.137 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007325/0.8745, allocations: 244.9 kB / 0.504 GB, free: 4.879 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002225/0.8768, allocations: 235.8 kB / 0.5043 GB, free: 4.648 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007762/0.8846, allocations: 2.056 MB / 0.5063 GB, free: 2.504 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.29e-05/0.8847, allocations: 0 / 0.5063 GB, free: 2.504 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000362/0.8851, allocations: 88 kB / 0.5063 GB, free: 2.418 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.504e-05/0.8851, allocations: 48 kB / 0.5064 GB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005628/0.8908, allocations: 1.706 MB / 0.5081 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0219/0.9127, allocations: 7.924 MB / 0.5158 GB, free: 8.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005135/0.9179, allocations: 1.927 MB / 0.5177 GB, free: 6.539 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003722/0.9217, allocations: 1.347 MB / 0.519 GB, free: 5.184 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/0.9219, allocations: 33.94 kB / 0.519 GB, free: 5.152 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.678e-05/0.922, allocations: 56.56 kB / 0.5191 GB, free: 5.086 MB / 442.7 MB Notification: Performance of pre-optimization done (n=208): time 4.498e-06/0.922, allocations: 3.938 kB / 0.5191 GB, free: 5.082 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.3657/1.288, allocations: 12.62 MB / 0.5314 GB, free: 113.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/1.288, allocations: 394.5 kB / 0.5318 GB, free: 113.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003189/1.291, allocations: 1.32 MB / 0.5331 GB, free: 113.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006002/1.292, allocations: 70.7 kB / 0.5331 GB, free: 113.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007096/1.292, allocations: 0.8022 MB / 0.5339 GB, free: 112.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001103/1.294, allocations: 0.8347 MB / 0.5347 GB, free: 112.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/1.294, allocations: 49.17 kB / 0.5348 GB, free: 112.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/1.294, allocations: 392.4 kB / 0.5352 GB, free: 112.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002663/1.297, allocations: 0.9121 MB / 0.536 GB, free: 112.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002985/1.3, allocations: 1.134 MB / 0.5372 GB, free: 112 MB / 442.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.05005/1.35, allocations: 7.111 MB / 0.5441 GB, free: 111.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/1.35, allocations: 0 / 0.5441 GB, free: 111.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.03746/1.387, allocations: 5.858 MB / 0.5498 GB, free: 111.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/1.387, allocations: 7.281 kB / 0.5498 GB, free: 111.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.163e-05/1.387, allocations: 7.297 kB / 0.5498 GB, free: 111.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03441/1.422, allocations: 3.6 MB / 0.5534 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003262/1.425, allocations: 379.9 kB / 0.5537 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06386/1.489, allocations: 24.61 MB / 0.5777 GB, free: 92.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004034/1.493, allocations: 146.4 kB / 0.5779 GB, free: 92.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004348/1.494, allocations: 82.33 kB / 0.578 GB, free: 92.65 MB / 442.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]. 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.0007084/1.494, allocations: 224.5 kB / 0.5782 GB, free: 92.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007107/1.495, allocations: 204.1 kB / 0.5784 GB, free: 92.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/1.506, allocations: 3.237 MB / 0.5815 GB, free: 90.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.391e-05/1.506, allocations: 25.09 kB / 0.5816 GB, free: 90.99 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/1.506, allocations: 7.406 kB / 0.5816 GB, free: 90.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.487e-05/1.506, allocations: 15.23 kB / 0.5816 GB, free: 90.99 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02007/1.526, allocations: 6.098 MB / 0.5875 GB, free: 88.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.969e-05/1.526, allocations: 0 / 0.5875 GB, free: 88.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004131/1.53, allocations: 432.8 kB / 0.5879 GB, free: 88.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00917/1.54, allocations: 1.205 MB / 0.5891 GB, free: 88.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005796/1.54, allocations: 62.2 kB / 0.5892 GB, free: 88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02417/1.564, allocations: 16.93 MB / 0.6057 GB, free: 71.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.565, allocations: 0 / 0.6057 GB, free: 71.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01602/1.581, allocations: 4.769 MB / 0.6104 GB, free: 66.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001784/1.582, allocations: 0.5347 MB / 0.6109 GB, free: 66.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006585/1.583, allocations: 59.61 kB / 0.611 GB, free: 66.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003708/1.587, allocations: 158.2 kB / 0.6111 GB, free: 66.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007111/1.588, allocations: 197.2 kB / 0.6113 GB, free: 65.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002668/1.588, allocations: 74.5 kB / 0.6114 GB, free: 65.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00202/1.59, allocations: 1.011 MB / 0.6124 GB, free: 64.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.59, allocations: 0 / 0.6124 GB, free: 64.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004682/1.595, allocations: 0.7873 MB / 0.6131 GB, free: 64.14 MB / 442.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.017/1.612, allocations: 5.699 MB / 0.6187 GB, free: 58.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008465/1.62, allocations: 3.645 MB / 0.6222 GB, free: 55.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.62, allocations: 4 kB / 0.6223 GB, free: 55.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005035/1.625, allocations: 2.415 MB / 0.6246 GB, free: 52.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/1.628, allocations: 334.8 kB / 0.6249 GB, free: 52.44 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/1.642, allocations: 4.859 MB / 0.6297 GB, free: 48.15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/1.643, allocations: 1.644 MB / 0.6313 GB, free: 46.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001987/1.645, allocations: 267.2 kB / 0.6315 GB, free: 46.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/1.647, allocations: 0.881 MB / 0.6324 GB, free: 45.83 MB / 442.7 MB Notification: Performance of SimCode: time 1.142e-06/1.647, allocations: 0 / 0.6324 GB, free: 45.83 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4858/2.133, allocations: 61.08 MB / 0.692 GB, free: 101.9 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/2.133, allocations: 224.1 kB / 0.6923 GB, free: 101.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.045/7.178, allocations: 0 / 0.6923 GB, free: 101.6 MB / 442.7 MB