Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.845/1.845, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 7.172e-05/7.158e-05, allocations: 7.984 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2744, allocations: 38.76 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.4357, allocations: 85.12 MB / 349 MB, free: 4.461 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003862/0.4362, allocations: 79.95 kB / 349.1 MB, free: 4.383 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.241/4.677, allocations: 0.778 GB / 1.119 GB, free: 32.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/4.677, allocations: 0 / 1.119 GB, free: 32.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001184/4.679, allocations: 382.3 kB / 1.119 GB, free: 32.07 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: 4707 * Number of variables: 4707 Notification: Performance of Generate backend data structure: time 0.07713/4.756, allocations: 15.11 MB / 1.134 GB, free: 27.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/4.756, allocations: 6.562 kB / 1.134 GB, free: 27.86 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01211/4.768, allocations: 2.434 MB / 1.136 GB, free: 27.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/4.781, allocations: 2.076 MB / 1.138 GB, free: 26.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0341/4.815, allocations: 10.57 MB / 1.149 GB, free: 25.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002359/4.818, allocations: 1.264 MB / 1.15 GB, free: 25.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008222/4.826, allocations: 1.628 MB / 1.152 GB, free: 25.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09356/4.92, allocations: 27.38 MB / 1.178 GB, free: 23.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009705/4.921, allocations: 20.36 kB / 1.178 GB, free: 23.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007436/4.928, allocations: 0.7004 MB / 1.179 GB, free: 23.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002015/4.93, allocations: 0.7425 MB / 1.18 GB, free: 23.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06586/4.996, allocations: 20.04 MB / 1.199 GB, free: 17.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6707/5.667, allocations: 85.65 MB / 1.283 GB, free: 27.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02811/5.695, allocations: 13.75 MB / 1.296 GB, free: 24.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.03022/5.725, allocations: 12.11 MB / 1.308 GB, free: 24.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/5.727, allocations: 240.1 kB / 1.308 GB, free: 24.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/5.727, allocations: 121 kB / 1.309 GB, free: 24.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1122): time 1.968e-05/5.727, allocations: 0 / 1.309 GB, free: 24.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=1122): time 0.06069/5.788, allocations: 21.42 MB / 1.329 GB, free: 24.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/5.788, allocations: 214.3 kB / 1.33 GB, free: 23.85 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007688/5.796, allocations: 2.944 MB / 1.333 GB, free: 23.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002532/5.798, allocations: 152.6 kB / 1.333 GB, free: 23.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004156/5.803, allocations: 5.57 MB / 1.338 GB, free: 21.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006434/5.809, allocations: 3.656 MB / 1.342 GB, free: 18.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002645/5.812, allocations: 151 kB / 1.342 GB, free: 18.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001587/5.813, allocations: 0.7369 MB / 1.343 GB, free: 18.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01923/5.833, allocations: 7.676 MB / 1.35 GB, free: 18.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02199/5.855, allocations: 9.155 MB / 1.359 GB, free: 15.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02298/5.878, allocations: 9.226 MB / 1.368 GB, free: 11.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.649e-05/5.878, allocations: 7.188 kB / 1.368 GB, free: 11.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=1307) (initialization): time 0.06856/5.946, allocations: 22.98 MB / 1.39 GB, free: 11.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.781e-05/5.946, allocations: 21.09 kB / 1.39 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001756/5.947, allocations: 34.38 kB / 1.391 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03511/5.982, allocations: 10.76 MB / 1.401 GB, free: 2.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007712/5.99, allocations: 0.9294 MB / 1.402 GB, free: 1.723 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4546/6.444, allocations: 22.54 MB / 1.424 GB, free: 71.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009756/6.454, allocations: 0.857 MB / 1.425 GB, free: 71.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003221/6.457, allocations: 359.7 kB / 1.425 GB, free: 71.67 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 158 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (552): * Single equations (assignments): 407 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 137 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {6 9,6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.006046/6.463, allocations: 492.8 kB / 1.426 GB, free: 71.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004108/6.468, allocations: 0.5687 MB / 1.426 GB, free: 71.32 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0826/6.55, allocations: 23.86 MB / 1.449 GB, free: 70.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08869/6.639, allocations: 21.26 MB / 1.47 GB, free: 70.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.898e-05/6.639, allocations: 0 / 1.47 GB, free: 70.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001736/6.639, allocations: 35.58 kB / 1.47 GB, free: 70.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1329/6.772, allocations: 44.87 MB / 1.514 GB, free: 59.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002621/6.772, allocations: 0 / 1.514 GB, free: 59.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008316/6.781, allocations: 0.5917 MB / 1.515 GB, free: 59.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05162/6.833, allocations: 10.69 MB / 1.525 GB, free: 56.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003466/6.836, allocations: 223.5 kB / 1.525 GB, free: 56.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06101/6.897, allocations: 22.41 MB / 1.547 GB, free: 43.81 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/6.897, allocations: 0.5625 kB / 1.547 GB, free: 43.81 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1077/7.005, allocations: 34.09 MB / 1.58 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008771/7.014, allocations: 2.432 MB / 1.583 GB, free: 11.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003685/7.017, allocations: 128 kB / 1.583 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008043/7.026, allocations: 254.3 kB / 1.583 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004475/7.03, allocations: 0.8878 MB / 1.584 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00295/7.033, allocations: 269.1 kB / 1.584 GB, free: 10.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006209/7.039, allocations: 2.274 MB / 1.587 GB, free: 8.391 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.274e-06/7.039, allocations: 0 / 1.587 GB, free: 8.391 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01703/7.056, allocations: 3.747 MB / 1.59 GB, free: 4.672 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (source.voltageSource[1].pin_p.reference.gamma,source.voltageSource[3].pin_p.reference.gamma,source.voltageSource[2].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (368): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 137 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {6 9,6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.6216/7.678, allocations: 36.17 MB / 1.626 GB, free: 68.85 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.07589/7.754, allocations: 18.42 MB / 1.644 GB, free: 68.49 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.731e-05/7.754, allocations: 4.188 kB / 1.644 GB, free: 68.49 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04683/7.801, allocations: 9.771 MB / 1.653 GB, free: 68.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02051/7.822, allocations: 1.317 MB / 1.654 GB, free: 68.21 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1701/7.992, allocations: 35.76 MB / 1.689 GB, free: 61.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04299/8.035, allocations: 11.57 MB / 1.701 GB, free: 57.46 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01067/8.046, allocations: 1.22 MB / 1.702 GB, free: 57.38 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01888/8.065, allocations: 5.395 MB / 1.707 GB, free: 52.56 MB / 474.7 MB Notification: Performance of SimCode: time 2.254e-06/8.065, allocations: 0 / 1.707 GB, free: 52.56 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.428/9.493, allocations: 292 MB / 1.992 GB, free: 60.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/9.493, allocations: 207.3 kB / 1.992 GB, free: 60.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.442/18.93, allocations: 0 / 1.992 GB, free: 60.39 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat