Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.618e-05, allocations: 4 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1041, allocations: 44.51 MB / 299.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.468/0.5722, allocations: 84.19 MB / 384.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003786/0.5726, allocations: 85.94 kB / 384.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2158/0.7884, allocations: 56.57 MB / 440.8 MB, free: 8.336 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.7885, allocations: 0 / 440.8 MB, free: 8.336 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001864/0.7887, allocations: 51.94 kB / 440.8 MB, free: 8.285 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.00659/0.7953, allocations: 1.831 MB / 442.7 MB, free: 6.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.7954, allocations: 8.031 kB / 442.7 MB, free: 6.402 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000887/0.7963, allocations: 273.7 kB / 442.9 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.7974, allocations: 261.3 kB / 443.2 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004114/0.8016, allocations: 1.3 MB / 444.5 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.8018, allocations: 127.5 kB / 444.6 MB, free: 4.418 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007379/0.8026, allocations: 175.7 kB / 444.8 MB, free: 4.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00762/0.8102, allocations: 2.436 MB / 447.2 MB, free: 1.746 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-05/0.8103, allocations: 3.984 kB / 447.2 MB, free: 1.742 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00032/0.8106, allocations: 75.67 kB / 447.3 MB, free: 1.672 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/0.8108, allocations: 99.58 kB / 447.4 MB, free: 1.574 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006268/0.8171, allocations: 1.892 MB / 449.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01943/0.8366, allocations: 6.914 MB / 456.2 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003502/0.8401, allocations: 2.112 MB / 458.3 MB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002277/0.8425, allocations: 0.8564 MB / 459.2 MB, free: 5.488 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004/0.8429, allocations: 137.9 kB / 459.3 MB, free: 5.336 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.8429, allocations: 39.34 kB / 459.3 MB, free: 5.289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 3.657e-06/0.843, allocations: 4 kB / 459.3 MB, free: 5.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=88): time 0.008071/0.851, allocations: 2.715 MB / 462.1 MB, free: 2.516 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.8512, allocations: 93.88 kB / 462.1 MB, free: 2.406 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002628/0.8538, allocations: 1.078 MB / 463.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.854, allocations: 41.7 kB / 463.3 MB, free: 1.262 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007478/0.8548, allocations: 0.7776 MB / 464 MB, free: 484 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003822/0.8552, allocations: 306.2 kB / 464.3 MB, free: 180 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.202e-05/0.8553, allocations: 16 kB / 464.4 MB, free: 164 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.8555, allocations: 350.8 kB / 464.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.8567, allocations: 457.8 kB / 465.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.858, allocations: 0.6261 MB / 465.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.8594, allocations: 0.5642 MB / 466.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.8594, allocations: 0 / 466.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003335/0.8628, allocations: 1.281 MB / 467.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.8628, allocations: 4 kB / 467.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.8629, allocations: 8 kB / 467.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006111/0.8635, allocations: 113.1 kB / 467.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.8655, allocations: 231.7 kB / 468 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003371/0.8689, allocations: 2.111 MB / 470.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.8703, allocations: 43.92 kB / 470.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.8705, allocations: 31.98 kB / 470.2 MB, free: 10.15 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003064/0.8708, allocations: 156.9 kB / 470.3 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/0.8712, allocations: 122.6 kB / 470.4 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/0.8744, allocations: 1.193 MB / 471.6 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.8745, allocations: 11.98 kB / 471.6 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.8745, allocations: 0 / 471.6 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.889e-05/0.8745, allocations: 11.92 kB / 471.6 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008464/0.883, allocations: 3.154 MB / 474.8 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.883, allocations: 4.062 kB / 474.8 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.8846, allocations: 179.8 kB / 475 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005552/0.8852, allocations: 108.8 kB / 475.1 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.281e-05/0.8853, allocations: 16 kB / 475.1 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004333/0.8896, allocations: 3.396 MB / 478.5 MB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.8897, allocations: 0 / 478.5 MB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004703/0.8944, allocations: 1.901 MB / 480.4 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.8955, allocations: 315.5 kB / 480.7 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/0.8958, allocations: 19.95 kB / 480.7 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.897, allocations: 56.03 kB / 480.8 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/0.8973, allocations: 64.62 kB / 480.8 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.786e-05/0.8974, allocations: 35.98 kB / 480.9 MB, free: 15.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002043/0.8994, allocations: 0.839 MB / 481.7 MB, free: 14.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.8995, allocations: 4 kB / 481.7 MB, free: 14.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001951/0.9014, allocations: 367.9 kB / 482.1 MB, free: 13.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (load.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005271/0.9067, allocations: 2.678 MB / 484.8 MB, free: 11.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0031/0.9099, allocations: 1.213 MB / 486 MB, free: 9.883 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.9099, allocations: 0 / 486 MB, free: 9.883 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.9117, allocations: 0.6837 MB / 486.7 MB, free: 9.191 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/0.9145, allocations: 348 kB / 487 MB, free: 8.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.9249, allocations: 3.204 MB / 490.2 MB, free: 5.578 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/0.9271, allocations: 1.718 MB / 491.9 MB, free: 3.832 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/0.9287, allocations: 0.6047 MB / 492.5 MB, free: 3.227 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.9288, allocations: 0 / 492.5 MB, free: 3.227 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.644/4.573, allocations: 46.04 MB / 0.5259 GB, free: 105.7 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat