Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.927/1.927, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.146e-05/3.153e-05, allocations: 4 kB / 225.1 MB, free: 2.68 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.266, allocations: 38.77 MB / 263.9 MB, free: 9.746 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.4572, allocations: 78.94 MB / 342.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000404/0.4577, allocations: 83.95 kB / 342.9 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4697/0.9274, allocations: 57.24 MB / 400.1 MB, free: 72.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.9275, allocations: 4 kB / 400.1 MB, free: 72.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001809/0.9276, allocations: 50.83 kB / 400.2 MB, free: 72.12 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.006365/0.934, allocations: 1.828 MB / 402 MB, free: 70.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.9341, allocations: 8.031 kB / 402 MB, free: 70.24 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008866/0.935, allocations: 278 kB / 402.3 MB, free: 69.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.9362, allocations: 249.4 kB / 402.5 MB, free: 69.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004068/0.9403, allocations: 1.302 MB / 403.8 MB, free: 68.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.9405, allocations: 131.5 kB / 404 MB, free: 68.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007895/0.9413, allocations: 179.7 kB / 404.1 MB, free: 68.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006197/0.9475, allocations: 2.419 MB / 406.6 MB, free: 65.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.973e-05/0.9477, allocations: 0 / 406.6 MB, free: 65.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002701/0.9479, allocations: 83.69 kB / 406.6 MB, free: 65.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.9481, allocations: 95.58 kB / 406.7 MB, free: 65.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004388/0.9525, allocations: 1.87 MB / 408.6 MB, free: 63.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01484/0.9673, allocations: 6.91 MB / 415.5 MB, free: 56.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/0.97, allocations: 2.106 MB / 417.6 MB, free: 54.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.9719, allocations: 0.8565 MB / 418.5 MB, free: 53.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003586/0.9723, allocations: 133.8 kB / 418.6 MB, free: 53.22 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.9723, allocations: 47.33 kB / 418.7 MB, free: 53.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=82): time 3.697e-06/0.9723, allocations: 0 / 418.7 MB, free: 53.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=88): time 0.006682/0.979, allocations: 2.715 MB / 421.4 MB, free: 50.4 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.9791, allocations: 85.89 kB / 421.4 MB, free: 50.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/0.9812, allocations: 1.094 MB / 422.5 MB, free: 49.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-05/0.9813, allocations: 41.7 kB / 422.6 MB, free: 49.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/0.9817, allocations: 0.7776 MB / 423.4 MB, free: 48.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.982, allocations: 303.3 kB / 423.7 MB, free: 48.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/0.9821, allocations: 20 kB / 423.7 MB, free: 48.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.402e-05/0.9822, allocations: 346.8 kB / 424 MB, free: 47.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009288/0.9831, allocations: 457.8 kB / 424.5 MB, free: 47.24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.9842, allocations: 0.6202 MB / 425.1 MB, free: 46.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.9853, allocations: 0.5642 MB / 425.6 MB, free: 45.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.9854, allocations: 0 / 425.6 MB, free: 45.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002762/0.9881, allocations: 1.262 MB / 426.9 MB, free: 44.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.9882, allocations: 11.98 kB / 426.9 MB, free: 44.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.9882, allocations: 4 kB / 426.9 MB, free: 44.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.9888, allocations: 116.8 kB / 427 MB, free: 44.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.9907, allocations: 235.7 kB / 427.3 MB, free: 44.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002704/0.9934, allocations: 2.101 MB / 429.4 MB, free: 42.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.9949, allocations: 47.95 kB / 429.4 MB, free: 42.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.995, allocations: 32.19 kB / 429.4 MB, free: 42.05 MB / 314.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.0002542/0.9953, allocations: 164.7 kB / 429.6 MB, free: 41.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.9956, allocations: 126.5 kB / 429.7 MB, free: 41.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/0.9983, allocations: 1.189 MB / 430.9 MB, free: 40.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.9983, allocations: 12 kB / 430.9 MB, free: 40.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.9983, allocations: 4 kB / 430.9 MB, free: 40.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.9983, allocations: 7.969 kB / 430.9 MB, free: 40.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007113/1.005, allocations: 3.15 MB / 434.1 MB, free: 37.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/1.006, allocations: 0 / 434.1 MB, free: 37.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/1.007, allocations: 183.8 kB / 434.3 MB, free: 37.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005395/1.008, allocations: 112.8 kB / 434.4 MB, free: 37.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/1.008, allocations: 16 kB / 434.4 MB, free: 37.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003164/1.011, allocations: 3.389 MB / 437.8 MB, free: 33.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.011, allocations: 0 / 437.8 MB, free: 33.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003755/1.015, allocations: 1.909 MB / 439.7 MB, free: 31.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008209/1.016, allocations: 323.6 kB / 440 MB, free: 31.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/1.016, allocations: 19.94 kB / 440 MB, free: 31.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/1.017, allocations: 63.95 kB / 440.1 MB, free: 31.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/1.017, allocations: 64.69 kB / 440.2 MB, free: 30.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.392e-05/1.017, allocations: 23.95 kB / 440.2 MB, free: 30.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001632/1.019, allocations: 0.8509 MB / 441 MB, free: 30.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.019, allocations: 3.938 kB / 441 MB, free: 30.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001708/1.021, allocations: 364 kB / 441.4 MB, free: 29.7 MB / 314.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.004282/1.025, allocations: 2.689 MB / 444.1 MB, free: 26.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002599/1.028, allocations: 1.191 MB / 445.3 MB, free: 25.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.028, allocations: 0 / 445.3 MB, free: 25.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001419/1.029, allocations: 0.6736 MB / 445.9 MB, free: 25.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/1.032, allocations: 353.1 kB / 446.3 MB, free: 24.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008254/1.04, allocations: 3.198 MB / 449.5 MB, free: 21.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/1.042, allocations: 1.722 MB / 451.2 MB, free: 19.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/1.043, allocations: 0.6086 MB / 451.8 MB, free: 19.13 MB / 314.7 MB Notification: Performance of SimCode: time 1.262e-06/1.043, allocations: 4 kB / 451.8 MB, free: 19.12 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.388/4.431, allocations: 45.85 MB / 497.7 MB, free: 5.242 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.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat