Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.465/2.465, allocations: 235 MB / 247.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.606e-05/4.627e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.4179, allocations: 54.85 MB / 359.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.21/1.628, allocations: 369.9 MB / 0.7126 GB, free: 146.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/1.628, allocations: 74.27 kB / 0.7127 GB, free: 146.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06964/1.698, allocations: 18.77 MB / 0.731 GB, free: 145.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.784e-06/1.698, allocations: 0 / 0.731 GB, free: 145.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/1.698, allocations: 0 / 0.731 GB, free: 145.2 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.001313/1.699, allocations: 0.5582 MB / 0.7316 GB, free: 144.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.699, allocations: 15.66 kB / 0.7316 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.184e-05/1.699, allocations: 72.8 kB / 0.7316 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/1.699, allocations: 19.53 kB / 0.7317 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/1.7, allocations: 230 kB / 0.7319 GB, free: 144.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/1.7, allocations: 126 kB / 0.732 GB, free: 144.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/1.7, allocations: 26.31 kB / 0.732 GB, free: 144.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/1.7, allocations: 314.1 kB / 0.7323 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/1.7, allocations: 3.938 kB / 0.7323 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/1.7, allocations: 15.11 kB / 0.7323 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/1.7, allocations: 11.56 kB / 0.7324 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/1.701, allocations: 0.7296 MB / 0.7331 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/1.703, allocations: 1.226 MB / 0.7343 GB, free: 143.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/1.704, allocations: 160.1 kB / 0.7344 GB, free: 143.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/1.704, allocations: 78.66 kB / 0.7345 GB, free: 143.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003032/1.707, allocations: 3.013 MB / 0.7374 GB, free: 140.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/1.707, allocations: 34.5 kB / 0.7375 GB, free: 140.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 2.736e-06/1.707, allocations: 0 / 0.7375 GB, free: 140.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.000339/1.707, allocations: 104.7 kB / 0.7376 GB, free: 140.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/1.707, allocations: 58.69 kB / 0.7376 GB, free: 140.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/1.707, allocations: 192.4 kB / 0.7378 GB, free: 140.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/1.707, allocations: 25.7 kB / 0.7378 GB, free: 140.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.779e-05/1.708, allocations: 215.8 kB / 0.738 GB, free: 140 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/1.708, allocations: 50.08 kB / 0.7381 GB, free: 140 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.575e-05/1.708, allocations: 3.812 kB / 0.7381 GB, free: 140 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.779e-05/1.708, allocations: 328.4 kB / 0.7384 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/1.708, allocations: 46.62 kB / 0.7384 GB, free: 139.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/1.708, allocations: 325.3 kB / 0.7388 GB, free: 139.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/1.708, allocations: 112.9 kB / 0.7389 GB, free: 139.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/1.708, allocations: 0 / 0.7389 GB, free: 139.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000717/1.709, allocations: 372.4 kB / 0.7392 GB, free: 139.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.709, allocations: 13.34 kB / 0.7392 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/1.709, allocations: 11.48 kB / 0.7392 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.61e-05/1.709, allocations: 19.53 kB / 0.7393 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/1.71, allocations: 97.11 kB / 0.7393 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.338e-05/1.71, allocations: 27.42 kB / 0.7394 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003957/1.71, allocations: 54.31 kB / 0.7394 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/1.71, allocations: 34.55 kB / 0.7395 GB, free: 139.1 MB / 490.7 MB 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 9.643e-05/1.71, allocations: 136 kB / 0.7396 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/1.71, allocations: 19.58 kB / 0.7396 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004306/1.711, allocations: 165.8 kB / 0.7398 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/1.711, allocations: 0 / 0.7398 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/1.711, allocations: 3.906 kB / 0.7398 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.711, allocations: 0 / 0.7398 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005561/1.711, allocations: 428 kB / 0.7402 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/1.711, allocations: 8.031 kB / 0.7402 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/1.712, allocations: 15.52 kB / 0.7402 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.712, allocations: 3.938 kB / 0.7402 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/1.712, allocations: 7.781 kB / 0.7402 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/1.712, allocations: 0 / 0.7402 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.712, allocations: 7.844 kB / 0.7402 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/1.712, allocations: 263.7 kB / 0.7405 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.166e-05/1.712, allocations: 108 kB / 0.7406 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.852e-05/1.712, allocations: 7.828 kB / 0.7406 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/1.712, allocations: 7.703 kB / 0.7406 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/1.712, allocations: 7.906 kB / 0.7406 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/1.712, allocations: 7.766 kB / 0.7406 GB, free: 138.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001365/1.712, allocations: 151.2 kB / 0.7407 GB, free: 138.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.712, allocations: 0 / 0.7407 GB, free: 138.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006687/1.713, allocations: 101.4 kB / 0.7408 GB, free: 138.1 MB / 490.7 MB 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.0006192/1.714, allocations: 1.126 MB / 0.7419 GB, free: 137 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003636/1.714, allocations: 166 kB / 0.7421 GB, free: 137 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.714, allocations: 256 / 0.7421 GB, free: 137 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.918e-05/1.714, allocations: 31.5 kB / 0.7421 GB, free: 137 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/1.715, allocations: 38.19 kB / 0.7422 GB, free: 137 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/1.73, allocations: 4.763 MB / 0.7468 GB, free: 136.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/1.73, allocations: 0.7307 MB / 0.7475 GB, free: 135.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000387/1.731, allocations: 49.36 kB / 0.7476 GB, free: 135.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/1.731, allocations: 59.05 kB / 0.7476 GB, free: 135.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/1.731, allocations: 0 / 0.7476 GB, free: 135.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/1.759, allocations: 4.71 MB / 0.7522 GB, free: 133.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002714/1.76, allocations: 154.8 kB / 0.7524 GB, free: 133.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/4.255, allocations: 0 / 0.7524 GB, free: 133.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat