Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.52/2.52, allocations: 270 MB / 282.6 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.205e-05/3.219e-05, allocations: 0 / 347.1 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4088, allocations: 61.87 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.247/1.656, allocations: 378 MB / 0.7685 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/1.656, allocations: 66.88 kB / 0.7686 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.07289/1.729, allocations: 19.3 MB / 0.7874 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.294e-06/1.729, allocations: 0 / 0.7874 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.562e-05/1.729, allocations: 0 / 0.7874 GB, free: 132.2 MB / 0.5261 GB 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.001427/1.73, allocations: 0.5683 MB / 0.788 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.73, allocations: 8.031 kB / 0.788 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/1.731, allocations: 60.59 kB / 0.788 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/1.731, allocations: 23.81 kB / 0.788 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/1.731, allocations: 226.3 kB / 0.7883 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/1.731, allocations: 128.1 kB / 0.7884 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/1.731, allocations: 25.31 kB / 0.7884 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006225/1.732, allocations: 318.9 kB / 0.7887 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/1.732, allocations: 0 / 0.7887 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/1.732, allocations: 12 kB / 0.7887 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/1.732, allocations: 4 kB / 0.7887 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/1.733, allocations: 0.7319 MB / 0.7894 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/1.735, allocations: 1.217 MB / 0.7906 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/1.736, allocations: 151 kB / 0.7908 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/1.736, allocations: 81.77 kB / 0.7909 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003207/1.739, allocations: 3.012 MB / 0.7938 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/1.739, allocations: 34.25 kB / 0.7938 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 3.527e-06/1.739, allocations: 4 kB / 0.7938 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0003647/1.739, allocations: 99.92 kB / 0.7939 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/1.739, allocations: 55.39 kB / 0.794 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/1.74, allocations: 190.8 kB / 0.7942 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/1.74, allocations: 33.62 kB / 0.7942 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/1.74, allocations: 283.8 kB / 0.7945 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/1.74, allocations: 50.59 kB / 0.7945 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/1.74, allocations: 7.5 kB / 0.7945 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.893e-05/1.74, allocations: 330.7 kB / 0.7948 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/1.74, allocations: 48.11 kB / 0.7949 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/1.74, allocations: 330.2 kB / 0.7952 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/1.741, allocations: 103.4 kB / 0.7953 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.741, allocations: 4 kB / 0.7953 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007391/1.741, allocations: 343 kB / 0.7956 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/1.741, allocations: 8 kB / 0.7956 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/1.741, allocations: 12 kB / 0.7956 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/1.741, allocations: 12 kB / 0.7957 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/1.742, allocations: 95.83 kB / 0.7957 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/1.742, allocations: 19.92 kB / 0.7958 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/1.742, allocations: 51.38 kB / 0.7958 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/1.742, allocations: 31.81 kB / 0.7958 GB, free: 123.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 0.00011/1.743, allocations: 143.7 kB / 0.796 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/1.743, allocations: 19.72 kB / 0.796 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005011/1.743, allocations: 164.1 kB / 0.7962 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/1.743, allocations: 3.984 kB / 0.7962 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.743, allocations: 0 / 0.7962 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/1.743, allocations: 0 / 0.7962 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000611/1.744, allocations: 431 kB / 0.7966 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.744, allocations: 7.938 kB / 0.7966 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/1.744, allocations: 15.94 kB / 0.7966 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/1.744, allocations: 0 / 0.7966 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/1.744, allocations: 4 kB / 0.7966 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/1.744, allocations: 0 / 0.7966 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.744, allocations: 4 kB / 0.7966 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/1.744, allocations: 268.4 kB / 0.7969 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/1.744, allocations: 112.3 kB / 0.797 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/1.744, allocations: 12.05 kB / 0.797 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/1.745, allocations: 7.625 kB / 0.797 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/1.745, allocations: 4 kB / 0.797 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/1.745, allocations: 7.984 kB / 0.797 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001533/1.745, allocations: 148.1 kB / 0.7971 GB, free: 122 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-07/1.745, allocations: 0 / 0.7971 GB, free: 122 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007598/1.746, allocations: 99.31 kB / 0.7972 GB, free: 121.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0007161/1.746, allocations: 1.13 MB / 0.7983 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004369/1.747, allocations: 148.6 kB / 0.7985 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.747, allocations: 8.25 kB / 0.7985 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.802e-05/1.747, allocations: 27.75 kB / 0.7985 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/1.748, allocations: 47.33 kB / 0.7986 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/1.765, allocations: 4.96 MB / 0.8034 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/1.765, allocations: 0.7326 MB / 0.8041 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/1.765, allocations: 65.97 kB / 0.8042 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.313e-06/1.765, allocations: 0 / 0.8042 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.839/4.604, allocations: 4.021 MB / 0.8081 GB, free: 111.7 MB / 0.5261 GB