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.836/1.836, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.03e-05, allocations: 4 kB / 255.4 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09456/0.09461, allocations: 44.51 MB / 299.9 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.472/0.5667, allocations: 105.7 MB / 405.6 MB, free: 9.324 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.567, allocations: 84.86 kB / 405.7 MB, free: 9.312 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2598/0.8267, allocations: 53.3 MB / 459 MB, free: 9.309 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.8268, allocations: 0 / 459 MB, free: 9.309 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003161/0.8271, allocations: 60 kB / 459.1 MB, free: 9.25 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.02246/0.8496, allocations: 2.233 MB / 461.3 MB, free: 7.105 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.8497, allocations: 8.031 kB / 461.3 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001162/0.8509, allocations: 278.2 kB / 461.6 MB, free: 6.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.8522, allocations: 276.8 kB / 461.8 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/0.8635, allocations: 1.35 MB / 463.2 MB, free: 5.625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004582/0.864, allocations: 245.9 kB / 463.4 MB, free: 5.387 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008811/0.8728, allocations: 239.8 kB / 463.7 MB, free: 5.152 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01764/0.8905, allocations: 2.079 MB / 465.7 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.723e-05/0.8906, allocations: 0 / 465.7 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004084/0.891, allocations: 80 kB / 465.8 MB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.024e-05/0.8911, allocations: 48 kB / 465.9 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006726/0.8979, allocations: 1.745 MB / 467.6 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02324/0.9211, allocations: 7.907 MB / 475.5 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005265/0.9265, allocations: 1.945 MB / 477.5 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004047/0.9305, allocations: 1.344 MB / 478.8 MB, free: 5.633 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/0.9309, allocations: 33.98 kB / 478.8 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.85e-05/0.931, allocations: 72.44 kB / 478.9 MB, free: 5.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=208): time 4.949e-06/0.931, allocations: 0 / 478.9 MB, free: 5.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=250): time 0.08939/1.02, allocations: 12.63 MB / 491.5 MB, free: 8.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002573/1.021, allocations: 397.8 kB / 491.9 MB, free: 8.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003507/1.024, allocations: 1.322 MB / 493.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00064/1.025, allocations: 73.7 kB / 493.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008138/1.026, allocations: 0.7579 MB / 494.1 MB, free: 6.168 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001355/1.027, allocations: 0.8354 MB / 494.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/1.027, allocations: 44 kB / 495 MB, free: 5.277 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000278/1.028, allocations: 403.5 kB / 495.4 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003018/1.031, allocations: 0.9185 MB / 496.3 MB, free: 3.953 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003691/1.034, allocations: 1.149 MB / 497.4 MB, free: 2.746 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.05167/1.086, allocations: 6.726 MB / 0.4923 GB, free: 11.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/1.086, allocations: 0 / 0.4923 GB, free: 11.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.04193/1.128, allocations: 5.754 MB / 0.498 GB, free: 6.125 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/1.128, allocations: 4 kB / 0.498 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-05/1.128, allocations: 11.98 kB / 0.498 GB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03608/1.164, allocations: 3.614 MB / 0.5015 GB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003499/1.168, allocations: 383.4 kB / 0.5019 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3394/1.507, allocations: 24.58 MB / 0.5259 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004133/1.512, allocations: 152.6 kB / 0.526 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007136/1.512, allocations: 80.34 kB / 0.5261 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.000746/1.513, allocations: 238.7 kB / 0.5263 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009059/1.514, allocations: 207.5 kB / 0.5265 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.528, allocations: 3.237 MB / 0.5297 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.88e-05/1.528, allocations: 26.12 kB / 0.5297 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.662e-05/1.529, allocations: 4.281 kB / 0.5297 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.359e-05/1.529, allocations: 11.97 kB / 0.5297 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02568/1.554, allocations: 6.092 MB / 0.5357 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.107e-05/1.554, allocations: 0 / 0.5357 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004374/1.559, allocations: 432.8 kB / 0.5361 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009501/1.568, allocations: 1.198 MB / 0.5372 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007062/1.569, allocations: 65.28 kB / 0.5373 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02619/1.595, allocations: 16.95 MB / 0.5539 GB, free: 89.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.595, allocations: 0 / 0.5539 GB, free: 89.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0172/1.613, allocations: 4.78 MB / 0.5585 GB, free: 87.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001995/1.615, allocations: 0.5367 MB / 0.5591 GB, free: 87.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007775/1.615, allocations: 57.12 kB / 0.5591 GB, free: 87.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004108/1.62, allocations: 151.6 kB / 0.5592 GB, free: 87.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/1.621, allocations: 201.5 kB / 0.5594 GB, free: 87.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002699/1.621, allocations: 72.77 kB / 0.5595 GB, free: 87.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002313/1.623, allocations: 1.018 MB / 0.5605 GB, free: 86.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.22e-07/1.623, allocations: 0 / 0.5605 GB, free: 86.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005145/1.628, allocations: 0.7804 MB / 0.5613 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.01805/1.647, allocations: 5.702 MB / 0.5668 GB, free: 83.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009157/1.656, allocations: 3.746 MB / 0.5705 GB, free: 81.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.679e-06/1.656, allocations: 0 / 0.5705 GB, free: 81.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005949/1.662, allocations: 2.491 MB / 0.5729 GB, free: 79.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003258/1.665, allocations: 334.9 kB / 0.5732 GB, free: 79.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/1.68, allocations: 4.957 MB / 0.5781 GB, free: 77.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/1.682, allocations: 1.638 MB / 0.5797 GB, free: 76.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00221/1.684, allocations: 0.8973 MB / 0.5806 GB, free: 76 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/1.684, allocations: 0 / 0.5806 GB, free: 76 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.504/6.188, allocations: 112.7 MB / 0.6906 GB, free: 104.2 MB / 410.7 MB