Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.924/1.924, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.505e-05/3.512e-05, allocations: 0 / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.274, allocations: 38.77 MB / 263.9 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.405, allocations: 70.98 MB / 334.9 MB, free: 2.613 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.4053, allocations: 71.95 kB / 334.9 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08803/0.4934, allocations: 18.86 MB / 353.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4935, allocations: 0 / 353.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000158/0.4936, allocations: 39.92 kB / 353.8 MB, free: 15.51 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.005117/0.4988, allocations: 1.321 MB / 355.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.4988, allocations: 8.031 kB / 355.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007676/0.4996, allocations: 181 kB / 355.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005915/0.5002, allocations: 146.3 kB / 355.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002886/0.5032, allocations: 0.8492 MB / 356.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.5033, allocations: 82.56 kB / 356.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004903/0.5038, allocations: 115.9 kB / 356.5 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004831/0.5087, allocations: 1.453 MB / 358 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.015e-05/0.5088, allocations: 0 / 358 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/0.509, allocations: 48 kB / 358 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/0.5091, allocations: 27.94 kB / 358 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004064/0.5131, allocations: 1.16 MB / 359.2 MB, free: 9.957 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01366/0.5269, allocations: 4.256 MB / 363.5 MB, free: 5.566 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.5289, allocations: 1.285 MB / 364.7 MB, free: 4.109 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.5302, allocations: 442.5 kB / 365.2 MB, free: 3.672 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.197e-05/0.5303, allocations: 8.375 kB / 365.2 MB, free: 3.664 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.5304, allocations: 39 kB / 365.2 MB, free: 3.617 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.496e-06/0.5304, allocations: 0 / 365.2 MB, free: 3.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.00494/0.5354, allocations: 1.639 MB / 366.9 MB, free: 1.914 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.5355, allocations: 55.84 kB / 366.9 MB, free: 1.848 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/0.5373, allocations: 0.7339 MB / 367.7 MB, free: 1.109 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.5376, allocations: 37.7 kB / 367.7 MB, free: 1.066 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006087/0.5382, allocations: 0.5414 MB / 368.2 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.5385, allocations: 177.5 kB / 368.4 MB, free: 348 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.5386, allocations: 16 kB / 368.4 MB, free: 332 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.2464/0.7849, allocations: 385.7 kB / 368.8 MB, free: 84.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.7864, allocations: 279.7 kB / 369.1 MB, free: 84.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.7879, allocations: 377.1 kB / 369.4 MB, free: 84.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.7893, allocations: 350 kB / 369.8 MB, free: 84.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.7894, allocations: 0.5312 kB / 369.8 MB, free: 84.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003495/0.7929, allocations: 0.8708 MB / 370.6 MB, free: 84.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.793, allocations: 7.25 kB / 370.7 MB, free: 84.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.793, allocations: 3.812 kB / 370.7 MB, free: 84.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005743/0.7936, allocations: 109.7 kB / 370.8 MB, free: 84.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.795, allocations: 126.8 kB / 370.9 MB, free: 84.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004054/0.7992, allocations: 2.179 MB / 373.1 MB, free: 83.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008899/0.8001, allocations: 31.88 kB / 373.1 MB, free: 83.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.736e-05/0.8002, allocations: 17 kB / 373.1 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.000201/0.8004, allocations: 139 kB / 373.3 MB, free: 83.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.8006, allocations: 75.41 kB / 373.3 MB, free: 83.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.8009, allocations: 100.9 kB / 373.4 MB, free: 83.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.8009, allocations: 7.562 kB / 373.4 MB, free: 83.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.8009, allocations: 3.969 kB / 373.4 MB, free: 83.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.8009, allocations: 0 / 373.4 MB, free: 83.35 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004962/0.8059, allocations: 1.986 MB / 375.4 MB, free: 82.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.806, allocations: 3.875 kB / 375.4 MB, free: 82.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007295/0.8067, allocations: 94.78 kB / 375.5 MB, free: 82.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004072/0.8071, allocations: 104 kB / 375.6 MB, free: 82.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.249e-05/0.8072, allocations: 17.34 kB / 375.6 MB, free: 82.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003318/0.8105, allocations: 2.12 MB / 377.8 MB, free: 81.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/0.8106, allocations: 3.938 kB / 377.8 MB, free: 81.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003934/0.8146, allocations: 1.215 MB / 379 MB, free: 81.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.8157, allocations: 221.9 kB / 379.2 MB, free: 81.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004588/0.8163, allocations: 17.41 kB / 379.2 MB, free: 81.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/0.8182, allocations: 51.78 kB / 379.3 MB, free: 81.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003287/0.8186, allocations: 45.2 kB / 379.3 MB, free: 81.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.8187, allocations: 14.88 kB / 379.3 MB, free: 81.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001881/0.8206, allocations: 0.581 MB / 379.9 MB, free: 81.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.233e-06/0.8207, allocations: 0 / 379.9 MB, free: 81.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002536/0.8232, allocations: 210.5 kB / 380.1 MB, free: 81.13 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.002911/0.8262, allocations: 2.12 MB / 382.2 MB, free: 79.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.8281, allocations: 0.7659 MB / 383 MB, free: 79.36 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.8281, allocations: 0 / 383 MB, free: 79.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.8292, allocations: 470.6 kB / 383.5 MB, free: 79.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.8309, allocations: 161.8 kB / 383.6 MB, free: 79.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00598/0.8369, allocations: 2.104 MB / 385.7 MB, free: 78.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.838, allocations: 1.363 MB / 387.1 MB, free: 77.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009083/0.839, allocations: 186.7 kB / 387.3 MB, free: 77.47 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008134/0.8398, allocations: 373.5 kB / 387.6 MB, free: 77.17 MB / 314.7 MB Notification: Performance of SimCode: time 1.333e-06/0.8399, allocations: 0 / 387.6 MB, free: 77.17 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05405/0.8939, allocations: 17.69 MB / 405.3 MB, free: 64.37 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/0.8942, allocations: 173.6 kB / 405.5 MB, free: 64.15 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.977/3.871, allocations: 3.172 kB / 405.5 MB, free: 64.15 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat