Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.832/1.832, allocations: 194.9 MB / 208.5 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.969e-05/2.981e-05, allocations: 4 kB / 255.5 MB, free: 3.078 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09173, allocations: 44.5 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4371/0.5289, allocations: 105.7 MB / 405.7 MB, free: 9.402 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.5292, allocations: 85.33 kB / 405.7 MB, free: 9.387 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2772/0.8064, allocations: 53.3 MB / 459 MB, free: 9.301 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.8064, allocations: 0 / 459 MB, free: 9.301 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001794/0.8066, allocations: 59.98 kB / 459.1 MB, free: 9.242 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.008616/0.8153, allocations: 2.236 MB / 461.3 MB, free: 7.094 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.8153, allocations: 8.031 kB / 461.3 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006331/0.816, allocations: 280.9 kB / 461.6 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000881/0.8169, allocations: 280.8 kB / 461.9 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00379/0.8207, allocations: 1.349 MB / 463.2 MB, free: 5.609 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000311/0.821, allocations: 241.4 kB / 463.5 MB, free: 5.371 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009749/0.822, allocations: 235.8 kB / 463.7 MB, free: 5.141 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005651/0.8277, allocations: 2.056 MB / 465.8 MB, free: 2.996 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.784e-05/0.8278, allocations: 0 / 465.8 MB, free: 2.996 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000312/0.8281, allocations: 83.94 kB / 465.8 MB, free: 2.914 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.989e-05/0.8282, allocations: 51.98 kB / 465.9 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005324/0.8335, allocations: 1.722 MB / 467.6 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01994/0.8535, allocations: 7.908 MB / 475.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004695/0.8582, allocations: 1.919 MB / 477.4 MB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003643/0.8619, allocations: 1.347 MB / 478.8 MB, free: 5.688 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.8621, allocations: 25.98 kB / 478.8 MB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.24e-05/0.8622, allocations: 68.45 kB / 478.9 MB, free: 5.586 MB / 362.7 MB Notification: Performance of pre-optimization done (n=208): time 4.92e-06/0.8622, allocations: 0 / 478.9 MB, free: 5.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=250): time 0.1058/0.968, allocations: 12.63 MB / 491.5 MB, free: 8.871 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002372/0.9683, allocations: 389.8 kB / 491.9 MB, free: 8.406 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003275/0.9716, allocations: 1.326 MB / 493.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005107/0.9721, allocations: 69.7 kB / 493.3 MB, free: 7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007538/0.9729, allocations: 0.7579 MB / 494 MB, free: 6.234 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001103/0.974, allocations: 0.8315 MB / 494.9 MB, free: 5.391 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/0.9743, allocations: 55.98 kB / 494.9 MB, free: 5.336 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000249/0.9746, allocations: 399.5 kB / 495.3 MB, free: 4.938 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002896/0.9775, allocations: 0.9108 MB / 496.2 MB, free: 4.023 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00306/0.9805, allocations: 1.14 MB / 497.4 MB, free: 2.828 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.04767/1.028, allocations: 6.728 MB / 0.4923 GB, free: 12.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.028, allocations: 0 / 0.4923 GB, free: 12.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.04098/1.069, allocations: 5.755 MB / 0.4979 GB, free: 6.203 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/1.069, allocations: 4 kB / 0.4979 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.927e-05/1.069, allocations: 7.984 kB / 0.4979 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03632/1.106, allocations: 3.605 MB / 0.5014 GB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003423/1.109, allocations: 371.5 kB / 0.5018 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3271/1.436, allocations: 24.59 MB / 0.5258 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003991/1.44, allocations: 143.6 kB / 0.5259 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000299/1.441, allocations: 86.38 kB / 0.526 GB, free: 103.2 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.0006556/1.441, allocations: 232.5 kB / 0.5262 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006022/1.442, allocations: 210 kB / 0.5264 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/1.453, allocations: 3.229 MB / 0.5296 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-05/1.453, allocations: 26.56 kB / 0.5296 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/1.453, allocations: 7.797 kB / 0.5296 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-05/1.453, allocations: 16.19 kB / 0.5296 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02101/1.474, allocations: 6.108 MB / 0.5356 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/1.475, allocations: 3.188 kB / 0.5356 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004063/1.479, allocations: 433.4 kB / 0.536 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009142/1.488, allocations: 1.195 MB / 0.5372 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005633/1.488, allocations: 60.69 kB / 0.5372 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02498/1.513, allocations: 16.94 MB / 0.5538 GB, free: 89.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.513, allocations: 6.062 kB / 0.5538 GB, free: 89.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01654/1.53, allocations: 4.77 MB / 0.5585 GB, free: 87.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001844/1.532, allocations: 0.5305 MB / 0.559 GB, free: 87.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006103/1.532, allocations: 60.88 kB / 0.559 GB, free: 87.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003594/1.536, allocations: 157.4 kB / 0.5592 GB, free: 87.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006865/1.537, allocations: 198.6 kB / 0.5594 GB, free: 87.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002324/1.537, allocations: 75.75 kB / 0.5594 GB, free: 87.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002308/1.539, allocations: 1.008 MB / 0.5604 GB, free: 86.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.539, allocations: 0 / 0.5604 GB, free: 86.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004931/1.544, allocations: 0.783 MB / 0.5612 GB, free: 86.54 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.02003/1.564, allocations: 5.703 MB / 0.5668 GB, free: 83.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01235/1.577, allocations: 3.65 MB / 0.5703 GB, free: 81.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/1.577, allocations: 3.781 kB / 0.5703 GB, free: 81.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007155/1.584, allocations: 2.416 MB / 0.5727 GB, free: 79.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00394/1.588, allocations: 330 kB / 0.573 GB, free: 79.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01878/1.607, allocations: 4.939 MB / 0.5778 GB, free: 77.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001852/1.609, allocations: 1.638 MB / 0.5794 GB, free: 76.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002783/1.612, allocations: 0.8961 MB / 0.5803 GB, free: 76.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.452e-06/1.612, allocations: 0 / 0.5803 GB, free: 76.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.315/5.926, allocations: 112.5 MB / 0.6902 GB, free: 103.8 MB / 410.7 MB