Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.338/2.338, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.108e-05/4.111e-05, allocations: 4 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3922, allocations: 54.86 MB / 359.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.5472, allocations: 84.68 MB / 444.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.5475, allocations: 68.75 kB / 444.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04103/0.5885, allocations: 8.868 MB / 453.5 MB, free: 3.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5886, allocations: 0 / 453.5 MB, free: 3.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.921e-05/0.5886, allocations: 12 kB / 453.5 MB, free: 3.336 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.001709/0.5904, allocations: 0.6628 MB / 454.2 MB, free: 2.629 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.5904, allocations: 8.031 kB / 454.2 MB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001665/0.5906, allocations: 86.52 kB / 454.2 MB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.5907, allocations: 47.44 kB / 454.3 MB, free: 2.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005763/0.5913, allocations: 308.2 kB / 454.6 MB, free: 2.137 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/0.5914, allocations: 33 kB / 454.6 MB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.5915, allocations: 51.94 kB / 454.7 MB, free: 2.055 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.5926, allocations: 433 kB / 455.1 MB, free: 1.613 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.5926, allocations: 3.953 kB / 455.1 MB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.541e-05/0.5927, allocations: 16 kB / 455.1 MB, free: 1.594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.5927, allocations: 16.83 kB / 455.1 MB, free: 1.578 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008149/0.5936, allocations: 277.9 kB / 455.4 MB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/0.5977, allocations: 1.703 MB / 457.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/0.5983, allocations: 209.1 kB / 457.3 MB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.5987, allocations: 126.3 kB / 457.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.5988, allocations: 7.953 kB / 457.4 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.5988, allocations: 42.5 kB / 457.5 MB, free: 15.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 3.306e-06/0.5988, allocations: 0 / 457.5 MB, free: 15.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.003477/0.6023, allocations: 1.109 MB / 458.6 MB, free: 13.87 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.6024, allocations: 85.06 kB / 458.7 MB, free: 13.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.6029, allocations: 230.9 kB / 458.9 MB, free: 13.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/0.6029, allocations: 29.7 kB / 458.9 MB, free: 13.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.6032, allocations: 313.9 kB / 459.2 MB, free: 13.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.6034, allocations: 114.4 kB / 459.3 MB, free: 13.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.6034, allocations: 12 kB / 459.4 MB, free: 13.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.6036, allocations: 330.8 kB / 459.7 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.6039, allocations: 88.88 kB / 459.8 MB, free: 12.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.6042, allocations: 183 kB / 459.9 MB, free: 12.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.6046, allocations: 125.3 kB / 460.1 MB, free: 12.31 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.6046, allocations: 1.5 kB / 460.1 MB, free: 12.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009847/0.6056, allocations: 359.7 kB / 460.4 MB, free: 11.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.6056, allocations: 8.297 kB / 460.4 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.6057, allocations: 8 kB / 460.4 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.6059, allocations: 32.84 kB / 460.5 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/0.6068, allocations: 123.8 kB / 460.6 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.6083, allocations: 1.335 MB / 461.9 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.6088, allocations: 23.91 kB / 462 MB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/0.6088, allocations: 19.98 kB / 462 MB, free: 10.26 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.0001797/0.609, allocations: 128.9 kB / 462.1 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.6091, allocations: 31.67 kB / 462.1 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.845e-05/0.6093, allocations: 33.95 kB / 462.2 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.6093, allocations: 4 kB / 462.2 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.6093, allocations: 4 kB / 462.2 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.6093, allocations: 0 / 462.2 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.6109, allocations: 0.7163 MB / 462.9 MB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.611, allocations: 4.875 kB / 462.9 MB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008324/0.6118, allocations: 91.88 kB / 463 MB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/0.6119, allocations: 24.84 kB / 463 MB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.612, allocations: 12.06 kB / 463 MB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.6133, allocations: 1.316 MB / 464.3 MB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.6133, allocations: 4.031 kB / 464.3 MB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.6145, allocations: 0.5931 MB / 464.9 MB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.6147, allocations: 124.8 kB / 465.1 MB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.173e-05/0.6148, allocations: 8 kB / 465.1 MB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.6153, allocations: 23.98 kB / 465.1 MB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.6154, allocations: 28.75 kB / 465.1 MB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.6154, allocations: 7.984 kB / 465.1 MB, free: 6.844 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002872/0.6157, allocations: 183.1 kB / 465.3 MB, free: 6.664 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6158, allocations: 4 kB / 465.3 MB, free: 6.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006805/0.6164, allocations: 92 kB / 465.4 MB, free: 6.57 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.001681/0.6181, allocations: 1.339 MB / 466.7 MB, free: 5.184 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000959/0.6191, allocations: 358 kB / 467.1 MB, free: 4.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.6192, allocations: 4.688 kB / 467.1 MB, free: 4.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004489/0.6196, allocations: 226.2 kB / 467.3 MB, free: 4.594 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.6202, allocations: 33.95 kB / 467.3 MB, free: 4.562 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.6228, allocations: 0.7783 MB / 468.1 MB, free: 3.734 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.6234, allocations: 0.823 MB / 468.9 MB, free: 2.879 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.6237, allocations: 143.4 kB / 469.1 MB, free: 2.738 MB / 394.7 MB Notification: Performance of SimCode: time 1.332e-06/0.6237, allocations: 0 / 469.1 MB, free: 2.738 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.669/3.293, allocations: 7.527 MB / 476.6 MB, free: 11.21 MB / 410.7 MB