Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.964/2.964, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.62e-05, allocations: 0 / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4603/0.4603, allocations: 54.86 MB / 354.4 MB, free: 15.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.954/10.41, allocations: 2.908 GB / 3.254 GB, free: 39.27 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/10.41, allocations: 71.28 kB / 3.254 GB, free: 39.23 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.297/11.71, allocations: 208.2 MB / 3.457 GB, free: 40.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.474e-06/11.71, allocations: 0 / 3.457 GB, free: 40.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/11.71, allocations: 4 kB / 3.457 GB, free: 40.15 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.006057/11.72, allocations: 1.15 MB / 3.459 GB, free: 38.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/11.72, allocations: 16.02 kB / 3.459 GB, free: 38.94 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.511e-05/11.72, allocations: 46.55 kB / 3.459 GB, free: 38.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/11.72, allocations: 27.72 kB / 3.459 GB, free: 38.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/11.72, allocations: 230.7 kB / 3.459 GB, free: 38.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/11.72, allocations: 123.3 kB / 3.459 GB, free: 38.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/11.72, allocations: 12 kB / 3.459 GB, free: 38.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001156/11.72, allocations: 0.7074 MB / 3.46 GB, free: 37.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/11.72, allocations: 286.6 kB / 3.46 GB, free: 37.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/11.72, allocations: 3.938 kB / 3.46 GB, free: 37.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/11.72, allocations: 4 kB / 3.46 GB, free: 37.42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/11.72, allocations: 4 kB / 3.46 GB, free: 37.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/11.72, allocations: 3.504 MB / 3.463 GB, free: 33.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/11.72, allocations: 46.5 kB / 3.463 GB, free: 33.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.537e-05/11.72, allocations: 12.95 kB / 3.463 GB, free: 33.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007215/11.73, allocations: 446 kB / 3.464 GB, free: 32.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/11.73, allocations: 46.5 kB / 3.464 GB, free: 32.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 3.206e-06/11.73, allocations: 0 / 3.464 GB, free: 32.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002318/11.73, allocations: 57.64 kB / 3.464 GB, free: 32.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/11.73, allocations: 55.41 kB / 3.464 GB, free: 32.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/11.73, allocations: 213.8 kB / 3.464 GB, free: 32.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/11.73, allocations: 29.7 kB / 3.464 GB, free: 32.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/11.73, allocations: 246.2 kB / 3.464 GB, free: 32.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/11.73, allocations: 19.83 kB / 3.464 GB, free: 32.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/11.73, allocations: 0 / 3.464 GB, free: 32.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/11.73, allocations: 326.8 kB / 3.465 GB, free: 31.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.395e-05/11.73, allocations: 36.86 kB / 3.465 GB, free: 31.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/11.73, allocations: 336.2 kB / 3.465 GB, free: 31.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005603/11.73, allocations: 111.8 kB / 3.465 GB, free: 31.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/11.73, allocations: 7.938 kB / 3.465 GB, free: 31.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001107/11.73, allocations: 337.9 kB / 3.466 GB, free: 30.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/11.73, allocations: 8.188 kB / 3.466 GB, free: 30.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/11.73, allocations: 16 kB / 3.466 GB, free: 30.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.584e-05/11.73, allocations: 19.95 kB / 3.466 GB, free: 30.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/11.73, allocations: 95.83 kB / 3.466 GB, free: 30.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/11.73, allocations: 23.92 kB / 3.466 GB, free: 30.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/11.73, allocations: 51.38 kB / 3.466 GB, free: 30.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/11.73, allocations: 24 kB / 3.466 GB, free: 30.56 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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 9.561e-05/11.73, allocations: 132.7 kB / 3.466 GB, free: 30.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/11.73, allocations: 23.81 kB / 3.466 GB, free: 30.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/11.73, allocations: 13.19 kB / 3.466 GB, free: 30.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/11.73, allocations: 3.984 kB / 3.466 GB, free: 30.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/11.73, allocations: 7.953 kB / 3.466 GB, free: 30.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/11.73, allocations: 0 / 3.466 GB, free: 30.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/11.73, allocations: 170.2 kB / 3.466 GB, free: 30.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/11.73, allocations: 3.938 kB / 3.466 GB, free: 30.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-06/11.73, allocations: 0 / 3.466 GB, free: 30.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/11.73, allocations: 0 / 3.466 GB, free: 30.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/11.73, allocations: 0 / 3.466 GB, free: 30.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/11.73, allocations: 0 / 3.466 GB, free: 30.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/11.73, allocations: 8 kB / 3.466 GB, free: 30.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/11.73, allocations: 155.2 kB / 3.466 GB, free: 29.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/11.73, allocations: 108.8 kB / 3.466 GB, free: 29.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.717e-05/11.73, allocations: 0 / 3.466 GB, free: 29.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/11.73, allocations: 3.984 kB / 3.466 GB, free: 29.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/11.73, allocations: 0 / 3.466 GB, free: 29.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/11.73, allocations: 8 kB / 3.466 GB, free: 29.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001397/11.73, allocations: 146 kB / 3.467 GB, free: 29.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.81e-07/11.73, allocations: 0 / 3.467 GB, free: 29.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008782/11.73, allocations: 103.9 kB / 3.467 GB, free: 29.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0007578/11.73, allocations: 0.8855 MB / 3.468 GB, free: 28.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003069/11.73, allocations: 137 kB / 3.468 GB, free: 28.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/11.73, allocations: 0 / 3.468 GB, free: 28.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.34e-05/11.73, allocations: 4 kB / 3.468 GB, free: 28.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/11.73, allocations: 20.44 kB / 3.468 GB, free: 28.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7634/12.5, allocations: 95.68 MB / 3.561 GB, free: 97.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/12.5, allocations: 0.7237 MB / 3.562 GB, free: 96.49 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004585/12.5, allocations: 56.92 kB / 3.562 GB, free: 96.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.754e-05/12.5, allocations: 52.42 kB / 3.562 GB, free: 96.47 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/12.5, allocations: 0 / 3.562 GB, free: 96.47 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05183/12.55, allocations: 4.941 MB / 3.567 GB, free: 96.12 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003129/12.55, allocations: 164.5 kB / 3.567 GB, free: 95.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.905/15.45, allocations: 4.625 kB / 3.567 GB, free: 95.93 MB / 490.7 MB