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.883/1.883, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.818e-05/3.84e-05, allocations: 0 / 225.1 MB, free: 2.133 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2786, allocations: 38.77 MB / 263.9 MB, free: 9.684 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.435, allocations: 85.1 MB / 349 MB, free: 4.449 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/0.4354, allocations: 83.95 kB / 349 MB, free: 4.367 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.229/4.664, allocations: 0.778 GB / 1.119 GB, free: 32.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.873e-06/4.664, allocations: 0 / 1.119 GB, free: 32.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001084/4.665, allocations: 383.1 kB / 1.119 GB, free: 32.14 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.08307/4.748, allocations: 15.12 MB / 1.134 GB, free: 27.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/4.748, allocations: 9.719 kB / 1.134 GB, free: 27.92 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01458/4.763, allocations: 2.431 MB / 1.136 GB, free: 27.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0182/4.781, allocations: 2.076 MB / 1.138 GB, free: 26.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04119/4.823, allocations: 10.57 MB / 1.149 GB, free: 25.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002292/4.825, allocations: 1.265 MB / 1.15 GB, free: 25.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008288/4.833, allocations: 1.628 MB / 1.152 GB, free: 25.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09234/4.926, allocations: 27.58 MB / 1.178 GB, free: 23.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009733/4.927, allocations: 20.42 kB / 1.179 GB, free: 23.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007467/4.934, allocations: 0.7013 MB / 1.179 GB, free: 23.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001118/4.935, allocations: 0.7445 MB / 1.18 GB, free: 23.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06246/4.998, allocations: 20.24 MB / 1.2 GB, free: 17.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6633/5.661, allocations: 85.81 MB / 1.283 GB, free: 26.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02822/5.689, allocations: 13.83 MB / 1.297 GB, free: 24.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02952/5.719, allocations: 12.11 MB / 1.309 GB, free: 24.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001506/5.721, allocations: 240.8 kB / 1.309 GB, free: 24.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/5.721, allocations: 118.2 kB / 1.309 GB, free: 24.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1122): time 1.888e-05/5.721, allocations: 2.953 kB / 1.309 GB, free: 24.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=1122): time 0.06157/5.782, allocations: 21.42 MB / 1.33 GB, free: 23.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/5.782, allocations: 209.1 kB / 1.33 GB, free: 23.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008052/5.791, allocations: 2.945 MB / 1.333 GB, free: 23.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002653/5.793, allocations: 157.9 kB / 1.333 GB, free: 23.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004452/5.798, allocations: 5.571 MB / 1.339 GB, free: 21.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006545/5.804, allocations: 3.657 MB / 1.342 GB, free: 18.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002704/5.807, allocations: 151.2 kB / 1.342 GB, free: 18.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00159/5.809, allocations: 0.7361 MB / 1.343 GB, free: 18.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01998/5.829, allocations: 7.677 MB / 1.351 GB, free: 18.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02279/5.852, allocations: 9.196 MB / 1.36 GB, free: 14.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02367/5.875, allocations: 9.228 MB / 1.369 GB, free: 11.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-05/5.875, allocations: 12.61 kB / 1.369 GB, free: 11.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=1307) (initialization): time 0.07108/5.946, allocations: 23.16 MB / 1.391 GB, free: 11.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.999e-05/5.947, allocations: 20 kB / 1.391 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001789/5.947, allocations: 34.11 kB / 1.391 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03613/5.983, allocations: 10.75 MB / 1.402 GB, free: 2.324 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008039/5.991, allocations: 0.9349 MB / 1.403 GB, free: 1.613 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4597/6.451, allocations: 22.52 MB / 1.425 GB, free: 72.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0137/6.464, allocations: 0.8464 MB / 1.426 GB, free: 72.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00416/6.469, allocations: 360.1 kB / 1.426 GB, free: 72.02 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.007098/6.476, allocations: 495.4 kB / 1.426 GB, free: 71.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005162/6.481, allocations: 0.5665 MB / 1.427 GB, free: 71.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08358/6.565, allocations: 23.87 MB / 1.45 GB, free: 71.14 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06292/6.628, allocations: 21.25 MB / 1.471 GB, free: 70.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.667e-05/6.628, allocations: 0 / 1.471 GB, free: 70.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001554/6.628, allocations: 40.97 kB / 1.471 GB, free: 70.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1239/6.752, allocations: 44.87 MB / 1.515 GB, free: 59.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001954/6.752, allocations: 0 / 1.515 GB, free: 59.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005499/6.758, allocations: 0.5885 MB / 1.515 GB, free: 59.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03177/6.789, allocations: 10.69 MB / 1.526 GB, free: 56.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002625/6.792, allocations: 224.2 kB / 1.526 GB, free: 56.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04376/6.836, allocations: 22.42 MB / 1.548 GB, free: 43.26 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/6.836, allocations: 4.938 kB / 1.548 GB, free: 43.26 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09474/6.931, allocations: 34.08 MB / 1.581 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01278/6.944, allocations: 2.435 MB / 1.584 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0048/6.948, allocations: 131.7 kB / 1.584 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01123/6.96, allocations: 254.8 kB / 1.584 GB, free: 10.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006372/6.966, allocations: 0.8826 MB / 1.585 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003573/6.97, allocations: 275.8 kB / 1.585 GB, free: 9.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009192/6.979, allocations: 2.279 MB / 1.587 GB, free: 7.836 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.024e-06/6.979, allocations: 0 / 1.587 GB, free: 7.836 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02166/7.001, allocations: 3.747 MB / 1.591 GB, free: 4.113 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.5373/7.538, allocations: 36.37 MB / 1.627 GB, free: 70.26 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.05368/7.592, allocations: 18.54 MB / 1.645 GB, free: 69.87 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/7.592, allocations: 0 / 1.645 GB, free: 69.87 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03117/7.623, allocations: 9.813 MB / 1.654 GB, free: 69.61 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01739/7.641, allocations: 1.316 MB / 1.656 GB, free: 69.58 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1458/7.787, allocations: 35.79 MB / 1.69 GB, free: 61.62 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03463/7.821, allocations: 11.57 MB / 1.702 GB, free: 57.59 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01031/7.832, allocations: 1.215 MB / 1.703 GB, free: 57.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02036/7.852, allocations: 5.397 MB / 1.708 GB, free: 52.68 MB / 474.7 MB Notification: Performance of SimCode: time 2.013e-06/7.852, allocations: 2.406 kB / 1.708 GB, free: 52.68 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.547/9.399, allocations: 293 MB / 1.994 GB, free: 62.09 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/9.399, allocations: 208.1 kB / 1.995 GB, free: 61.87 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.333/18.73, allocations: 0 / 1.995 GB, free: 61.87 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