Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.917/1.917, allocations: 205.8 MB / 218.9 MB, free: 9.277 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.118e-05/3.123e-05, allocations: 4 kB / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.09981, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4425/0.5423, allocations: 111 MB / 428.1 MB, free: 9.434 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/0.5427, allocations: 86.44 kB / 428.1 MB, free: 9.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2475/0.7902, allocations: 53.19 MB / 481.3 MB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.7903, allocations: 0 / 481.3 MB, free: 10.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002242/0.7905, allocations: 55.94 kB / 481.4 MB, free: 10.94 MB / 394.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.009904/0.8004, allocations: 2.235 MB / 483.6 MB, free: 8.645 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.8005, allocations: 12.03 kB / 483.6 MB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009233/0.8014, allocations: 274.4 kB / 483.9 MB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009682/0.8024, allocations: 276.8 kB / 484.2 MB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004401/0.8068, allocations: 1.354 MB / 485.5 MB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003594/0.8072, allocations: 244.9 kB / 485.8 MB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001421/0.8087, allocations: 235.8 kB / 486 MB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006986/0.8157, allocations: 2.059 MB / 488 MB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.326e-05/0.8158, allocations: 3.938 kB / 488.1 MB, free: 4.035 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004437/0.8163, allocations: 84 kB / 488.1 MB, free: 3.953 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-05/0.8164, allocations: 48 kB / 488.2 MB, free: 3.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007601/0.824, allocations: 1.722 MB / 489.9 MB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0287/0.8527, allocations: 7.907 MB / 497.8 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007138/0.8599, allocations: 1.923 MB / 499.7 MB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005724/0.8657, allocations: 1.347 MB / 0.4893 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/0.866, allocations: 29.97 kB / 0.4894 GB, free: 6.688 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.8661, allocations: 60.55 kB / 0.4894 GB, free: 6.617 MB / 410.7 MB Notification: Performance of pre-optimization done (n=208): time 7.754e-06/0.8661, allocations: 4 kB / 0.4894 GB, free: 6.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=250): time 0.09618/0.9623, allocations: 12.63 MB / 0.5018 GB, free: 9.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002536/0.9626, allocations: 393.8 kB / 0.5021 GB, free: 9.441 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003351/0.966, allocations: 1.318 MB / 0.5034 GB, free: 8.117 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005737/0.9666, allocations: 73.7 kB / 0.5035 GB, free: 8.039 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008806/0.9675, allocations: 0.7965 MB / 0.5043 GB, free: 7.234 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001127/0.9686, allocations: 0.8392 MB / 0.5051 GB, free: 6.383 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/0.9689, allocations: 48 kB / 0.5051 GB, free: 6.336 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002402/0.9691, allocations: 398.7 kB / 0.5055 GB, free: 5.941 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002842/0.972, allocations: 0.9107 MB / 0.5064 GB, free: 5.027 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003049/0.9751, allocations: 1.132 MB / 0.5075 GB, free: 3.84 MB / 426.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.3198/1.295, allocations: 7.097 MB / 0.5144 GB, free: 112.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/1.295, allocations: 0 / 0.5144 GB, free: 112.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.04174/1.337, allocations: 5.859 MB / 0.5202 GB, free: 112.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/1.337, allocations: 5.531 kB / 0.5202 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.837e-05/1.337, allocations: 12.25 kB / 0.5202 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03572/1.373, allocations: 3.6 MB / 0.5237 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003222/1.376, allocations: 376.1 kB / 0.5241 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06271/1.439, allocations: 24.6 MB / 0.5481 GB, free: 98.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004023/1.443, allocations: 153.6 kB / 0.5482 GB, free: 98.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003078/1.443, allocations: 84.97 kB / 0.5483 GB, free: 98.71 MB / 426.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.0006653/1.444, allocations: 230.3 kB / 0.5485 GB, free: 98.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006787/1.444, allocations: 208.8 kB / 0.5487 GB, free: 98.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/1.456, allocations: 3.225 MB / 0.5519 GB, free: 97.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.362e-05/1.456, allocations: 27.12 kB / 0.5519 GB, free: 97.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/1.456, allocations: 3.75 kB / 0.5519 GB, free: 97.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.339e-05/1.456, allocations: 15.14 kB / 0.5519 GB, free: 97.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01931/1.475, allocations: 6.104 MB / 0.5579 GB, free: 94.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/1.475, allocations: 0 / 0.5579 GB, free: 94.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004015/1.479, allocations: 435 kB / 0.5583 GB, free: 94.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009121/1.488, allocations: 1.195 MB / 0.5595 GB, free: 94.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004375/1.489, allocations: 68.27 kB / 0.5595 GB, free: 94.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02452/1.513, allocations: 16.93 MB / 0.5761 GB, free: 79.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.513, allocations: 3.953 kB / 0.5761 GB, free: 79.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/1.529, allocations: 4.764 MB / 0.5807 GB, free: 77.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/1.531, allocations: 0.5289 MB / 0.5812 GB, free: 76.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005021/1.531, allocations: 58.61 kB / 0.5813 GB, free: 76.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00346/1.535, allocations: 156.6 kB / 0.5814 GB, free: 76.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000654/1.535, allocations: 205.8 kB / 0.5816 GB, free: 76.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002223/1.536, allocations: 69.86 kB / 0.5817 GB, free: 76.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00197/1.538, allocations: 1.008 MB / 0.5827 GB, free: 76.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.538, allocations: 0 / 0.5827 GB, free: 76.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004178/1.542, allocations: 0.7776 MB / 0.5834 GB, free: 76.09 MB / 426.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.01627/1.558, allocations: 5.715 MB / 0.589 GB, free: 71.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009062/1.567, allocations: 3.646 MB / 0.5926 GB, free: 67.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/1.567, allocations: 7.391 kB / 0.5926 GB, free: 67.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007286/1.574, allocations: 2.406 MB / 0.5949 GB, free: 65.26 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004568/1.579, allocations: 333.8 kB / 0.5953 GB, free: 64.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04065/1.62, allocations: 4.866 MB / 0.6 GB, free: 60.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006134/1.626, allocations: 1.645 MB / 0.6016 GB, free: 59.37 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002906/1.629, allocations: 263.4 kB / 0.6019 GB, free: 59.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00271/1.632, allocations: 0.8864 MB / 0.6027 GB, free: 58.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.684e-06/1.632, allocations: 0 / 0.6027 GB, free: 58.38 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2029/1.835, allocations: 61.07 MB / 0.6624 GB, free: 6.062 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/1.835, allocations: 223.8 kB / 0.6626 GB, free: 5.832 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.889/6.724, allocations: 3.906 kB / 0.6626 GB, free: 5.828 MB / 426.7 MB