Running command: "" <> buildModelFMU(Physiolibrary.Chemical.Examples.TwoConcentrationCompartments,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_TwoConcentrationCompartments",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 2.121/2.121, allocations: 210.4 MB / 222.5 MB, free: 4.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.387e-05/3.412e-05, allocations: 0 / 273.9 MB, free: 1.184 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 48.35 MB / 322.2 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.553/0.6606, allocations: 95.85 MB / 418.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/0.661, allocations: 79.61 kB / 418.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.143/1.804, allocations: 183 MB / 0.5871 GB, free: 83.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.804, allocations: 4 kB / 0.5871 GB, free: 83.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001134/1.804, allocations: 27.98 kB / 0.5871 GB, free: 83.28 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.02998/1.834, allocations: 4.348 MB / 0.5914 GB, free: 78.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/1.834, allocations: 12.03 kB / 0.5914 GB, free: 78.86 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001589/1.836, allocations: 154.5 kB / 0.5916 GB, free: 78.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/1.838, allocations: 154.6 kB / 0.5917 GB, free: 78.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03392/1.872, allocations: 4.612 MB / 0.5962 GB, free: 73.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001604/1.873, allocations: 2.736 MB / 0.5989 GB, free: 70.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001912/1.875, allocations: 159.6 kB / 0.599 GB, free: 70.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009307/1.885, allocations: 2.439 MB / 0.6014 GB, free: 67.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.151e-05/1.885, allocations: 0 / 0.6014 GB, free: 67.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006027/1.885, allocations: 31.95 kB / 0.6014 GB, free: 67.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/1.885, allocations: 16 kB / 0.6015 GB, free: 67.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006025/1.891, allocations: 1.713 MB / 0.6031 GB, free: 66.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04877/1.94, allocations: 10.68 MB / 0.6136 GB, free: 55.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006093/1.946, allocations: 1.76 MB / 0.6153 GB, free: 53.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006047/1.952, allocations: 1.688 MB / 0.6169 GB, free: 51.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/1.954, allocations: 16.98 kB / 0.6169 GB, free: 51.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008023/1.962, allocations: 2.316 MB / 0.6192 GB, free: 49.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=124): time 6.181e-06/1.962, allocations: 0 / 0.6192 GB, free: 49.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=124): time 0.01444/1.976, allocations: 3.431 MB / 0.6226 GB, free: 46.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/1.976, allocations: 97.56 kB / 0.6226 GB, free: 46.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/1.977, allocations: 0.5899 MB / 0.6232 GB, free: 45.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001442/1.979, allocations: 65.7 kB / 0.6233 GB, free: 45.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/1.979, allocations: 354.6 kB / 0.6236 GB, free: 44.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002102/1.981, allocations: 0.5471 MB / 0.6242 GB, free: 44.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007293/1.982, allocations: 36 kB / 0.6242 GB, free: 44.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002167/1.982, allocations: 381.9 kB / 0.6246 GB, free: 44.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006663/1.989, allocations: 1.995 MB / 0.6265 GB, free: 42.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007101/1.996, allocations: 2.148 MB / 0.6286 GB, free: 39.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007245/2.003, allocations: 2.084 MB / 0.6306 GB, free: 37.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/2.003, allocations: 0 / 0.6306 GB, free: 37.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.01894/2.022, allocations: 4.48 MB / 0.635 GB, free: 33.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.746e-05/2.022, allocations: 44 kB / 0.6351 GB, free: 33.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/2.023, allocations: 0 / 0.6351 GB, free: 33.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.184e-05/2.023, allocations: 12 kB / 0.6351 GB, free: 33.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1768/2.199, allocations: 13.49 MB / 0.6482 GB, free: 19.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-05/2.199, allocations: 12 kB / 0.6483 GB, free: 19.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01053/2.21, allocations: 0.6774 MB / 0.6489 GB, free: 19.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001638/2.212, allocations: 56 kB / 0.649 GB, free: 18.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (241): * Single equations (assignments): 240 * Array equations: 0 * Algorithm blocks: 1 * 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.001675/2.213, allocations: 188.5 kB / 0.6491 GB, free: 18.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/2.215, allocations: 106.7 kB / 0.6492 GB, free: 18.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01503/2.23, allocations: 3.809 MB / 0.653 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/2.23, allocations: 16 kB / 0.653 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/2.23, allocations: 3.938 kB / 0.653 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.063e-05/2.23, allocations: 8.016 kB / 0.653 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/2.242, allocations: 4.238 MB / 0.6571 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-05/2.242, allocations: 3.984 kB / 0.6571 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.5146/2.756, allocations: 13.42 MB / 0.6702 GB, free: 85.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.985e-05/2.756, allocations: 4.219 kB / 0.6703 GB, free: 85.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001669/2.758, allocations: 84.39 kB / 0.6703 GB, free: 85.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-05/2.758, allocations: 7.297 kB / 0.6703 GB, free: 85.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/2.758, allocations: 0 / 0.6703 GB, free: 85.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02091/2.779, allocations: 4.706 MB / 0.6749 GB, free: 85.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003205/2.782, allocations: 0.558 MB / 0.6755 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000932/2.783, allocations: 72.81 kB / 0.6756 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009244/2.793, allocations: 0.5701 MB / 0.6761 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001195/2.794, allocations: 140.6 kB / 0.6762 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004382/2.794, allocations: 37.27 kB / 0.6763 GB, free: 85.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008974/2.795, allocations: 454 kB / 0.6767 GB, free: 85.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.795, allocations: 0 / 0.6767 GB, free: 85.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003057/2.798, allocations: 0.62 MB / 0.6773 GB, free: 85.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 103 (substance.state,substance1.state,advectionStream.c[2],advectionStream.c[3],advectionStream.c[4],advectionStream.c[5],advectionStream.c[6],advectionStream.c[7],advectionStream.c[8],advectionStream.c[9],advectionStream.c[10],advectionStream.c[11],advectionStream.c[12],advectionStream.c[13],advectionStream.c[14],advectionStream.c[15],advectionStream.c[16],advectionStream.c[17],advectionStream.c[18],advectionStream.c[19],advectionStream.c[20],advectionStream.c[21],advectionStream.c[22],advectionStream.c[23],advectionStream.c[24],advectionStream.c[25],advectionStream.c[26],advectionStream.c[27],advectionStream.c[28],advectionStream.c[29],advectionStream.c[30],advectionStream.c[31],advectionStream.c[32],advectionStream.c[33],advectionStream.c[34],advectionStream.c[35],advectionStream.c[36],advectionStream.c[37],advectionStream.c[38],advectionStream.c[39],advectionStream.c[40],advectionStream.c[41],advectionStream.c[42],advectionStream.c[43],advectionStream.c[44],advectionStream.c[45],advectionStream.c[46],advectionStream.c[47],advectionStream.c[48],advectionStream.c[49],advectionStream.c[50],advectionStream.c[51],advectionStream.c[52],advectionStream.c[53],advectionStream.c[54],advectionStream.c[55],advectionStream.c[56],advectionStream.c[57],advectionStream.c[58],advectionStream.c[59],advectionStream.c[60],advectionStream.c[61],advectionStream.c[62],advectionStream.c[63],advectionStream.c[64],advectionStream.c[65],advectionStream.c[66],advectionStream.c[67],advectionStream.c[68],advectionStream.c[69],advectionStream.c[70],advectionStream.c[71],advectionStream.c[72],advectionStream.c[73],advectionStream.c[74],advectionStream.c[75],advectionStream.c[76],advectionStream.c[77],advectionStream.c[78],advectionStream.c[79],advectionStream.c[80],advectionStream.c[81],advectionStream.c[82],advectionStream.c[83],advectionStream.c[84],advectionStream.c[85],advectionStream.c[86],advectionStream.c[87],advectionStream.c[88],advectionStream.c[89],advectionStream.c[90],advectionStream.c[91],advectionStream.c[92],advectionStream.c[93],advectionStream.c[94],advectionStream.c[95],advectionStream.c[96],advectionStream.c[97],advectionStream.c[98],advectionStream.c[99],elasticVessel.state,elasticVessel1.state,inertia.state) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.01701/2.815, allocations: 5.48 MB / 0.6827 GB, free: 84.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01283/2.828, allocations: 3.944 MB / 0.6865 GB, free: 84.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/2.828, allocations: 0 / 0.6865 GB, free: 84.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006678/2.835, allocations: 1.788 MB / 0.6883 GB, free: 84.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004015/2.839, allocations: 468.9 kB / 0.6887 GB, free: 84.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/2.862, allocations: 10.33 MB / 0.6988 GB, free: 80.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008553/2.863, allocations: 1.183 MB / 0.7 GB, free: 80.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008926/2.872, allocations: 0.8329 MB / 0.7008 GB, free: 79.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004246/2.877, allocations: 450.4 kB / 0.7012 GB, free: 79.82 MB / 426.7 MB Notification: Performance of SimCode: time 2.114e-06/2.877, allocations: 0 / 0.7012 GB, free: 79.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1195/2.996, allocations: 50.65 MB / 0.7507 GB, free: 63.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/2.996, allocations: 168.8 kB / 0.7508 GB, free: 62.97 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.548/7.545, allocations: 0 / 0.7508 GB, free: 62.97 MB / 426.7 MB