Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.938/1.938, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.226e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6613/0.7619, allocations: 184.3 MB / 0.4943 GB, free: 1.449 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.7623, allocations: 83.02 kB / 0.4944 GB, free: 1.371 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4434/1.206, allocations: 43.21 MB / 0.5365 GB, free: 133.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/1.206, allocations: 0 / 0.5365 GB, free: 133.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/1.206, allocations: 0 / 0.5365 GB, free: 133.2 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.001868/1.208, allocations: 0.6225 MB / 0.5372 GB, free: 132.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/1.208, allocations: 8.031 kB / 0.5372 GB, free: 132.6 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.494e-05/1.208, allocations: 54.55 kB / 0.5372 GB, free: 132.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007272/1.209, allocations: 40.08 kB / 0.5373 GB, free: 132.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/1.209, allocations: 218.8 kB / 0.5375 GB, free: 132.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/1.209, allocations: 8 kB / 0.5375 GB, free: 132.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/1.209, allocations: 20 kB / 0.5375 GB, free: 132.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006576/1.21, allocations: 232.5 kB / 0.5377 GB, free: 131.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/1.21, allocations: 8 kB / 0.5377 GB, free: 131.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.786e-05/1.21, allocations: 4 kB / 0.5377 GB, free: 131.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/1.21, allocations: 4 kB / 0.5377 GB, free: 131.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006438/1.21, allocations: 236.5 kB / 0.538 GB, free: 131.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/1.212, allocations: 1.338 MB / 0.5393 GB, free: 130.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/1.213, allocations: 86.56 kB / 0.5393 GB, free: 130.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/1.213, allocations: 36.86 kB / 0.5394 GB, free: 130.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002081/1.215, allocations: 1.88 MB / 0.5412 GB, free: 127.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/1.215, allocations: 159 kB / 0.5414 GB, free: 127.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 3.146e-06/1.215, allocations: 3.984 kB / 0.5414 GB, free: 127.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=18): time 0.001224/1.217, allocations: 327 kB / 0.5417 GB, free: 127.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/1.217, allocations: 265 kB / 0.5419 GB, free: 127 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/1.217, allocations: 149 kB / 0.5421 GB, free: 126.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/1.217, allocations: 29.64 kB / 0.5421 GB, free: 126.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/1.217, allocations: 226.4 kB / 0.5423 GB, free: 126.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.054e-05/1.217, allocations: 59.11 kB / 0.5424 GB, free: 126.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/1.217, allocations: 8 kB / 0.5424 GB, free: 126.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.617e-05/1.217, allocations: 327 kB / 0.5427 GB, free: 126.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/1.217, allocations: 43.84 kB / 0.5427 GB, free: 126.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/1.217, allocations: 183.4 kB / 0.5429 GB, free: 125.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/1.218, allocations: 67.91 kB / 0.543 GB, free: 125.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/1.218, allocations: 0 / 0.543 GB, free: 125.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006068/1.218, allocations: 241.1 kB / 0.5432 GB, free: 125.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/1.218, allocations: 8 kB / 0.5432 GB, free: 125.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/1.218, allocations: 11.98 kB / 0.5432 GB, free: 125.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/1.218, allocations: 4 kB / 0.5432 GB, free: 125.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008239/1.219, allocations: 100.5 kB / 0.5433 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003005/1.219, allocations: 0.6055 MB / 0.5439 GB, free: 124.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/1.22, allocations: 11.91 kB / 0.5439 GB, free: 124.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/1.22, allocations: 24 kB / 0.5439 GB, free: 124.8 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.0001199/1.22, allocations: 120.9 kB / 0.5441 GB, free: 124.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/1.22, allocations: 19.89 kB / 0.5441 GB, free: 124.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007192/1.221, allocations: 252.1 kB / 0.5443 GB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/1.221, allocations: 0 / 0.5443 GB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.221, allocations: 7.984 kB / 0.5443 GB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/1.221, allocations: 7.984 kB / 0.5443 GB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/1.221, allocations: 217.5 kB / 0.5445 GB, free: 124.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/1.221, allocations: 0 / 0.5445 GB, free: 124.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/1.222, allocations: 47.97 kB / 0.5446 GB, free: 124.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/1.222, allocations: 0 / 0.5446 GB, free: 124.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/1.222, allocations: 7.984 kB / 0.5446 GB, free: 124.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002751/1.222, allocations: 0.586 MB / 0.5452 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.222, allocations: 4.062 kB / 0.5452 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/1.222, allocations: 139.5 kB / 0.5453 GB, free: 123.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/1.222, allocations: 128.9 kB / 0.5454 GB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/1.223, allocations: 0 / 0.5454 GB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/1.223, allocations: 4 kB / 0.5454 GB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/1.223, allocations: 15.98 kB / 0.5455 GB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/1.223, allocations: 7.984 kB / 0.5455 GB, free: 123.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001283/1.223, allocations: 127.2 kB / 0.5456 GB, free: 123 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.3e-07/1.223, allocations: 0 / 0.5456 GB, free: 123 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009318/1.224, allocations: 199.7 kB / 0.5458 GB, free: 122.8 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.001392/1.225, allocations: 0.9798 MB / 0.5467 GB, free: 121.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007607/1.226, allocations: 152.4 kB / 0.5469 GB, free: 121.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.226, allocations: 4 kB / 0.5469 GB, free: 121.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002532/1.226, allocations: 41.56 kB / 0.5469 GB, free: 121.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/1.227, allocations: 35.28 kB / 0.5469 GB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0394/1.266, allocations: 11.26 MB / 0.5579 GB, free: 110.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/1.266, allocations: 0.7165 MB / 0.5586 GB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/1.267, allocations: 63.39 kB / 0.5587 GB, free: 109.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/1.267, allocations: 0 / 0.5587 GB, free: 109.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.843/4.109, allocations: 6.082 MB / 0.5646 GB, free: 103.3 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat does not exist to compare? outputFormat=mat