Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.792/1.792, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.016e-05/3.02e-05, allocations: 0 / 225.1 MB, free: 2.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2651, allocations: 38.77 MB / 263.9 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.4181, allocations: 82.41 MB / 346.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/0.4185, allocations: 83.95 kB / 346.4 MB, free: 7.242 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5659/0.9844, allocations: 75.07 MB / 421.4 MB, free: 51.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.9845, allocations: 4 kB / 421.4 MB, free: 51.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003143/0.9848, allocations: 87.88 kB / 421.5 MB, free: 51.27 MB / 314.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.0107/0.9955, allocations: 2.861 MB / 424.4 MB, free: 48.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.9956, allocations: 8.031 kB / 424.4 MB, free: 48.34 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001516/0.9972, allocations: 430 kB / 424.8 MB, free: 47.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.999, allocations: 403.6 kB / 425.2 MB, free: 47.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005878/1.005, allocations: 1.973 MB / 427.2 MB, free: 45.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/1.005, allocations: 217.8 kB / 427.4 MB, free: 45.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/1.006, allocations: 296 kB / 427.7 MB, free: 44.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/1.018, allocations: 4.017 MB / 431.7 MB, free: 40.81 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.497e-05/1.018, allocations: 0 / 431.7 MB, free: 40.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005433/1.018, allocations: 136 kB / 431.8 MB, free: 40.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001762/1.019, allocations: 133.9 kB / 432 MB, free: 40.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009314/1.028, allocations: 3.081 MB / 435 MB, free: 37.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02892/1.057, allocations: 10.92 MB / 446 MB, free: 26.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003859/1.061, allocations: 2.582 MB / 448.5 MB, free: 23.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003556/1.064, allocations: 1.445 MB / 450 MB, free: 22.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004399/1.065, allocations: 146 kB / 450.1 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/1.065, allocations: 47.56 kB / 450.2 MB, free: 21.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 4.328e-06/1.065, allocations: 0 / 450.2 MB, free: 21.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.01211/1.077, allocations: 4.363 MB / 454.5 MB, free: 17.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/1.077, allocations: 94.41 kB / 454.6 MB, free: 17.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003335/1.08, allocations: 1.591 MB / 456.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003532/1.081, allocations: 53.64 kB / 456.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008501/1.082, allocations: 1.248 MB / 457.5 MB, free: 14.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005651/1.082, allocations: 457.4 kB / 458 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/1.082, allocations: 24 kB / 458 MB, free: 13.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/1.083, allocations: 370.8 kB / 458.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001745/1.084, allocations: 0.7809 MB / 459.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/1.087, allocations: 1.119 MB / 460.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002301/1.089, allocations: 0.9769 MB / 461.2 MB, free: 10.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/1.089, allocations: 4 kB / 461.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005883/1.095, allocations: 2.302 MB / 463.5 MB, free: 8.262 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/1.095, allocations: 8 kB / 463.5 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-05/1.095, allocations: 19.94 kB / 463.6 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/1.097, allocations: 355.3 kB / 463.9 MB, free: 7.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/1.099, allocations: 339.5 kB / 464.2 MB, free: 7.555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007196/1.107, allocations: 4.047 MB / 468.3 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/1.109, allocations: 83.84 kB / 468.4 MB, free: 3.293 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003781/1.109, allocations: 67.97 kB / 468.4 MB, free: 3.227 MB / 314.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.0004012/1.11, allocations: 196.6 kB / 468.6 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006294/1.11, allocations: 193.7 kB / 468.8 MB, free: 2.836 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005086/1.116, allocations: 2.106 MB / 470.9 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/1.116, allocations: 16 kB / 470.9 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/1.116, allocations: 4 kB / 470.9 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/1.116, allocations: 3.984 kB / 470.9 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/1.131, allocations: 5.108 MB / 476 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.524e-05/1.131, allocations: 4 kB / 476.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002154/1.133, allocations: 239.8 kB / 476.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/1.135, allocations: 336.6 kB / 476.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002965/1.135, allocations: 31.98 kB / 476.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008184/1.144, allocations: 3.971 MB / 480.6 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/1.144, allocations: 8 kB / 480.6 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008146/1.152, allocations: 3.264 MB / 483.9 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/1.153, allocations: 454.7 kB / 484.3 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005458/1.154, allocations: 35.98 kB / 484.4 MB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/1.156, allocations: 103.9 kB / 484.5 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004078/1.157, allocations: 100.8 kB / 484.6 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/1.157, allocations: 39.98 kB / 484.6 MB, free: 2.672 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003312/1.16, allocations: 1.232 MB / 485.8 MB, free: 1.445 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.162e-06/1.16, allocations: 0 / 485.8 MB, free: 1.445 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003383/1.163, allocations: 0.5507 MB / 486.4 MB, free: 0.8945 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (104): * Single equations (assignments): 99 * 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.009744/1.173, allocations: 4.401 MB / 490.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006192/1.18, allocations: 2.194 MB / 493 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/1.18, allocations: 0 / 493 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004097/1.184, allocations: 1.27 MB / 494.3 MB, free: 8.883 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004264/1.188, allocations: 481.2 kB / 494.7 MB, free: 8.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/1.206, allocations: 5.318 MB / 0.4883 GB, free: 3.004 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003731/1.209, allocations: 2.409 MB / 0.4907 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.248/1.457, allocations: 1.038 MB / 0.4917 GB, free: 78.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.794e-06/1.458, allocations: 0 / 0.4917 GB, free: 78.88 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.549/5.007, allocations: 63.63 MB / 0.5538 GB, free: 50.39 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat