Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.054/2.054, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.928e-05/4.948e-05, allocations: 0 / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1616, allocations: 48.71 MB / 321.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.229/2.391, allocations: 0.5971 GB / 0.9114 GB, free: 63.99 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004046/2.391, allocations: 83.52 kB / 0.9115 GB, free: 63.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6801/3.072, allocations: 102.8 MB / 1.012 GB, free: 109 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/3.072, allocations: 0 / 1.012 GB, free: 109 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.369e-05/3.072, allocations: 13.22 kB / 1.012 GB, free: 109 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00213/3.074, allocations: 0.8164 MB / 1.013 GB, free: 108.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/3.074, allocations: 11.75 kB / 1.013 GB, free: 108.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/3.074, allocations: 77.66 kB / 1.013 GB, free: 108.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004967/3.075, allocations: 70.17 kB / 1.013 GB, free: 108.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008969/3.076, allocations: 424.8 kB / 1.013 GB, free: 108 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/3.076, allocations: 54.14 kB / 1.013 GB, free: 108 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.071e-05/3.076, allocations: 39.28 kB / 1.013 GB, free: 108 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/3.077, allocations: 489.7 kB / 1.014 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/3.077, allocations: 7.875 kB / 1.014 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-05/3.077, allocations: 27.22 kB / 1.014 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.651e-05/3.077, allocations: 12.16 kB / 1.014 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008168/3.078, allocations: 335.3 kB / 1.014 GB, free: 107.6 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004178/3.082, allocations: 2.429 MB / 1.017 GB, free: 105.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006596/3.083, allocations: 267.5 kB / 1.017 GB, free: 105.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/3.083, allocations: 130.7 kB / 1.017 GB, free: 105.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.566e-05/3.083, allocations: 10.84 kB / 1.017 GB, free: 105.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004827/3.084, allocations: 229.4 kB / 1.017 GB, free: 105.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.115e-06/3.084, allocations: 0 / 1.017 GB, free: 105.4 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.01473/3.098, allocations: 2.637 MB / 1.02 GB, free: 104.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/3.098, allocations: 132.3 kB / 1.02 GB, free: 104.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000502/3.099, allocations: 330.7 kB / 1.02 GB, free: 104 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/3.099, allocations: 37.64 kB / 1.02 GB, free: 104 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/3.099, allocations: 308.9 kB / 1.021 GB, free: 103.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/3.099, allocations: 159.9 kB / 1.021 GB, free: 103.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/3.099, allocations: 18.75 kB / 1.021 GB, free: 103.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.735e-05/3.1, allocations: 334 kB / 1.021 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/3.1, allocations: 162.5 kB / 1.021 GB, free: 103.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/3.101, allocations: 346.4 kB / 1.021 GB, free: 102.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/3.101, allocations: 238.9 kB / 1.022 GB, free: 102.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/3.101, allocations: 0 / 1.022 GB, free: 102.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001445/3.103, allocations: 0.6261 MB / 1.022 GB, free: 102.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/3.103, allocations: 33.3 kB / 1.022 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/3.103, allocations: 4.438 kB / 1.022 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006243/3.103, allocations: 126.7 kB / 1.022 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009929/3.104, allocations: 150.6 kB / 1.023 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006436/3.105, allocations: 0.673 MB / 1.023 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009142/3.106, allocations: 65.17 kB / 1.023 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.451e-05/3.106, allocations: 51.31 kB / 1.023 GB, free: 101.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002074/3.106, allocations: 143.6 kB / 1.024 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/3.106, allocations: 45.44 kB / 1.024 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/3.108, allocations: 0.6135 MB / 1.024 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/3.108, allocations: 5.625 kB / 1.024 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/3.108, allocations: 0 / 1.024 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/3.108, allocations: 3.797 kB / 1.024 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/3.111, allocations: 1.15 MB / 1.025 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/3.111, allocations: 0 / 1.025 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008531/3.112, allocations: 125.3 kB / 1.025 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008737/3.113, allocations: 100.2 kB / 1.026 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.939e-05/3.113, allocations: 22.11 kB / 1.026 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/3.115, allocations: 1.679 MB / 1.027 GB, free: 99.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/3.115, allocations: 0 / 1.027 GB, free: 99.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/3.117, allocations: 0.845 MB / 1.028 GB, free: 98.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/3.117, allocations: 164.7 kB / 1.028 GB, free: 98.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/3.117, allocations: 10.84 kB / 1.028 GB, free: 98.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008261/3.118, allocations: 60.12 kB / 1.028 GB, free: 98.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/3.118, allocations: 65.56 kB / 1.028 GB, free: 98.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.091e-05/3.119, allocations: 33.55 kB / 1.028 GB, free: 98.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003929/3.119, allocations: 253.5 kB / 1.029 GB, free: 98.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/3.119, allocations: 0 / 1.029 GB, free: 98.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001389/3.12, allocations: 305.9 kB / 1.029 GB, free: 98.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004195/3.125, allocations: 2.467 MB / 1.031 GB, free: 96.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001375/3.126, allocations: 492 kB / 1.032 GB, free: 96.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/3.126, allocations: 1.438 kB / 1.032 GB, free: 96.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006893/3.127, allocations: 350.7 kB / 1.032 GB, free: 96.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/3.128, allocations: 174.8 kB / 1.032 GB, free: 96.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/3.139, allocations: 2.474 MB / 1.035 GB, free: 95.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/3.14, allocations: 0.861 MB / 1.036 GB, free: 94.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006524/3.14, allocations: 203 kB / 1.036 GB, free: 94.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/3.14, allocations: 0 / 1.036 GB, free: 94.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.15/6.291, allocations: 16.71 MB / 1.052 GB, free: 85.12 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat does not exist to compare? outputFormat=mat