Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.296/2.296, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.036e-05/3.036e-05, allocations: 3.188 kB / 249.8 MB, free: 5.258 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1051, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5043/0.6095, allocations: 105 MB / 399.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003624/0.6099, allocations: 82.8 kB / 399.4 MB, free: 15.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3136/0.9236, allocations: 52.68 MB / 452.1 MB, free: 3.828 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.9236, allocations: 0 / 452.1 MB, free: 3.828 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002299/0.9239, allocations: 51.94 kB / 452.1 MB, free: 3.777 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.01102/0.9349, allocations: 2.239 MB / 454.4 MB, free: 1.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/0.935, allocations: 8.031 kB / 454.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.9366, allocations: 276.8 kB / 454.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005342/0.942, allocations: 1.358 MB / 456 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003444/0.9424, allocations: 173 kB / 456.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001501/0.9439, allocations: 163.7 kB / 456.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007296/0.9512, allocations: 1.628 MB / 458 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007077/0.9584, allocations: 1.79 MB / 459.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-05/0.9585, allocations: 3.938 kB / 459.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003069/0.9588, allocations: 4 kB / 459.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.16e-05/0.9589, allocations: 51.94 kB / 459.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02769/0.9866, allocations: 7.566 MB / 467.4 MB, free: 4.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005843/0.9925, allocations: 1.852 MB / 469.2 MB, free: 2.199 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00456/0.9971, allocations: 1.269 MB / 470.5 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003125/0.9975, allocations: 26 kB / 470.5 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.392e-05/0.9976, allocations: 64.5 kB / 470.6 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of pre-optimization done (n=208): time 6.171e-06/0.9976, allocations: 0 / 470.6 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of matching and sorting (n=250): time 0.06562/1.063, allocations: 9.107 MB / 479.7 MB, free: 7.645 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002513/1.064, allocations: 397.8 kB / 480.1 MB, free: 7.168 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003563/1.067, allocations: 1.174 MB / 481.3 MB, free: 5.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006653/1.068, allocations: 25.7 kB / 481.3 MB, free: 5.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001049/1.069, allocations: 0.8112 MB / 482.1 MB, free: 5.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001554/1.07, allocations: 0.8081 MB / 482.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/1.071, allocations: 0 / 482.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002919/1.071, allocations: 394.7 kB / 483.3 MB, free: 3.922 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003064/1.074, allocations: 0.8678 MB / 484.2 MB, free: 3.051 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003659/1.078, allocations: 1.09 MB / 485.2 MB, free: 1.906 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.06178/1.14, allocations: 6.956 MB / 492.2 MB, free: 10.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-05/1.14, allocations: 0 / 492.2 MB, free: 10.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.04782/1.188, allocations: 5.648 MB / 497.9 MB, free: 5.152 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.692e-05/1.188, allocations: 7.953 kB / 497.9 MB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.526e-05/1.188, allocations: 7.984 kB / 497.9 MB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04183/1.23, allocations: 3.577 MB / 0.4897 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004099/1.234, allocations: 375.5 kB / 0.4901 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3764/1.61, allocations: 23.98 MB / 0.5135 GB, free: 88.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00454/1.615, allocations: 92.88 kB / 0.5136 GB, free: 88.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007934/1.616, allocations: 84.7 kB / 0.5136 GB, free: 88.48 MB / 394.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]. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformer.core2.Hstat:VARIABLE(unit = "A/m" protected = true ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformer.core1.Hstat:VARIABLE(unit = "A/m" protected = true ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformer.core3.Hstat:VARIABLE(unit = "A/m" protected = true ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real 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.0009612/1.617, allocations: 148.4 kB / 0.5138 GB, free: 88.37 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01618/1.633, allocations: 3.06 MB / 0.5168 GB, free: 88.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/1.634, allocations: 202.9 kB / 0.517 GB, free: 88.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/1.648, allocations: 2.992 MB / 0.5199 GB, free: 87.85 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.537e-05/1.648, allocations: 30.91 kB / 0.5199 GB, free: 87.85 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.357e-05/1.648, allocations: 3.969 kB / 0.5199 GB, free: 87.85 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.399e-05/1.648, allocations: 11.34 kB / 0.5199 GB, free: 87.85 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0242/1.672, allocations: 5.639 MB / 0.5254 GB, free: 85.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.411e-05/1.672, allocations: 3.312 kB / 0.5254 GB, free: 85.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004882/1.677, allocations: 430 kB / 0.5259 GB, free: 85.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01065/1.688, allocations: 1.175 MB / 0.527 GB, free: 85.42 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007033/1.689, allocations: 25.45 kB / 0.527 GB, free: 85.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02871/1.717, allocations: 16.44 MB / 0.5431 GB, free: 71.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.717, allocations: 0 / 0.5431 GB, free: 71.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01882/1.736, allocations: 4.551 MB / 0.5475 GB, free: 69.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002235/1.738, allocations: 0.5169 MB / 0.548 GB, free: 68.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009547/1.739, allocations: 15.73 kB / 0.548 GB, free: 68.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004553/1.744, allocations: 110.9 kB / 0.5481 GB, free: 68.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001219/1.745, allocations: 206.4 kB / 0.5483 GB, free: 68.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000491/1.746, allocations: 67.66 kB / 0.5484 GB, free: 68.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002296/1.748, allocations: 0.886 MB / 0.5493 GB, free: 68.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.61e-07/1.748, allocations: 0 / 0.5493 GB, free: 68.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006299/1.754, allocations: 0.6858 MB / 0.5499 GB, free: 68.39 MB / 394.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.02034/1.775, allocations: 5.43 MB / 0.5552 GB, free: 65.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009854/1.785, allocations: 3.57 MB / 0.5587 GB, free: 63.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.785, allocations: 3.938 kB / 0.5587 GB, free: 63.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006553/1.791, allocations: 2.37 MB / 0.5611 GB, free: 61.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003553/1.795, allocations: 235.9 kB / 0.5613 GB, free: 61.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/1.812, allocations: 4.645 MB / 0.5658 GB, free: 59.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001729/1.814, allocations: 1.641 MB / 0.5674 GB, free: 58.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002453/1.817, allocations: 254.9 kB / 0.5677 GB, free: 58.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002588/1.819, allocations: 0.8755 MB / 0.5685 GB, free: 57.6 MB / 394.7 MB Notification: Performance of SimCode: time 1.533e-06/1.819, allocations: 0 / 0.5685 GB, free: 57.6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1885/2.008, allocations: 55.9 MB / 0.6231 GB, free: 11.54 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003/2.008, allocations: 193 kB / 0.6233 GB, free: 11.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.982/7.99, allocations: 0 / 0.6233 GB, free: 11.34 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat does not exist to compare? outputFormat=mat