Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.793/1.793, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.075e-05/3.096e-05, allocations: 0 / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2811, allocations: 38.77 MB / 263.8 MB, free: 9.852 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.4123, allocations: 69.74 MB / 333.6 MB, free: 4.008 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.4127, allocations: 67.95 kB / 333.6 MB, free: 3.941 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03911/0.4518, allocations: 8.191 MB / 341.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4519, allocations: 0 / 341.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.868e-05/0.4519, allocations: 12 kB / 341.8 MB, free: 11.7 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.001895/0.4538, allocations: 0.7243 MB / 342.6 MB, free: 10.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.352e-05/0.4539, allocations: 8.031 kB / 342.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003261/0.4543, allocations: 107.6 kB / 342.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002806/0.4546, allocations: 67.25 kB / 342.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.4557, allocations: 359.5 kB / 343.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.909e-05/0.4558, allocations: 37.31 kB / 343.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.4559, allocations: 55.91 kB / 343.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.4578, allocations: 475.8 kB / 343.7 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.4578, allocations: 4 kB / 343.7 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.458, allocations: 20 kB / 343.7 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.458, allocations: 12 kB / 343.7 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.4594, allocations: 317.3 kB / 344 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00636/0.4658, allocations: 1.749 MB / 345.7 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009455/0.4668, allocations: 257 kB / 346 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004806/0.4673, allocations: 133.9 kB / 346.1 MB, free: 7.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.365e-05/0.4674, allocations: 4 kB / 346.1 MB, free: 7.164 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/0.4674, allocations: 46.55 kB / 346.2 MB, free: 7.109 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 4.067e-06/0.4675, allocations: 0 / 346.2 MB, free: 7.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.003361/0.4708, allocations: 0.7533 MB / 346.9 MB, free: 6.297 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.706e-05/0.471, allocations: 85.11 kB / 347 MB, free: 6.195 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.472, allocations: 347.4 kB / 347.4 MB, free: 5.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.4722, allocations: 33.7 kB / 347.4 MB, free: 5.809 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.4725, allocations: 337.8 kB / 347.7 MB, free: 5.473 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.4728, allocations: 114.3 kB / 347.8 MB, free: 5.359 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.4728, allocations: 8 kB / 347.8 MB, free: 5.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.473, allocations: 330.8 kB / 348.2 MB, free: 5.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004423/0.4735, allocations: 88.88 kB / 348.2 MB, free: 4.934 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000531/0.474, allocations: 178.9 kB / 348.4 MB, free: 4.715 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/0.4746, allocations: 117.8 kB / 348.5 MB, free: 4.605 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.4746, allocations: 0 / 348.5 MB, free: 4.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001681/0.4763, allocations: 398.2 kB / 348.9 MB, free: 4.207 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.4764, allocations: 7.984 kB / 348.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.4764, allocations: 4 kB / 348.9 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007008/0.4771, allocations: 85.92 kB / 349 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/0.478, allocations: 79.89 kB / 349.1 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004792/0.4829, allocations: 2.846 MB / 351.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008267/0.4837, allocations: 23.91 kB / 352 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/0.4838, allocations: 23.98 kB / 352 MB, free: 0.875 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.0002422/0.4841, allocations: 124.9 kB / 352.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.4843, allocations: 43.53 kB / 352.2 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.4845, allocations: 43.3 kB / 352.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.4846, allocations: 4 kB / 352.2 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.4846, allocations: 0 / 352.2 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.4846, allocations: 7.938 kB / 352.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003338/0.488, allocations: 0.9302 MB / 353.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.488, allocations: 0 / 353.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.4886, allocations: 48.16 kB / 353.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006873/0.4893, allocations: 97.5 kB / 353.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.321e-05/0.4894, allocations: 8 kB / 353.3 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004855/0.4943, allocations: 2.842 MB / 356.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/0.4943, allocations: 7.969 kB / 356.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.4963, allocations: 0.5874 MB / 356.7 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004246/0.4967, allocations: 132.8 kB / 356.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.4969, allocations: 19.92 kB / 356.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008974/0.4978, allocations: 31.98 kB / 356.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.498, allocations: 27.92 kB / 356.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/0.4981, allocations: 11.98 kB / 356.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007313/0.4988, allocations: 266.2 kB / 357.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.4988, allocations: 0 / 357.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001468/0.5003, allocations: 124 kB / 357.3 MB, free: 11.14 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.002618/0.503, allocations: 1.213 MB / 358.5 MB, free: 9.891 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.5048, allocations: 0.489 MB / 359 MB, free: 9.379 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.076e-06/0.5048, allocations: 4.188 kB / 359 MB, free: 9.375 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.506, allocations: 369.1 kB / 359.4 MB, free: 8.988 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009484/0.507, allocations: 62.45 kB / 359.5 MB, free: 8.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.511, allocations: 0.8618 MB / 360.3 MB, free: 8.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008166/0.5119, allocations: 0.8626 MB / 361.2 MB, free: 7.129 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005376/0.5125, allocations: 171.4 kB / 361.3 MB, free: 6.961 MB / 314.7 MB Notification: Performance of SimCode: time 1.413e-06/0.5125, allocations: 0 / 361.3 MB, free: 6.961 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.122/3.634, allocations: 10.83 MB / 372.2 MB, free: 90.99 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat does not exist to compare? outputFormat=mat