Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_FluxTubes_Sources",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.979/2.979, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.029e-05/2.044e-05, allocations: 0 / 299.5 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4354, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1984/0.6339, allocations: 82.18 MB / 436.6 MB, free: 12.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/0.6343, allocations: 67.91 kB / 436.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04103/0.6754, allocations: 6.838 MB / 443.5 MB, free: 5.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6754, allocations: 0 / 443.5 MB, free: 5.977 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.6755, allocations: 8 kB / 443.5 MB, free: 5.969 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001715/0.6772, allocations: 0.5919 MB / 444.1 MB, free: 5.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.684e-05/0.6773, allocations: 8.031 kB / 444.1 MB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/0.6774, allocations: 62.45 kB / 444.1 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.6776, allocations: 43.48 kB / 444.2 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005886/0.6782, allocations: 272.3 kB / 444.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.6782, allocations: 20.72 kB / 444.5 MB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.6783, allocations: 20 kB / 444.5 MB, free: 4.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007297/0.6791, allocations: 193.5 kB / 444.7 MB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008477/0.6799, allocations: 274.3 kB / 445 MB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.68, allocations: 0 / 445 MB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.68, allocations: 0 / 445 MB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.68, allocations: 8 kB / 445 MB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00322/0.6833, allocations: 1.212 MB / 446.2 MB, free: 3.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005946/0.6839, allocations: 166.7 kB / 446.3 MB, free: 2.891 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.6841, allocations: 55.58 kB / 446.4 MB, free: 2.824 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.6842, allocations: 4 kB / 446.4 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.6842, allocations: 42.56 kB / 446.4 MB, free: 2.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 4.218e-06/0.6842, allocations: 0 / 446.4 MB, free: 2.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.000574/0.6848, allocations: 129.2 kB / 446.6 MB, free: 2.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.558e-05/0.6849, allocations: 136.5 kB / 446.7 MB, free: 2.473 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.6854, allocations: 230.3 kB / 446.9 MB, free: 2.242 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.6854, allocations: 29.7 kB / 447 MB, free: 2.207 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.6857, allocations: 243.6 kB / 447.2 MB, free: 1.965 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.011e-05/0.6858, allocations: 51.34 kB / 447.2 MB, free: 1.914 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/0.6858, allocations: 0 / 447.2 MB, free: 1.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.686, allocations: 334.8 kB / 447.6 MB, free: 1.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.6862, allocations: 44.56 kB / 447.6 MB, free: 1.531 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.6865, allocations: 136 kB / 447.7 MB, free: 1.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.6867, allocations: 63.91 kB / 447.8 MB, free: 1.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.6868, allocations: 4 kB / 447.8 MB, free: 1.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007395/0.6875, allocations: 225.1 kB / 448 MB, free: 1.066 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.6876, allocations: 7.953 kB / 448 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.6876, allocations: 4 kB / 448 MB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.6876, allocations: 7.938 kB / 448 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007862/0.6884, allocations: 84.08 kB / 448.1 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.6884, allocations: 8 kB / 448.1 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005548/0.689, allocations: 35.67 kB / 448.2 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.6891, allocations: 16 kB / 448.2 MB, free: 0.9062 MB / 378.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 (34): * Single equations (assignments): 34 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.6892, allocations: 112.8 kB / 448.3 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.6894, allocations: 23.72 kB / 448.3 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.6895, allocations: 37.59 kB / 448.4 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.6895, allocations: 4 kB / 448.4 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.6896, allocations: 0 / 448.4 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.6896, allocations: 0 / 448.4 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.6908, allocations: 0.5375 MB / 448.9 MB, free: 124 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.6909, allocations: 4.031 kB / 448.9 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/0.6913, allocations: 43.91 kB / 448.9 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/0.6914, allocations: 4 kB / 449 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.6914, allocations: 4 kB / 449 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.6914, allocations: 3.938 kB / 449 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.324e-05/0.6914, allocations: 4 kB / 449 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000634/0.6921, allocations: 415.1 kB / 449.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.6922, allocations: 108.8 kB / 449.5 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.431e-05/0.6923, allocations: 0 / 449.5 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/0.6928, allocations: 15.98 kB / 449.5 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.84e-05/0.6929, allocations: 19.98 kB / 449.5 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.6929, allocations: 7.984 kB / 449.5 MB, free: 15.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003489/0.6933, allocations: 178 kB / 449.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6933, allocations: 0 / 449.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006681/0.694, allocations: 71.69 kB / 449.8 MB, free: 15.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/0.6952, allocations: 1.349 MB / 451.1 MB, free: 13.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006399/0.6958, allocations: 131.8 kB / 451.2 MB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.6959, allocations: 0 / 451.2 MB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.6961, allocations: 52.73 kB / 451.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.6966, allocations: 16.89 kB / 451.3 MB, free: 13.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.6988, allocations: 405.1 kB / 451.7 MB, free: 13.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007336/0.6996, allocations: 0.783 MB / 452.5 MB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003332/0.7, allocations: 13.86 kB / 452.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/0.7003, allocations: 99.39 kB / 452.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.373e-06/0.7004, allocations: 4 kB / 452.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/0.8068, allocations: 3.705 MB / 456.3 MB, free: 8.512 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0009099/0.8078, allocations: 133.6 kB / 456.4 MB, free: 8.312 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.311/4.119, allocations: 4 kB / 456.4 MB, free: 8.309 MB / 394.7 MB