Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.724/1.724, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.893e-05/2.892e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2873, allocations: 38.76 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.4292, allocations: 69.76 MB / 333.6 MB, free: 3.852 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.4296, allocations: 71.97 kB / 333.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0357/0.4653, allocations: 8.184 MB / 341.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4653, allocations: 0 / 341.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.782e-05/0.4654, allocations: 12 kB / 341.9 MB, free: 11.54 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001682/0.4671, allocations: 0.7243 MB / 342.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.4671, allocations: 8.031 kB / 342.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000205/0.4674, allocations: 115.5 kB / 342.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.4675, allocations: 67.25 kB / 342.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006867/0.4682, allocations: 363.5 kB / 343.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/0.4683, allocations: 37.31 kB / 343.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.4684, allocations: 59.84 kB / 343.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.4696, allocations: 473.2 kB / 343.7 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.4696, allocations: 0 / 343.7 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.402e-05/0.4697, allocations: 20 kB / 343.7 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.4697, allocations: 12 kB / 343.7 MB, free: 9.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008866/0.4706, allocations: 306.6 kB / 344 MB, free: 9.273 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004272/0.4749, allocations: 1.749 MB / 345.8 MB, free: 7.426 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006195/0.4755, allocations: 253.1 kB / 346 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.4759, allocations: 137.9 kB / 346.2 MB, free: 7.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.4759, allocations: 4 kB / 346.2 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.476, allocations: 38.56 kB / 346.2 MB, free: 6.969 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.294e-06/0.476, allocations: 0 / 346.2 MB, free: 6.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001999/0.478, allocations: 0.7533 MB / 347 MB, free: 6.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.4781, allocations: 85.09 kB / 347.1 MB, free: 6.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006093/0.4787, allocations: 343.4 kB / 347.4 MB, free: 5.711 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.4787, allocations: 29.7 kB / 347.4 MB, free: 5.676 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.479, allocations: 291.4 kB / 347.7 MB, free: 5.387 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.4792, allocations: 122.3 kB / 347.8 MB, free: 5.266 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.4792, allocations: 8 kB / 347.8 MB, free: 5.258 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.4794, allocations: 350.8 kB / 348.2 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.4797, allocations: 88.88 kB / 348.3 MB, free: 4.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.48, allocations: 181.9 kB / 348.4 MB, free: 4.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.4804, allocations: 109.5 kB / 348.5 MB, free: 4.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.4804, allocations: 4 kB / 348.5 MB, free: 4.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001165/0.4816, allocations: 417.5 kB / 349 MB, free: 4.082 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.4816, allocations: 8.031 kB / 349 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.4816, allocations: 4 kB / 349 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005046/0.4821, allocations: 81.66 kB / 349 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006229/0.4828, allocations: 79.84 kB / 349.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003267/0.4861, allocations: 2.846 MB / 352 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.4866, allocations: 27.88 kB / 352 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.4867, allocations: 16 kB / 352 MB, free: 0.7539 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.4868, allocations: 124.9 kB / 352.1 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.487, allocations: 43.53 kB / 352.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.4871, allocations: 51.34 kB / 352.2 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.4871, allocations: 4 kB / 352.2 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.4871, allocations: 7.938 kB / 352.2 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4871, allocations: 3.953 kB / 352.2 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.4891, allocations: 0.9247 MB / 353.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4891, allocations: 0 / 353.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.4895, allocations: 47.97 kB / 353.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004441/0.49, allocations: 89.44 kB / 353.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.49, allocations: 4 kB / 353.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003164/0.4932, allocations: 2.861 MB / 356.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4932, allocations: 0 / 356.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.4945, allocations: 0.5891 MB / 356.8 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.4948, allocations: 128.6 kB / 356.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.999e-05/0.4949, allocations: 12 kB / 356.9 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005902/0.4955, allocations: 31.97 kB / 356.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/0.4956, allocations: 27.92 kB / 357 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.4956, allocations: 12 kB / 357 MB, free: 11.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004602/0.4961, allocations: 270.1 kB / 357.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.4961, allocations: 0 / 357.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000847/0.4969, allocations: 124 kB / 357.4 MB, free: 11.02 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001622/0.4986, allocations: 1.209 MB / 358.6 MB, free: 9.773 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.4997, allocations: 483.4 kB / 359 MB, free: 9.281 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4997, allocations: 0 / 359 MB, free: 9.281 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008172/0.5006, allocations: 351.4 kB / 359.4 MB, free: 8.918 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.5011, allocations: 57.72 kB / 359.4 MB, free: 8.859 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.5037, allocations: 0.8402 MB / 360.3 MB, free: 7.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/0.5042, allocations: 0.8587 MB / 361.1 MB, free: 7.094 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002923/0.5045, allocations: 43.28 kB / 361.2 MB, free: 7.047 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/0.5049, allocations: 175.4 kB / 361.3 MB, free: 6.879 MB / 314.7 MB Notification: Performance of SimCode: time 6.62e-07/0.5049, allocations: 4 kB / 361.3 MB, free: 6.875 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2482/0.7531, allocations: 7.949 MB / 369.3 MB, free: 90.22 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.7533, allocations: 187.4 kB / 369.5 MB, free: 89.99 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/3.215, allocations: 0 / 369.5 MB, free: 89.99 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat does not exist to compare? outputFormat=mat