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 1.956/1.956, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.712e-05/4.716e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1312, allocations: 48.69 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.061/2.193, allocations: 0.5971 GB / 0.9114 GB, free: 64.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/2.193, allocations: 84.14 kB / 0.9115 GB, free: 64.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6735/2.867, allocations: 102.8 MB / 1.012 GB, free: 108.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.923e-06/2.867, allocations: 3.938 kB / 1.012 GB, free: 108.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.948e-05/2.867, allocations: 12.83 kB / 1.012 GB, free: 108.9 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.002362/2.869, allocations: 0.8146 MB / 1.013 GB, free: 108.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/2.869, allocations: 9.438 kB / 1.013 GB, free: 108.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/2.869, allocations: 81.28 kB / 1.013 GB, free: 108.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000575/2.87, allocations: 77.97 kB / 1.013 GB, free: 108.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/2.871, allocations: 415.6 kB / 1.013 GB, free: 108 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-05/2.871, allocations: 61.95 kB / 1.013 GB, free: 107.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/2.871, allocations: 31.72 kB / 1.013 GB, free: 107.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/2.872, allocations: 491.2 kB / 1.014 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/2.872, allocations: 0 / 1.014 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.987e-05/2.873, allocations: 18.41 kB / 1.014 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.152e-05/2.873, allocations: 13.22 kB / 1.014 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008562/2.873, allocations: 334.2 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.004545/2.878, allocations: 2.428 MB / 1.017 GB, free: 105.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007329/2.879, allocations: 264.8 kB / 1.017 GB, free: 105.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/2.879, allocations: 126.9 kB / 1.017 GB, free: 105.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.922e-05/2.879, allocations: 7.578 kB / 1.017 GB, free: 105.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005145/2.88, allocations: 221.2 kB / 1.017 GB, free: 105.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.367e-06/2.88, 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.01619/2.896, allocations: 2.646 MB / 1.02 GB, free: 104.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/2.896, allocations: 136.2 kB / 1.02 GB, free: 104.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/2.897, allocations: 332.1 kB / 1.02 GB, free: 104 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/2.897, allocations: 41.27 kB / 1.02 GB, free: 104 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/2.897, allocations: 312 kB / 1.021 GB, free: 103.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/2.897, allocations: 159.6 kB / 1.021 GB, free: 103.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/2.897, allocations: 11.84 kB / 1.021 GB, free: 103.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.701e-05/2.897, allocations: 335.3 kB / 1.021 GB, free: 103.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004516/2.898, allocations: 155.6 kB / 1.021 GB, free: 103.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/2.898, allocations: 345.4 kB / 1.022 GB, free: 102.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/2.899, allocations: 238.4 kB / 1.022 GB, free: 102.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/2.899, allocations: 0 / 1.022 GB, free: 102.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001586/2.901, allocations: 0.6067 MB / 1.022 GB, free: 102.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.616e-05/2.901, allocations: 43.06 kB / 1.022 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/2.901, allocations: 2.969 kB / 1.022 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006847/2.901, allocations: 111.1 kB / 1.022 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/2.903, allocations: 154.9 kB / 1.023 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007478/2.903, allocations: 0.6712 MB / 1.023 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/2.904, allocations: 68.06 kB / 1.023 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/2.905, allocations: 47.45 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.0002546/2.905, allocations: 150.3 kB / 1.024 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/2.905, allocations: 50.5 kB / 1.024 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/2.907, allocations: 0.6119 MB / 1.024 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/2.907, allocations: 7 kB / 1.024 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/2.907, allocations: 0 / 1.024 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/2.907, allocations: 3.812 kB / 1.024 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/2.91, allocations: 1.147 MB / 1.025 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/2.911, allocations: 4.156 kB / 1.025 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009137/2.911, allocations: 115.9 kB / 1.025 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009355/2.912, allocations: 102.3 kB / 1.026 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/2.912, allocations: 19.16 kB / 1.026 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/2.915, allocations: 1.675 MB / 1.027 GB, free: 99.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/2.915, allocations: 3.062 kB / 1.027 GB, free: 99.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/2.917, allocations: 0.8541 MB / 1.028 GB, free: 98.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003947/2.917, allocations: 155.2 kB / 1.028 GB, free: 98.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/2.918, allocations: 14.84 kB / 1.028 GB, free: 98.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009264/2.918, allocations: 60 kB / 1.028 GB, free: 98.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/2.919, allocations: 60.25 kB / 1.028 GB, free: 98.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.464e-05/2.919, allocations: 35.33 kB / 1.028 GB, free: 98.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004347/2.919, allocations: 254.7 kB / 1.029 GB, free: 98.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-07/2.919, allocations: 0 / 1.029 GB, free: 98.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001585/2.921, allocations: 305.9 kB / 1.029 GB, free: 98.32 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.004577/2.925, allocations: 2.465 MB / 1.031 GB, free: 96.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001529/2.927, allocations: 481.4 kB / 1.032 GB, free: 96.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/2.927, allocations: 0 / 1.032 GB, free: 96.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007377/2.928, allocations: 333.7 kB / 1.032 GB, free: 96.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/2.929, allocations: 171 kB / 1.032 GB, free: 96.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/2.941, allocations: 2.487 MB / 1.035 GB, free: 95.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/2.941, allocations: 0.8696 MB / 1.035 GB, free: 94.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006519/2.942, allocations: 198.1 kB / 1.036 GB, free: 94.61 MB / 426.7 MB Notification: Performance of SimCode: time 2.525e-06/2.942, allocations: 0 / 1.036 GB, free: 94.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.477/6.418, allocations: 16.74 MB / 1.052 GB, free: 85.7 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