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.662/1.662, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.93e-05, allocations: 4 kB / 225.1 MB, free: 2.207 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2546, allocations: 38.77 MB / 263.9 MB, free: 9.688 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.3805, allocations: 69.73 MB / 333.6 MB, free: 3.852 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.3809, allocations: 75.95 kB / 333.7 MB, free: 3.777 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03516/0.416, allocations: 8.188 MB / 341.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4161, allocations: 0 / 341.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.211e-05/0.4161, allocations: 8 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.001675/0.4178, allocations: 0.7282 MB / 342.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.4179, allocations: 12.03 kB / 342.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002004/0.4181, allocations: 107.6 kB / 342.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.4183, allocations: 67.25 kB / 342.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000655/0.4189, allocations: 359.5 kB / 343.1 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.419, allocations: 37.31 kB / 343.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.4191, allocations: 55.91 kB / 343.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.4203, allocations: 479.8 kB / 343.7 MB, free: 9.598 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.4204, allocations: 0 / 343.7 MB, free: 9.598 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.95e-05/0.4205, allocations: 20 kB / 343.7 MB, free: 9.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.4205, allocations: 16 kB / 343.7 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009145/0.4214, allocations: 309.3 kB / 344 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004434/0.4259, allocations: 1.749 MB / 345.8 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006441/0.4265, allocations: 261 kB / 346 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.4269, allocations: 129.9 kB / 346.1 MB, free: 7.004 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.4269, allocations: 11.92 kB / 346.2 MB, free: 6.992 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.427, allocations: 38.56 kB / 346.2 MB, free: 6.945 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.875e-06/0.427, allocations: 0 / 346.2 MB, free: 6.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.002225/0.4292, allocations: 0.7544 MB / 347 MB, free: 6.133 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.4294, allocations: 81.11 kB / 347 MB, free: 6.035 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008225/0.4302, allocations: 347.4 kB / 347.4 MB, free: 5.688 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.921e-05/0.4303, allocations: 37.7 kB / 347.4 MB, free: 5.645 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.4306, allocations: 291.4 kB / 347.7 MB, free: 5.352 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.4308, allocations: 118.3 kB / 347.8 MB, free: 5.234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.4308, allocations: 8 kB / 347.8 MB, free: 5.227 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002357/0.4311, allocations: 350.8 kB / 348.2 MB, free: 4.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.4315, allocations: 92.81 kB / 348.2 MB, free: 4.785 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.432, allocations: 174.9 kB / 348.4 MB, free: 4.574 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.4325, allocations: 118.5 kB / 348.5 MB, free: 4.465 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.4325, allocations: 4 kB / 348.5 MB, free: 4.461 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001583/0.4341, allocations: 421.9 kB / 349 MB, free: 4.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.4341, allocations: 8 kB / 349 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.4342, allocations: 0 / 349 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006475/0.4348, allocations: 85.92 kB / 349 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008187/0.4357, allocations: 79.89 kB / 349.1 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004472/0.4401, allocations: 2.846 MB / 352 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007304/0.4409, allocations: 31.92 kB / 352 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.441, allocations: 16 kB / 352 MB, free: 0.707 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.0002049/0.4412, allocations: 120.9 kB / 352.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.4414, allocations: 43.53 kB / 352.2 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.4416, allocations: 47.23 kB / 352.2 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.4416, allocations: 4 kB / 352.2 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.4416, allocations: 0 / 352.2 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.4417, allocations: 11.94 kB / 352.2 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/0.4444, allocations: 0.9286 MB / 353.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.4445, allocations: 0 / 353.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004868/0.445, allocations: 43.97 kB / 353.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006077/0.4456, allocations: 93.77 kB / 353.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.4456, allocations: 7.938 kB / 353.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00453/0.4502, allocations: 2.849 MB / 356.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.4502, allocations: 0 / 356.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.4522, allocations: 0.5913 MB / 356.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000351/0.4526, allocations: 132.6 kB / 356.9 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.4528, allocations: 8.188 kB / 356.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009012/0.4537, allocations: 39.98 kB / 356.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.4538, allocations: 31.91 kB / 357 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.4539, allocations: 8 kB / 357 MB, free: 11.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006802/0.4546, allocations: 262.2 kB / 357.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.4546, allocations: 8 kB / 357.2 MB, free: 11.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001326/0.456, allocations: 116 kB / 357.3 MB, free: 10.98 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.002204/0.4582, allocations: 1.218 MB / 358.6 MB, free: 9.727 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.4597, allocations: 0.4892 MB / 359 MB, free: 9.215 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.4598, allocations: 7.938 kB / 359.1 MB, free: 9.207 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.4609, allocations: 369.1 kB / 359.4 MB, free: 8.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008177/0.4617, allocations: 58.59 kB / 359.5 MB, free: 8.766 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.4653, allocations: 0.8251 MB / 360.3 MB, free: 7.898 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007733/0.4661, allocations: 0.8626 MB / 361.2 MB, free: 7.008 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004649/0.4666, allocations: 47.28 kB / 361.2 MB, free: 6.961 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000493/0.4671, allocations: 171.4 kB / 361.4 MB, free: 6.793 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.4671, allocations: 0 / 361.4 MB, free: 6.793 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3031/0.7703, allocations: 8.004 MB / 369.4 MB, free: 90.3 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.7705, allocations: 179.4 kB / 369.6 MB, free: 90.08 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/3.328, allocations: 0.5 kB / 369.6 MB, free: 90.08 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