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.833/1.833, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.822e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08908/0.08913, allocations: 44.52 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4391/0.5283, allocations: 105.7 MB / 405.6 MB, free: 9.316 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.5286, allocations: 81.02 kB / 405.7 MB, free: 9.305 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2357/0.7643, allocations: 53.31 MB / 459 MB, free: 8.863 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7644, allocations: 0 / 459 MB, free: 8.863 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002131/0.7646, allocations: 52 kB / 459.1 MB, free: 8.812 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.009794/0.7744, allocations: 2.236 MB / 461.3 MB, free: 6.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.7745, allocations: 8.031 kB / 461.3 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000937/0.7755, allocations: 274.7 kB / 461.6 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.7765, allocations: 276.8 kB / 461.9 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004345/0.7809, allocations: 1.347 MB / 463.2 MB, free: 5.191 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003445/0.7813, allocations: 244.3 kB / 463.5 MB, free: 4.941 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001168/0.7825, allocations: 239.7 kB / 463.7 MB, free: 4.707 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006088/0.7886, allocations: 2.071 MB / 465.8 MB, free: 2.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.63e-05/0.7887, allocations: 11.94 kB / 465.8 MB, free: 2.535 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003321/0.789, allocations: 83.94 kB / 465.9 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.173e-05/0.7891, allocations: 48 kB / 465.9 MB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005944/0.7951, allocations: 1.741 MB / 467.6 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02332/0.8184, allocations: 7.919 MB / 475.6 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005344/0.8238, allocations: 1.942 MB / 477.5 MB, free: 6.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003898/0.8278, allocations: 1.351 MB / 478.9 MB, free: 5.168 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/0.828, allocations: 25.98 kB / 478.9 MB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.227e-05/0.8281, allocations: 64.45 kB / 478.9 MB, free: 5.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=208): time 4.799e-06/0.8281, allocations: 0 / 478.9 MB, free: 5.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=250): time 0.08715/0.9153, allocations: 12.63 MB / 491.6 MB, free: 8.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002523/0.9156, allocations: 389.8 kB / 492 MB, free: 7.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003452/0.919, allocations: 1.322 MB / 493.3 MB, free: 6.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000628/0.9197, allocations: 73.7 kB / 493.4 MB, free: 6.484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009098/0.9206, allocations: 0.8003 MB / 494.2 MB, free: 5.676 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001308/0.9219, allocations: 0.8393 MB / 495 MB, free: 4.824 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.9222, allocations: 51.98 kB / 495 MB, free: 4.773 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002769/0.9225, allocations: 394.7 kB / 495.4 MB, free: 4.383 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00308/0.9256, allocations: 0.9184 MB / 496.3 MB, free: 3.461 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003407/0.9291, allocations: 1.149 MB / 497.5 MB, free: 2.254 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.05251/0.9816, allocations: 7.107 MB / 0.4928 GB, free: 11.08 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.9816, allocations: 0 / 0.4928 GB, free: 11.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.04107/1.023, allocations: 5.866 MB / 0.4985 GB, free: 5.137 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/1.023, allocations: 4 kB / 0.4985 GB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.692e-05/1.023, allocations: 4 kB / 0.4985 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03618/1.059, allocations: 3.615 MB / 0.502 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003488/1.063, allocations: 375.5 kB / 0.5024 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3499/1.413, allocations: 24.59 MB / 0.5264 GB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00578/1.418, allocations: 142.7 kB / 0.5265 GB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/1.419, allocations: 80.58 kB / 0.5266 GB, free: 102.4 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.001559/1.421, allocations: 235.5 kB / 0.5268 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009686/1.422, allocations: 214.6 kB / 0.5271 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/1.435, allocations: 3.233 MB / 0.5302 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.087e-05/1.435, allocations: 28.02 kB / 0.5302 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-05/1.435, allocations: 7.375 kB / 0.5302 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.212e-05/1.435, allocations: 10.97 kB / 0.5303 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02424/1.46, allocations: 6.096 MB / 0.5362 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.303e-05/1.46, allocations: 3.594 kB / 0.5362 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004301/1.464, allocations: 437.5 kB / 0.5366 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00934/1.474, allocations: 1.193 MB / 0.5378 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006194/1.474, allocations: 63.19 kB / 0.5379 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02553/1.5, allocations: 16.94 MB / 0.5544 GB, free: 88.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.5, allocations: 8.438 kB / 0.5544 GB, free: 88.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01728/1.517, allocations: 4.768 MB / 0.5591 GB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/1.519, allocations: 0.5332 MB / 0.5596 GB, free: 86.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006918/1.52, allocations: 66.22 kB / 0.5596 GB, free: 86.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00381/1.524, allocations: 155.3 kB / 0.5598 GB, free: 86.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009267/1.525, allocations: 189.6 kB / 0.56 GB, free: 86.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002479/1.525, allocations: 75.16 kB / 0.56 GB, free: 86.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002191/1.527, allocations: 1.014 MB / 0.561 GB, free: 85.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.62e-07/1.527, allocations: 0 / 0.561 GB, free: 85.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004865/1.532, allocations: 0.776 MB / 0.5618 GB, free: 85.62 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.01738/1.549, allocations: 5.701 MB / 0.5674 GB, free: 82.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008815/1.558, allocations: 3.757 MB / 0.571 GB, free: 80.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.558, allocations: 0 / 0.571 GB, free: 80.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005536/1.564, allocations: 2.491 MB / 0.5735 GB, free: 78.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/1.567, allocations: 336.4 kB / 0.5738 GB, free: 78.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/1.581, allocations: 4.884 MB / 0.5786 GB, free: 76.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/1.582, allocations: 1.642 MB / 0.5802 GB, free: 75.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002253/1.585, allocations: 266.5 kB / 0.5804 GB, free: 75.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002282/1.587, allocations: 0.8855 MB / 0.5813 GB, free: 75.06 MB / 410.7 MB Notification: Performance of SimCode: time 1.874e-06/1.587, allocations: 0 / 0.5813 GB, free: 75.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1429/1.73, allocations: 61.4 MB / 0.6412 GB, free: 31.25 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/1.73, allocations: 221.2 kB / 0.6415 GB, free: 31.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.232/6.962, allocations: 7.938 kB / 0.6415 GB, free: 31.02 MB / 410.7 MB