Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.645/1.645, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.788e-05/3.798e-05, allocations: 4 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2553, allocations: 38.76 MB / 263.8 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.385, allocations: 70.98 MB / 334.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/0.3854, allocations: 71.97 kB / 334.9 MB, free: 2.695 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09317/0.4786, allocations: 18.86 MB / 353.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4787, allocations: 0 / 353.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001156/0.4788, allocations: 35.94 kB / 353.8 MB, free: 15.66 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004496/0.4833, allocations: 1.325 MB / 355.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.4834, allocations: 8.031 kB / 355.1 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005849/0.484, allocations: 169 kB / 355.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004392/0.4844, allocations: 142.3 kB / 355.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/0.4869, allocations: 0.857 MB / 356.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.654e-05/0.487, allocations: 82.56 kB / 356.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/0.4873, allocations: 119.9 kB / 356.5 MB, free: 12.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003861/0.4912, allocations: 1.458 MB / 357.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/0.4913, allocations: 0 / 357.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/0.4915, allocations: 48 kB / 358 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/0.4915, allocations: 28 kB / 358 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003147/0.4947, allocations: 1.18 MB / 359.2 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01092/0.5056, allocations: 4.26 MB / 363.4 MB, free: 5.684 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.5074, allocations: 1.3 MB / 364.7 MB, free: 4.215 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.5086, allocations: 438.5 kB / 365.2 MB, free: 3.781 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.831e-05/0.5087, allocations: 4.438 kB / 365.2 MB, free: 3.777 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/0.5087, allocations: 39 kB / 365.2 MB, free: 3.727 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.346e-06/0.5087, allocations: 0 / 365.2 MB, free: 3.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.004234/0.513, allocations: 1.639 MB / 366.8 MB, free: 2.027 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.5131, allocations: 63.84 kB / 366.9 MB, free: 1.953 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/0.5147, allocations: 0.7261 MB / 367.6 MB, free: 1.223 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.5148, allocations: 37.7 kB / 367.7 MB, free: 1.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004692/0.5153, allocations: 0.5633 MB / 368.2 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/0.5156, allocations: 173.5 kB / 368.4 MB, free: 448 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.5156, allocations: 8 kB / 368.4 MB, free: 440 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.5158, allocations: 338.8 kB / 368.7 MB, free: 92 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2186/0.7344, allocations: 281.6 kB / 369 MB, free: 84.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009233/0.7353, allocations: 380 kB / 369.4 MB, free: 84.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008941/0.7362, allocations: 350.5 kB / 369.7 MB, free: 84.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.7363, allocations: 6.719 kB / 369.7 MB, free: 84.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002059/0.7383, allocations: 0.8276 MB / 370.6 MB, free: 84.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.7384, allocations: 3.625 kB / 370.6 MB, free: 84.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.7384, allocations: 3.844 kB / 370.6 MB, free: 84.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004023/0.7388, allocations: 113.4 kB / 370.7 MB, free: 84.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009272/0.7398, allocations: 124.9 kB / 370.8 MB, free: 84.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/0.7423, allocations: 2.173 MB / 373 MB, free: 83.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007332/0.7431, allocations: 30.69 kB / 373 MB, free: 83.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.7432, allocations: 18.22 kB / 373 MB, free: 83.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.7433, allocations: 136.2 kB / 373.2 MB, free: 83.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.7435, allocations: 75.95 kB / 373.2 MB, free: 83.37 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.7437, allocations: 87.7 kB / 373.3 MB, free: 83.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.7438, allocations: 5.75 kB / 373.3 MB, free: 83.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.7438, allocations: 8.656 kB / 373.3 MB, free: 83.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.7438, allocations: 0 / 373.3 MB, free: 83.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004088/0.7479, allocations: 1.996 MB / 375.3 MB, free: 82.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.7479, allocations: 6.75 kB / 375.3 MB, free: 82.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/0.7486, allocations: 98.97 kB / 375.4 MB, free: 82.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003416/0.749, allocations: 99.34 kB / 375.5 MB, free: 82.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.749, allocations: 14.22 kB / 375.5 MB, free: 82.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/0.7515, allocations: 2.12 MB / 377.7 MB, free: 81.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.7515, allocations: 6.844 kB / 377.7 MB, free: 81.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.7537, allocations: 1.212 MB / 378.9 MB, free: 81.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000483/0.7542, allocations: 223.3 kB / 379.1 MB, free: 81.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.7543, allocations: 21.14 kB / 379.1 MB, free: 81.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007036/0.755, allocations: 53.8 kB / 379.2 MB, free: 81.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.7552, allocations: 45.86 kB / 379.2 MB, free: 81.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.721e-05/0.7552, allocations: 14.84 kB / 379.2 MB, free: 81.26 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001008/0.7563, allocations: 0.5781 MB / 379.8 MB, free: 81.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.043e-06/0.7563, allocations: 0 / 379.8 MB, free: 81.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001009/0.7573, allocations: 217.6 kB / 380 MB, free: 81.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002374/0.7597, allocations: 2.11 MB / 382.1 MB, free: 79.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.7614, allocations: 0.7744 MB / 382.9 MB, free: 79.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.7614, allocations: 7.047 kB / 382.9 MB, free: 79.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009531/0.7623, allocations: 478.9 kB / 383.4 MB, free: 79.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.7636, allocations: 170.6 kB / 383.5 MB, free: 79.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004627/0.7683, allocations: 2.092 MB / 385.6 MB, free: 78.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009365/0.7693, allocations: 1.343 MB / 387 MB, free: 77.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007021/0.77, allocations: 378.2 kB / 387.4 MB, free: 77.18 MB / 314.7 MB Notification: Performance of SimCode: time 9.81e-07/0.77, allocations: 0 / 387.4 MB, free: 77.18 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.932/3.702, allocations: 24.46 MB / 411.8 MB, free: 57.86 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat