Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.16/2.16, allocations: 209.3 MB / 221.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.436e-05/3.444e-05, allocations: 0 / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 48.71 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.589/0.7017, allocations: 184.3 MB / 0.4943 GB, free: 1.445 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.7021, allocations: 83 kB / 0.4943 GB, free: 1.367 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4752/1.177, allocations: 44.29 MB / 0.5376 GB, free: 132.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.773e-06/1.177, allocations: 7.938 kB / 0.5376 GB, free: 132.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.675e-05/1.177, allocations: 0 / 0.5376 GB, free: 132.1 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001914/1.179, allocations: 0.6147 MB / 0.5382 GB, free: 131.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/1.179, allocations: 8.031 kB / 0.5382 GB, free: 131.5 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.683e-05/1.179, allocations: 50.55 kB / 0.5383 GB, free: 131.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007306/1.18, allocations: 39.88 kB / 0.5383 GB, free: 131.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/1.181, allocations: 210.7 kB / 0.5385 GB, free: 131.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/1.181, allocations: 16 kB / 0.5385 GB, free: 131.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/1.181, allocations: 19.94 kB / 0.5385 GB, free: 131.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007199/1.181, allocations: 232.6 kB / 0.5388 GB, free: 130.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/1.181, allocations: 3.938 kB / 0.5388 GB, free: 130.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/1.182, allocations: 12.34 kB / 0.5388 GB, free: 130.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/1.182, allocations: 7.953 kB / 0.5388 GB, free: 130.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000643/1.182, allocations: 228.6 kB / 0.539 GB, free: 130.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/1.184, allocations: 1.342 MB / 0.5403 GB, free: 129.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/1.184, allocations: 78.62 kB / 0.5404 GB, free: 129 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/1.184, allocations: 45.19 kB / 0.5404 GB, free: 129 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00166/1.186, allocations: 1.884 MB / 0.5423 GB, free: 126.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/1.186, allocations: 155 kB / 0.5424 GB, free: 126.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 2.775e-06/1.186, allocations: 0 / 0.5424 GB, free: 126.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=18): time 0.001132/1.187, allocations: 323.2 kB / 0.5427 GB, free: 126.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/1.188, allocations: 277.1 kB / 0.543 GB, free: 125.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/1.188, allocations: 141.4 kB / 0.5431 GB, free: 125.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/1.188, allocations: 33.64 kB / 0.5432 GB, free: 125.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/1.188, allocations: 218.5 kB / 0.5434 GB, free: 125.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/1.188, allocations: 63.09 kB / 0.5434 GB, free: 125.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.614e-05/1.188, allocations: 4 kB / 0.5434 GB, free: 125.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.521e-05/1.188, allocations: 326.8 kB / 0.5437 GB, free: 125.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/1.188, allocations: 43.94 kB / 0.5438 GB, free: 125 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/1.188, allocations: 179.3 kB / 0.544 GB, free: 124.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/1.188, allocations: 71.84 kB / 0.544 GB, free: 124.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.188, allocations: 0 / 0.544 GB, free: 124.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005932/1.189, allocations: 253.5 kB / 0.5443 GB, free: 124.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.189, allocations: 4 kB / 0.5443 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.189, allocations: 8 kB / 0.5443 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/1.189, allocations: 4 kB / 0.5443 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007828/1.19, allocations: 104 kB / 0.5444 GB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002892/1.19, allocations: 0.5978 MB / 0.545 GB, free: 123.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/1.191, allocations: 20.03 kB / 0.545 GB, free: 123.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/1.191, allocations: 23.98 kB / 0.545 GB, free: 123.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/1.191, allocations: 120.9 kB / 0.5451 GB, free: 123.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/1.191, allocations: 19.81 kB / 0.5451 GB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006926/1.191, allocations: 251.7 kB / 0.5454 GB, free: 123.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/1.191, allocations: 0 / 0.5454 GB, free: 123.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.192, allocations: 0 / 0.5454 GB, free: 123.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.192, allocations: 4 kB / 0.5454 GB, free: 123.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/1.192, allocations: 221.4 kB / 0.5456 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.192, allocations: 4 kB / 0.5456 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005209/1.192, allocations: 51.92 kB / 0.5456 GB, free: 122.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/1.192, allocations: 0 / 0.5456 GB, free: 122.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/1.192, allocations: 4 kB / 0.5457 GB, free: 122.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002331/1.193, allocations: 0.586 MB / 0.5462 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.193, allocations: 0 / 0.5462 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/1.193, allocations: 155.5 kB / 0.5464 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/1.193, allocations: 124.9 kB / 0.5465 GB, free: 122 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/1.193, allocations: 3.984 kB / 0.5465 GB, free: 122 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/1.193, allocations: 8 kB / 0.5465 GB, free: 122 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/1.193, allocations: 8.078 kB / 0.5465 GB, free: 122 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/1.193, allocations: 7.938 kB / 0.5465 GB, free: 122 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001225/1.194, allocations: 119.3 kB / 0.5466 GB, free: 121.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.194, allocations: 4 kB / 0.5466 GB, free: 121.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009129/1.194, allocations: 195.8 kB / 0.5468 GB, free: 121.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00127/1.196, allocations: 0.9838 MB / 0.5478 GB, free: 120.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006756/1.196, allocations: 141 kB / 0.5479 GB, free: 120.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/1.196, allocations: 4 kB / 0.5479 GB, free: 120.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002483/1.197, allocations: 45.55 kB / 0.548 GB, free: 120.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/1.197, allocations: 36.03 kB / 0.548 GB, free: 120.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04013/1.237, allocations: 11.79 MB / 0.5595 GB, free: 108.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/1.238, allocations: 0.7204 MB / 0.5602 GB, free: 107.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/1.238, allocations: 63.39 kB / 0.5603 GB, free: 107.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/1.238, allocations: 0 / 0.5603 GB, free: 107.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.693/3.931, allocations: 6.074 MB / 0.5662 GB, free: 101.7 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat does not exist to compare? outputFormat=mat