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.869/1.869, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.64e-05/4.652e-05, allocations: 4 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09225/0.09234, allocations: 44.51 MB / 300 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4725/0.5648, allocations: 105.7 MB / 405.7 MB, free: 9.309 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.5652, allocations: 87.38 kB / 405.8 MB, free: 9.293 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2493/0.8145, allocations: 53.3 MB / 459.1 MB, free: 8.832 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.8145, allocations: 0 / 459.1 MB, free: 8.832 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002583/0.8148, allocations: 59.98 kB / 459.1 MB, free: 8.773 MB / 346.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.01042/0.8252, allocations: 2.236 MB / 461.4 MB, free: 6.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.8253, allocations: 8.031 kB / 461.4 MB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001145/0.8265, allocations: 280.9 kB / 461.6 MB, free: 6.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.8279, allocations: 280.8 kB / 461.9 MB, free: 6.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004871/0.8328, allocations: 1.341 MB / 463.3 MB, free: 5.148 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000423/0.8333, allocations: 248 kB / 463.5 MB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/0.8348, allocations: 235.7 kB / 463.7 MB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007799/0.8426, allocations: 2.056 MB / 465.8 MB, free: 2.516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.773e-05/0.8428, allocations: 4 kB / 465.8 MB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004141/0.8432, allocations: 84 kB / 465.9 MB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.596e-05/0.8432, allocations: 44 kB / 465.9 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00692/0.8502, allocations: 1.714 MB / 467.6 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02582/0.8761, allocations: 7.907 MB / 475.5 MB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005528/0.8816, allocations: 1.923 MB / 477.5 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004358/0.886, allocations: 1.347 MB / 478.8 MB, free: 5.215 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003033/0.8864, allocations: 25.98 kB / 478.8 MB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.359e-05/0.8865, allocations: 80.44 kB / 478.9 MB, free: 5.102 MB / 362.7 MB Notification: Performance of pre-optimization done (n=208): time 5.13e-06/0.8865, allocations: 0 / 478.9 MB, free: 5.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=250): time 0.09396/0.9805, allocations: 12.62 MB / 491.5 MB, free: 8.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002675/0.9808, allocations: 397.8 kB / 491.9 MB, free: 7.922 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003903/0.9847, allocations: 1.322 MB / 493.2 MB, free: 6.594 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006583/0.9854, allocations: 69.7 kB / 493.3 MB, free: 6.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.9865, allocations: 0.8042 MB / 494.1 MB, free: 5.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001694/0.9882, allocations: 0.8354 MB / 494.9 MB, free: 4.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006861/0.989, allocations: 44 kB / 495 MB, free: 4.816 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004283/0.9895, allocations: 398.6 kB / 495.4 MB, free: 4.422 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004887/0.9944, allocations: 0.9068 MB / 496.3 MB, free: 3.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005477/0.9999, allocations: 1.144 MB / 497.4 MB, free: 2.312 MB / 378.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.07548/1.075, allocations: 7.107 MB / 0.4927 GB, free: 11.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/1.075, allocations: 0 / 0.4927 GB, free: 11.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.05937/1.135, allocations: 5.862 MB / 0.4984 GB, free: 5.199 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/1.135, allocations: 8 kB / 0.4984 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.061e-05/1.135, allocations: 7.984 kB / 0.4985 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05126/1.186, allocations: 3.602 MB / 0.502 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004686/1.191, allocations: 383.5 kB / 0.5023 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.434/1.625, allocations: 24.58 MB / 0.5263 GB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004167/1.629, allocations: 148.6 kB / 0.5265 GB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004695/1.63, allocations: 82.31 kB / 0.5266 GB, free: 102.1 MB / 410.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.0007112/1.631, allocations: 229.8 kB / 0.5268 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007766/1.631, allocations: 216.2 kB / 0.527 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.643, allocations: 3.23 MB / 0.5301 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-05/1.643, allocations: 29.23 kB / 0.5302 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.328e-05/1.643, allocations: 8.781 kB / 0.5302 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.2e-05/1.644, allocations: 13.98 kB / 0.5302 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02322/1.667, allocations: 6.099 MB / 0.5361 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.321e-05/1.667, allocations: 0 / 0.5361 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00435/1.671, allocations: 430.4 kB / 0.5366 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009609/1.681, allocations: 1.201 MB / 0.5377 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006775/1.682, allocations: 67.48 kB / 0.5378 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02537/1.707, allocations: 16.94 MB / 0.5543 GB, free: 88.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.707, allocations: 0 / 0.5543 GB, free: 88.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01631/1.723, allocations: 4.776 MB / 0.559 GB, free: 86.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/1.725, allocations: 0.5259 MB / 0.5595 GB, free: 85.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005514/1.726, allocations: 56.53 kB / 0.5596 GB, free: 85.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003508/1.729, allocations: 156.1 kB / 0.5597 GB, free: 85.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006827/1.73, allocations: 205.7 kB / 0.5599 GB, free: 85.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002238/1.73, allocations: 69.55 kB / 0.56 GB, free: 85.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002044/1.732, allocations: 1.008 MB / 0.561 GB, free: 85.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.573e-06/1.732, allocations: 0 / 0.561 GB, free: 85.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004825/1.737, allocations: 0.7801 MB / 0.5617 GB, free: 85.34 MB / 410.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.01727/1.754, allocations: 5.715 MB / 0.5673 GB, free: 82.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008824/1.763, allocations: 3.638 MB / 0.5709 GB, free: 80.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.763, allocations: 11.2 kB / 0.5709 GB, free: 80.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005523/1.769, allocations: 2.417 MB / 0.5732 GB, free: 78.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/1.772, allocations: 338.3 kB / 0.5735 GB, free: 78.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/1.786, allocations: 4.85 MB / 0.5783 GB, free: 76.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/1.788, allocations: 1.646 MB / 0.5799 GB, free: 75.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001976/1.79, allocations: 272.5 kB / 0.5802 GB, free: 75.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/1.791, allocations: 0.8819 MB / 0.581 GB, free: 74.99 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/1.791, allocations: 4 kB / 0.581 GB, free: 74.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.19/1.981, allocations: 61.14 MB / 0.6407 GB, free: 31.45 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/1.982, allocations: 211.8 kB / 0.6409 GB, free: 31.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.167/7.149, allocations: 3.938 kB / 0.6409 GB, free: 31.22 MB / 410.7 MB