Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.412/2.412, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.184e-05/2.186e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3562, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.238/1.595, allocations: 369.2 MB / 0.7067 GB, free: 93.75 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/1.595, allocations: 68.48 kB / 0.7067 GB, free: 93.71 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07307/1.668, allocations: 18.65 MB / 0.725 GB, free: 78.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.663e-06/1.668, allocations: 0 / 0.725 GB, free: 78.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/1.668, allocations: 0 / 0.725 GB, free: 78.46 MB / 474.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.001275/1.669, allocations: 0.5791 MB / 0.7255 GB, free: 77.86 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.669, allocations: 12.03 kB / 0.7255 GB, free: 77.85 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/1.67, allocations: 27.77 kB / 0.7256 GB, free: 77.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/1.67, allocations: 225.7 kB / 0.7258 GB, free: 77.57 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/1.67, allocations: 119.4 kB / 0.7259 GB, free: 77.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/1.67, allocations: 16 kB / 0.7259 GB, free: 77.41 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001027/1.671, allocations: 0.7099 MB / 0.7266 GB, free: 76.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/1.672, allocations: 281.1 kB / 0.7269 GB, free: 76.57 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/1.672, allocations: 4 kB / 0.7269 GB, free: 76.57 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/1.672, allocations: 0 / 0.7269 GB, free: 76.57 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/1.672, allocations: 15.95 kB / 0.7269 GB, free: 76.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003331/1.675, allocations: 3.494 MB / 0.7303 GB, free: 72.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/1.675, allocations: 53.91 kB / 0.7303 GB, free: 72.59 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.165e-05/1.675, allocations: 16.11 kB / 0.7304 GB, free: 72.57 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006441/1.676, allocations: 440 kB / 0.7308 GB, free: 72.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/1.676, allocations: 38.12 kB / 0.7308 GB, free: 72.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 2.515e-06/1.676, allocations: 4.281 kB / 0.7308 GB, free: 72.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002157/1.676, allocations: 53.44 kB / 0.7309 GB, free: 72.01 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/1.676, allocations: 55.41 kB / 0.7309 GB, free: 71.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/1.676, allocations: 210.2 kB / 0.7311 GB, free: 71.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/1.676, allocations: 25.7 kB / 0.7312 GB, free: 71.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/1.677, allocations: 256 kB / 0.7314 GB, free: 71.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/1.677, allocations: 11.61 kB / 0.7314 GB, free: 71.49 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/1.677, allocations: 0 / 0.7314 GB, free: 71.49 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.105e-05/1.677, allocations: 334.1 kB / 0.7317 GB, free: 71.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/1.677, allocations: 31.8 kB / 0.7318 GB, free: 71.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/1.677, allocations: 335.3 kB / 0.7321 GB, free: 70.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/1.678, allocations: 122.4 kB / 0.7322 GB, free: 70.58 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/1.678, allocations: 4 kB / 0.7322 GB, free: 70.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009733/1.679, allocations: 333.9 kB / 0.7325 GB, free: 70.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/1.679, allocations: 12 kB / 0.7325 GB, free: 70.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/1.679, allocations: 12 kB / 0.7325 GB, free: 70.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/1.679, allocations: 16 kB / 0.7326 GB, free: 70.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/1.679, allocations: 91.83 kB / 0.7326 GB, free: 70.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.533e-05/1.679, allocations: 27.86 kB / 0.7327 GB, free: 70.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/1.68, allocations: 55.88 kB / 0.7327 GB, free: 70.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/1.68, allocations: 27.5 kB / 0.7327 GB, free: 70.04 MB / 474.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 8.433e-05/1.68, allocations: 136.3 kB / 0.7329 GB, free: 69.9 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000124/1.68, allocations: 57.42 kB / 0.7329 GB, free: 69.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.125e-05/1.68, allocations: 19 kB / 0.7329 GB, free: 69.82 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/1.68, allocations: 20.41 kB / 0.733 GB, free: 69.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/1.68, allocations: 4 kB / 0.733 GB, free: 69.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.68, allocations: 4 kB / 0.733 GB, free: 69.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.68, allocations: 4.031 kB / 0.733 GB, free: 69.79 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/1.68, allocations: 184.3 kB / 0.7332 GB, free: 69.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.68, allocations: 0 / 0.7332 GB, free: 69.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-06/1.68, allocations: 0 / 0.7332 GB, free: 69.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/1.68, allocations: 0 / 0.7332 GB, free: 69.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/1.68, allocations: 0 / 0.7332 GB, free: 69.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/1.68, allocations: 4 kB / 0.7332 GB, free: 69.59 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/1.68, allocations: 0 / 0.7332 GB, free: 69.59 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/1.681, allocations: 155.1 kB / 0.7333 GB, free: 69.42 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/1.681, allocations: 107.6 kB / 0.7334 GB, free: 69.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/1.681, allocations: 0 / 0.7334 GB, free: 69.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/1.681, allocations: 0 / 0.7334 GB, free: 69.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/1.681, allocations: 4 kB / 0.7334 GB, free: 69.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/1.681, allocations: 3.984 kB / 0.7334 GB, free: 69.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001276/1.681, allocations: 144.2 kB / 0.7336 GB, free: 69.17 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.681, allocations: 0 / 0.7336 GB, free: 69.17 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007498/1.682, allocations: 87.72 kB / 0.7336 GB, free: 69.09 MB / 474.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.0004878/1.682, allocations: 0.7393 MB / 0.7344 GB, free: 68.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002695/1.683, allocations: 129.2 kB / 0.7345 GB, free: 68.21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.683, allocations: 0 / 0.7345 GB, free: 68.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.638e-06/1.683, allocations: 7.938 kB / 0.7345 GB, free: 68.21 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/1.683, allocations: 19.67 kB / 0.7345 GB, free: 68.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/1.697, allocations: 4.032 MB / 0.7384 GB, free: 65.05 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/1.697, allocations: 0.7248 MB / 0.7392 GB, free: 64.29 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004145/1.698, allocations: 49.92 kB / 0.7392 GB, free: 64.24 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.565e-05/1.698, allocations: 51.8 kB / 0.7393 GB, free: 64.22 MB / 474.7 MB Notification: Performance of SimCode: time 1.182e-06/1.698, allocations: 0 / 0.7393 GB, free: 64.22 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04869/1.746, allocations: 3.641 MB / 0.7428 GB, free: 60.59 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003172/1.747, allocations: 159.2 kB / 0.743 GB, free: 60.39 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.478/4.224, allocations: 0 / 0.743 GB, free: 60.39 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat