Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.293/2.293, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.617e-05, allocations: 2.75 kB / 249.8 MB, free: 5.27 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4914/0.5923, allocations: 87.1 MB / 381.4 MB, free: 6.008 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.5927, allocations: 83.05 kB / 381.5 MB, free: 5.996 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3785/0.9712, allocations: 74.01 MB / 455.5 MB, free: 144 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.9713, allocations: 0 / 455.5 MB, free: 144 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004047/0.9717, allocations: 87.88 kB / 455.6 MB, free: 56 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.01369/0.9854, allocations: 2.869 MB / 458.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.9855, allocations: 8.031 kB / 458.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/0.9882, allocations: 396 kB / 458.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/1, allocations: 2.182 MB / 461 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003593/1, allocations: 96 kB / 461.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/1.002, allocations: 164 kB / 461.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.015/1.017, allocations: 2.944 MB / 464.2 MB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01667/1.033, allocations: 3.638 MB / 467.9 MB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.321e-05/1.034, allocations: 0 / 467.9 MB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005921/1.034, allocations: 8 kB / 467.9 MB, free: 3.473 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002549/1.034, allocations: 133.9 kB / 468 MB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03403/1.069, allocations: 10.41 MB / 478.4 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00492/1.074, allocations: 2.541 MB / 480.9 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003982/1.078, allocations: 1.343 MB / 482.3 MB, free: 4.664 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005203/1.078, allocations: 138.4 kB / 482.4 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.406e-05/1.078, allocations: 55.83 kB / 482.5 MB, free: 4.445 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 4.619e-06/1.078, allocations: 0 / 482.5 MB, free: 4.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.01392/1.092, allocations: 4.177 MB / 486.7 MB, free: 216 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/1.092, allocations: 94.42 kB / 486.7 MB, free: 100 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003856/1.096, allocations: 1.425 MB / 488.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003724/1.097, allocations: 29.7 kB / 488.2 MB, free: 14.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/1.098, allocations: 1.325 MB / 489.5 MB, free: 13.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008413/1.099, allocations: 437.4 kB / 490 MB, free: 12.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/1.099, allocations: 0 / 490 MB, free: 12.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002416/1.1, allocations: 365.9 kB / 490.3 MB, free: 12.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/1.102, allocations: 0.7535 MB / 491.1 MB, free: 11.74 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00263/1.104, allocations: 1.099 MB / 492.2 MB, free: 10.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002867/1.107, allocations: 0.9509 MB / 493.1 MB, free: 9.551 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/1.107, allocations: 7.938 kB / 493.1 MB, free: 9.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.007846/1.115, allocations: 2.289 MB / 495.4 MB, free: 7.242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/1.115, allocations: 12 kB / 495.4 MB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.027e-05/1.115, allocations: 15.98 kB / 495.4 MB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001892/1.117, allocations: 363.2 kB / 495.8 MB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003326/1.121, allocations: 331.5 kB / 496.1 MB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009647/1.13, allocations: 3.899 MB / 0.4883 GB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/1.133, allocations: 59.98 kB / 0.4884 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000373/1.133, allocations: 63.98 kB / 0.4884 GB, free: 2.402 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004605/1.134, allocations: 136.5 kB / 0.4885 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006202/1.14, allocations: 1.847 MB / 0.4903 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008313/1.141, allocations: 177.9 kB / 0.4905 GB, free: 232 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3264/1.467, allocations: 1.987 MB / 0.4925 GB, free: 81.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/1.468, allocations: 12.97 kB / 0.4925 GB, free: 81.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/1.468, allocations: 4 kB / 0.4925 GB, free: 81.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.011e-05/1.468, allocations: 7.203 kB / 0.4925 GB, free: 81.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/1.483, allocations: 4.64 MB / 0.497 GB, free: 81.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.981e-05/1.483, allocations: 5.156 kB / 0.497 GB, free: 81.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002499/1.485, allocations: 232.8 kB / 0.4972 GB, free: 81.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/1.487, allocations: 333.4 kB / 0.4976 GB, free: 81.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002865/1.487, allocations: 16.98 kB / 0.4976 GB, free: 81.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008288/1.496, allocations: 3.821 MB / 0.5013 GB, free: 79.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/1.496, allocations: 3.406 kB / 0.5013 GB, free: 79.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008205/1.504, allocations: 3.128 MB / 0.5044 GB, free: 79.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/1.506, allocations: 447.1 kB / 0.5048 GB, free: 79.44 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005223/1.506, allocations: 7.438 kB / 0.5048 GB, free: 79.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/1.508, allocations: 82.95 kB / 0.5049 GB, free: 79.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000368/1.509, allocations: 92.06 kB / 0.505 GB, free: 79.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/1.509, allocations: 40.88 kB / 0.505 GB, free: 79.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002324/1.511, allocations: 1.088 MB / 0.5061 GB, free: 79.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.92e-07/1.511, allocations: 0 / 0.5061 GB, free: 79.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002808/1.514, allocations: 0.5046 MB / 0.5066 GB, free: 79.33 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007818/1.522, allocations: 4.108 MB / 0.5106 GB, free: 78.15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004883/1.527, allocations: 2.162 MB / 0.5127 GB, free: 77.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/1.527, allocations: 0 / 0.5127 GB, free: 77.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002989/1.53, allocations: 1.247 MB / 0.5139 GB, free: 77.63 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003415/1.533, allocations: 357.4 kB / 0.5142 GB, free: 77.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/1.549, allocations: 5.403 MB / 0.5195 GB, free: 76.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002955/1.552, allocations: 2.481 MB / 0.5219 GB, free: 75.83 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002539/1.554, allocations: 456.4 kB / 0.5224 GB, free: 75.81 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002209/1.556, allocations: 1.029 MB / 0.5234 GB, free: 75.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/1.556, allocations: 0 / 0.5234 GB, free: 75.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1616/1.718, allocations: 42.17 MB / 0.5646 GB, free: 68.12 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002963/1.718, allocations: 175.9 kB / 0.5647 GB, free: 67.92 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.345/6.063, allocations: 0 / 0.5647 GB, free: 67.92 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat