Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_FluxTubes_BasicComponents",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.735/2.735, allocations: 235.1 MB / 242.3 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.634e-05/2.646e-05, allocations: 3.984 kB / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4372, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1747/0.612, allocations: 84.01 MB / 438.4 MB, free: 11.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.6123, allocations: 71.95 kB / 438.5 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0446/0.657, allocations: 8.801 MB / 447.3 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.657, allocations: 0 / 447.3 MB, free: 2.172 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.411e-05/0.6571, allocations: 12 kB / 447.3 MB, free: 2.16 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001782/0.6589, allocations: 0.6531 MB / 448 MB, free: 1.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.6589, allocations: 8.031 kB / 448 MB, free: 1.453 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.6591, allocations: 51.38 kB / 448 MB, free: 1.402 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/0.6598, allocations: 316.5 kB / 448.3 MB, free: 1.051 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.476e-05/0.6598, allocations: 16 kB / 448.4 MB, free: 1.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.66, allocations: 31.94 kB / 448.4 MB, free: 1.004 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008778/0.6608, allocations: 254.6 kB / 448.6 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.6619, allocations: 364.5 kB / 449 MB, free: 392 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.6619, allocations: 3.953 kB / 449 MB, free: 388 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.009e-05/0.662, allocations: 4 kB / 449 MB, free: 384 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.662, allocations: 8 kB / 449 MB, free: 376 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004201/0.6662, allocations: 1.614 MB / 450.6 MB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006016/0.6669, allocations: 205.1 kB / 450.8 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.6673, allocations: 113.7 kB / 450.9 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.6673, allocations: 224 / 450.9 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.6674, allocations: 38.5 kB / 451 MB, free: 14.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 2.264e-06/0.6674, allocations: 0 / 451 MB, free: 14.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.00323/0.6706, allocations: 1.026 MB / 452 MB, free: 13.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.6707, allocations: 77.11 kB / 452.1 MB, free: 13.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.6711, allocations: 222 kB / 452.3 MB, free: 12.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.6712, allocations: 25.7 kB / 452.3 MB, free: 12.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.6714, allocations: 255.4 kB / 452.6 MB, free: 12.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.6716, allocations: 118.3 kB / 452.7 MB, free: 12.42 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.6716, allocations: 0 / 452.7 MB, free: 12.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.6718, allocations: 346.8 kB / 453 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.6721, allocations: 76.88 kB / 453.1 MB, free: 12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.6724, allocations: 166.8 kB / 453.3 MB, free: 11.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.6728, allocations: 112.8 kB / 453.4 MB, free: 11.69 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6728, allocations: 0 / 453.4 MB, free: 11.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001036/0.6739, allocations: 346.2 kB / 453.7 MB, free: 11.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.6739, allocations: 9.812 kB / 453.7 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.6739, allocations: 4 kB / 453.7 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/0.6741, allocations: 29.19 kB / 453.7 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.6752, allocations: 131.8 kB / 453.9 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.6767, allocations: 1.288 MB / 455.2 MB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/0.6773, allocations: 8 kB / 455.2 MB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/0.6773, allocations: 16 kB / 455.2 MB, free: 9.742 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.6775, allocations: 116.8 kB / 455.3 MB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007957/0.6783, allocations: 251.9 kB / 455.5 MB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.6784, allocations: 35.58 kB / 455.6 MB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.6785, allocations: 29.95 kB / 455.6 MB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.6786, allocations: 4 kB / 455.6 MB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.6786, allocations: 0 / 455.6 MB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.6786, allocations: 4 kB / 455.6 MB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.6802, allocations: 0.6241 MB / 456.2 MB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.6803, allocations: 0 / 456.2 MB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009247/0.6812, allocations: 95.88 kB / 456.3 MB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001537/0.6814, allocations: 28.84 kB / 456.4 MB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.6814, allocations: 0 / 456.4 MB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.6828, allocations: 1.276 MB / 457.6 MB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/0.6829, allocations: 8.016 kB / 457.7 MB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.684, allocations: 0.5605 MB / 458.2 MB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.6843, allocations: 120.8 kB / 458.3 MB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.068e-05/0.6844, allocations: 8 kB / 458.3 MB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/0.6849, allocations: 15.98 kB / 458.4 MB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.685, allocations: 23.95 kB / 458.4 MB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.685, allocations: 8 kB / 458.4 MB, free: 6.297 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002616/0.6853, allocations: 166 kB / 458.5 MB, free: 6.141 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6853, allocations: 0 / 458.5 MB, free: 6.141 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007651/0.6861, allocations: 80 kB / 458.6 MB, free: 6.062 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001684/0.6878, allocations: 1.319 MB / 459.9 MB, free: 4.691 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009485/0.6888, allocations: 338.3 kB / 460.3 MB, free: 4.352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.6888, allocations: 0.6875 kB / 460.3 MB, free: 4.352 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004515/0.6893, allocations: 229.6 kB / 460.5 MB, free: 4.117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.6898, allocations: 28.48 kB / 460.5 MB, free: 4.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.6923, allocations: 0.6985 MB / 461.2 MB, free: 3.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.6929, allocations: 0.8269 MB / 462.1 MB, free: 2.488 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003111/0.6932, allocations: 31.28 kB / 462.1 MB, free: 2.461 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/0.6935, allocations: 135.4 kB / 462.2 MB, free: 2.328 MB / 394.7 MB Notification: Performance of SimCode: time 2.915e-06/0.6935, allocations: 3.938 kB / 462.2 MB, free: 2.324 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3814/1.075, allocations: 5.158 MB / 467.4 MB, free: 98.46 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002931/1.075, allocations: 138.7 kB / 467.5 MB, free: 98.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.961/4.037, allocations: 0 / 467.5 MB, free: 98.27 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.FluxTubes.BasicComponents_res.mat does not exist to compare? outputFormat=mat