Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.824e-05, allocations: 0 / 292.8 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 50.41 MB / 343.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4792/0.5833, allocations: 114.8 MB / 458 MB, free: 11.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.5837, allocations: 86.83 kB / 458.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2486/0.8323, allocations: 54.15 MB / 0.5002 GB, free: 9.285 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.8324, allocations: 3.938 kB / 0.5002 GB, free: 9.281 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002103/0.8326, allocations: 56 kB / 0.5003 GB, free: 9.227 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.009277/0.8419, allocations: 2.231 MB / 0.5025 GB, free: 6.938 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.842, allocations: 12.03 kB / 0.5025 GB, free: 6.926 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008216/0.8428, allocations: 274.4 kB / 0.5027 GB, free: 6.648 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009521/0.8438, allocations: 280.7 kB / 0.503 GB, free: 6.371 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004094/0.8479, allocations: 1.354 MB / 0.5043 GB, free: 4.965 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003102/0.8482, allocations: 244.9 kB / 0.5045 GB, free: 4.707 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/0.8493, allocations: 235.8 kB / 0.5048 GB, free: 4.477 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005796/0.8551, allocations: 2.056 MB / 0.5068 GB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-05/0.8552, allocations: 3.938 kB / 0.5068 GB, free: 2.328 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003252/0.8555, allocations: 84 kB / 0.5069 GB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.93e-05/0.8556, allocations: 48 kB / 0.5069 GB, free: 2.199 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005441/0.861, allocations: 1.71 MB / 0.5086 GB, free: 500 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02198/0.8831, allocations: 7.921 MB / 0.5163 GB, free: 8.328 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005077/0.8882, allocations: 1.923 MB / 0.5182 GB, free: 6.371 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003772/0.892, allocations: 1.355 MB / 0.5195 GB, free: 5.004 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.8922, allocations: 29.98 kB / 0.5195 GB, free: 4.977 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.678e-05/0.8923, allocations: 56.56 kB / 0.5196 GB, free: 4.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=208): time 4.789e-06/0.8923, allocations: 4 kB / 0.5196 GB, free: 4.906 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.3701/1.262, allocations: 12.62 MB / 0.5319 GB, free: 113.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/1.263, allocations: 395.9 kB / 0.5323 GB, free: 113.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003232/1.266, allocations: 1.323 MB / 0.5336 GB, free: 112.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006131/1.267, allocations: 73.58 kB / 0.5337 GB, free: 112.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000748/1.267, allocations: 0.8 MB / 0.5344 GB, free: 112.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001127/1.268, allocations: 0.8341 MB / 0.5353 GB, free: 112.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/1.269, allocations: 46.53 kB / 0.5353 GB, free: 112.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/1.269, allocations: 395.5 kB / 0.5357 GB, free: 111.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002704/1.272, allocations: 0.9087 MB / 0.5366 GB, free: 111.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/1.275, allocations: 1.132 MB / 0.5377 GB, free: 111.8 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.07212/1.347, allocations: 7.106 MB / 0.5446 GB, free: 111.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.525e-05/1.347, allocations: 0 / 0.5446 GB, free: 111.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.04305/1.39, allocations: 5.864 MB / 0.5503 GB, free: 111 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/1.39, allocations: 6.969 kB / 0.5503 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.372e-05/1.39, allocations: 12.5 kB / 0.5504 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03441/1.424, allocations: 3.595 MB / 0.5539 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003329/1.428, allocations: 377.2 kB / 0.5542 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06261/1.49, allocations: 24.61 MB / 0.5783 GB, free: 92.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004071/1.495, allocations: 141.3 kB / 0.5784 GB, free: 92.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004132/1.495, allocations: 85.77 kB / 0.5785 GB, free: 92.73 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.0007082/1.496, allocations: 231.8 kB / 0.5787 GB, free: 92.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007435/1.497, allocations: 206.8 kB / 0.5789 GB, free: 92.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/1.508, allocations: 3.226 MB / 0.582 GB, free: 91.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.332e-05/1.508, allocations: 28.22 kB / 0.5821 GB, free: 91.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/1.508, allocations: 2.438 kB / 0.5821 GB, free: 91.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.262e-05/1.508, allocations: 26.38 kB / 0.5821 GB, free: 91.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02147/1.529, allocations: 6.089 MB / 0.588 GB, free: 88.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.991e-05/1.529, allocations: 0 / 0.588 GB, free: 88.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004267/1.534, allocations: 440.8 kB / 0.5885 GB, free: 88.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009241/1.543, allocations: 1.197 MB / 0.5896 GB, free: 88.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006007/1.544, allocations: 63.72 kB / 0.5897 GB, free: 88.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02505/1.569, allocations: 16.93 MB / 0.6062 GB, free: 71.26 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.569, allocations: 4.062 kB / 0.6062 GB, free: 71.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/1.585, allocations: 4.77 MB / 0.6109 GB, free: 66.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001849/1.587, allocations: 0.5334 MB / 0.6114 GB, free: 66.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007336/1.588, allocations: 55.33 kB / 0.6115 GB, free: 66.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003996/1.592, allocations: 155.9 kB / 0.6116 GB, free: 66.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008961/1.593, allocations: 204.3 kB / 0.6118 GB, free: 65.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002973/1.593, allocations: 71.89 kB / 0.6119 GB, free: 65.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00218/1.595, allocations: 1.013 MB / 0.6129 GB, free: 64.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.132e-06/1.595, allocations: 3.609 kB / 0.6129 GB, free: 64.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005242/1.601, allocations: 0.7716 MB / 0.6136 GB, free: 64.19 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.01786/1.618, allocations: 5.708 MB / 0.6192 GB, free: 58.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008818/1.627, allocations: 3.64 MB / 0.6228 GB, free: 55.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/1.627, allocations: 4 kB / 0.6228 GB, free: 55.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005406/1.633, allocations: 2.419 MB / 0.6251 GB, free: 52.76 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/1.636, allocations: 343.5 kB / 0.6255 GB, free: 52.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/1.655, allocations: 4.86 MB / 0.6302 GB, free: 48.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002122/1.657, allocations: 1.633 MB / 0.6318 GB, free: 46.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003189/1.66, allocations: 265.9 kB / 0.632 GB, free: 46.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003122/1.663, allocations: 0.8829 MB / 0.6329 GB, free: 45.88 MB / 442.7 MB Notification: Performance of SimCode: time 2.314e-06/1.663, allocations: 0 / 0.6329 GB, free: 45.88 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4412/2.105, allocations: 61.07 MB / 0.6926 GB, free: 101.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/2.105, allocations: 220.9 kB / 0.6928 GB, free: 101.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.14/7.245, allocations: 0 / 0.6928 GB, free: 101.6 MB / 442.7 MB