Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.096/2.096, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.754e-05/2.766e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3402, allocations: 44.5 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.5033, allocations: 87.11 MB / 381.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003581/0.5037, allocations: 87.89 kB / 381.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6193/1.123, allocations: 73.97 MB / 455.4 MB, free: 83.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.846e-06/1.123, allocations: 4 kB / 455.4 MB, free: 83.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003354/1.123, allocations: 91.56 kB / 455.5 MB, free: 83.21 MB / 362.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.0111/1.135, allocations: 2.879 MB / 458.3 MB, free: 81.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/1.135, allocations: 11 kB / 458.4 MB, free: 81.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002496/1.137, allocations: 393.5 kB / 458.7 MB, free: 81.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006917/1.144, allocations: 2.163 MB / 460.9 MB, free: 80.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/1.144, allocations: 98.94 kB / 461 MB, free: 80.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/1.145, allocations: 169.6 kB / 461.2 MB, free: 80.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008852/1.154, allocations: 2.946 MB / 464.1 MB, free: 79.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01183/1.166, allocations: 3.64 MB / 467.7 MB, free: 77.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.876e-05/1.166, allocations: 0 / 467.7 MB, free: 77.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007151/1.167, allocations: 3.375 kB / 467.8 MB, free: 77.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001906/1.167, allocations: 139.4 kB / 467.9 MB, free: 77.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03041/1.198, allocations: 10.41 MB / 478.3 MB, free: 68.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003773/1.201, allocations: 2.548 MB / 480.8 MB, free: 66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003145/1.205, allocations: 1.338 MB / 482.2 MB, free: 64.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004938/1.205, allocations: 138.4 kB / 482.3 MB, free: 64.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/1.205, allocations: 51.88 kB / 482.4 MB, free: 64.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=128): time 4.779e-06/1.205, allocations: 0 / 482.4 MB, free: 64.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=133): time 0.01238/1.218, allocations: 4.181 MB / 486.5 MB, free: 60.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/1.218, allocations: 94.38 kB / 486.6 MB, free: 60.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003053/1.221, allocations: 1.429 MB / 488.1 MB, free: 58.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003636/1.221, allocations: 29.7 kB / 488.1 MB, free: 58.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008417/1.222, allocations: 1.271 MB / 489.4 MB, free: 57.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005498/1.223, allocations: 441.4 kB / 489.8 MB, free: 56.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/1.223, allocations: 0 / 489.8 MB, free: 56.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/1.223, allocations: 370.8 kB / 490.2 MB, free: 56.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/1.225, allocations: 0.7574 MB / 490.9 MB, free: 55.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/1.226, allocations: 1.087 MB / 492 MB, free: 54.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/1.229, allocations: 0.9587 MB / 493 MB, free: 53.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-05/1.229, allocations: 0 / 493 MB, free: 53.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005856/1.234, allocations: 2.185 MB / 495.2 MB, free: 51.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/1.235, allocations: 12.16 kB / 495.2 MB, free: 51.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.226e-05/1.235, allocations: 15 kB / 495.2 MB, free: 51.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/1.236, allocations: 355.2 kB / 495.5 MB, free: 51.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/1.239, allocations: 335.5 kB / 495.9 MB, free: 50.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00709/1.246, allocations: 3.908 MB / 499.8 MB, free: 46.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/1.248, allocations: 59.83 kB / 499.8 MB, free: 46.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004222/1.249, allocations: 60 kB / 499.9 MB, free: 46.57 MB / 362.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.000393/1.249, allocations: 142.7 kB / 0.4883 GB, free: 46.43 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004878/1.254, allocations: 1.854 MB / 0.4901 GB, free: 44.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008925/1.255, allocations: 173.9 kB / 0.4903 GB, free: 44.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005196/1.26, allocations: 1.985 MB / 0.4922 GB, free: 42.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/1.26, allocations: 16 kB / 0.4922 GB, free: 42.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/1.26, allocations: 7.938 kB / 0.4922 GB, free: 42.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.763e-05/1.261, allocations: 3.984 kB / 0.4922 GB, free: 42.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.273, allocations: 4.645 MB / 0.4968 GB, free: 37.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.293e-05/1.273, allocations: 4 kB / 0.4968 GB, free: 37.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002079/1.275, allocations: 239.8 kB / 0.497 GB, free: 37.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001553/1.277, allocations: 340.9 kB / 0.4973 GB, free: 37.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003041/1.277, allocations: 15.98 kB / 0.4973 GB, free: 37.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006623/1.284, allocations: 3.817 MB / 0.5011 GB, free: 33.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/1.284, allocations: 7.969 kB / 0.5011 GB, free: 33.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007042/1.291, allocations: 3.117 MB / 0.5041 GB, free: 29.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/1.293, allocations: 446.9 kB / 0.5046 GB, free: 29.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007028/1.294, allocations: 11.94 kB / 0.5046 GB, free: 29.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00226/1.296, allocations: 83.62 kB / 0.5046 GB, free: 29.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004855/1.296, allocations: 93.11 kB / 0.5047 GB, free: 29.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/1.297, allocations: 43.98 kB / 0.5048 GB, free: 29.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002588/1.299, allocations: 1.088 MB / 0.5058 GB, free: 28.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.299, allocations: 3 kB / 0.5058 GB, free: 28.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003296/1.303, allocations: 0.5077 MB / 0.5063 GB, free: 27.68 MB / 362.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.008102/1.311, allocations: 4.116 MB / 0.5104 GB, free: 23.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005183/1.316, allocations: 2.155 MB / 0.5125 GB, free: 21.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.316, allocations: 0 / 0.5125 GB, free: 21.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002876/1.319, allocations: 1.25 MB / 0.5137 GB, free: 20.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/1.322, allocations: 355.3 kB / 0.514 GB, free: 19.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/1.339, allocations: 5.326 MB / 0.5192 GB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003624/1.342, allocations: 2.409 MB / 0.5216 GB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002784/1.345, allocations: 1.042 MB / 0.5226 GB, free: 10.83 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/1.345, allocations: 0 / 0.5226 GB, free: 10.83 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.252/5.597, allocations: 62.94 MB / 0.5841 GB, free: 102.4 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat