Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.556/2.556, allocations: 235 MB / 247.6 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.012e-05/4.019e-05, allocations: 4 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4077, allocations: 54.85 MB / 359.9 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.823/2.23, allocations: 0.6039 GB / 0.9553 GB, free: 125.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/2.231, allocations: 85.36 kB / 0.9554 GB, free: 125.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3718/2.603, allocations: 102.9 MB / 1.056 GB, free: 30.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.572e-06/2.603, allocations: 0 / 1.056 GB, free: 30.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.457e-05/2.603, allocations: 12 kB / 1.056 GB, free: 30.66 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002278/2.605, allocations: 0.8132 MB / 1.057 GB, free: 29.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/2.605, allocations: 15.97 kB / 1.057 GB, free: 29.79 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/2.605, allocations: 74.53 kB / 1.057 GB, free: 29.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005436/2.606, allocations: 71.39 kB / 1.057 GB, free: 29.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009747/2.607, allocations: 424.1 kB / 1.057 GB, free: 29.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.823e-05/2.607, allocations: 58.47 kB / 1.057 GB, free: 29.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-05/2.607, allocations: 36 kB / 1.057 GB, free: 29.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/2.608, allocations: 490 kB / 1.058 GB, free: 28.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/2.608, allocations: 3.906 kB / 1.058 GB, free: 28.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.451e-05/2.608, allocations: 20 kB / 1.058 GB, free: 28.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/2.608, allocations: 16.77 kB / 1.058 GB, free: 28.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007979/2.609, allocations: 321.3 kB / 1.058 GB, free: 28.2 MB / 490.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.004387/2.614, allocations: 2.427 MB / 1.06 GB, free: 25.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/2.614, allocations: 264.9 kB / 1.061 GB, free: 25.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/2.615, allocations: 137.4 kB / 1.061 GB, free: 25.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.966e-05/2.615, allocations: 12.27 kB / 1.061 GB, free: 25.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004615/2.615, allocations: 220.6 kB / 1.061 GB, free: 24.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.707e-06/2.615, allocations: 0 / 1.061 GB, free: 24.96 MB / 490.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.01494/2.63, allocations: 2.634 MB / 1.064 GB, free: 22.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/2.63, allocations: 144.5 kB / 1.064 GB, free: 22.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/2.631, allocations: 330.8 kB / 1.064 GB, free: 21.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.359e-05/2.631, allocations: 37.69 kB / 1.064 GB, free: 21.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/2.631, allocations: 298.3 kB / 1.064 GB, free: 21.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/2.631, allocations: 157.8 kB / 1.065 GB, free: 21.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/2.631, allocations: 12 kB / 1.065 GB, free: 21.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.852e-05/2.631, allocations: 342.8 kB / 1.065 GB, free: 20.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/2.632, allocations: 153.5 kB / 1.065 GB, free: 20.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/2.632, allocations: 354.5 kB / 1.065 GB, free: 20.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/2.633, allocations: 231.2 kB / 1.066 GB, free: 20.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/2.633, allocations: 0 / 1.066 GB, free: 20.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001463/2.634, allocations: 0.6075 MB / 1.066 GB, free: 19.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/2.634, allocations: 37.69 kB / 1.066 GB, free: 19.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/2.634, allocations: 4 kB / 1.066 GB, free: 19.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006208/2.635, allocations: 113.3 kB / 1.066 GB, free: 19.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/2.636, allocations: 159.7 kB / 1.067 GB, free: 19.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000649/2.637, allocations: 0.6578 MB / 1.067 GB, free: 18.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/2.638, allocations: 79.84 kB / 1.067 GB, free: 18.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.843e-05/2.638, allocations: 59.86 kB / 1.067 GB, free: 18.29 MB / 490.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.0002157/2.638, allocations: 144.9 kB / 1.067 GB, free: 18.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/2.638, allocations: 43.53 kB / 1.067 GB, free: 18.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/2.64, allocations: 0.6116 MB / 1.068 GB, free: 17.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/2.64, allocations: 4 kB / 1.068 GB, free: 17.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/2.64, allocations: 0 / 1.068 GB, free: 17.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/2.64, allocations: 3.984 kB / 1.068 GB, free: 17.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/2.643, allocations: 1.136 MB / 1.069 GB, free: 16.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/2.643, allocations: 4 kB / 1.069 GB, free: 16.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000868/2.644, allocations: 120 kB / 1.069 GB, free: 16.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008919/2.645, allocations: 100.8 kB / 1.069 GB, free: 16.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.465e-05/2.645, allocations: 15.98 kB / 1.069 GB, free: 16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/2.647, allocations: 1.683 MB / 1.071 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/2.647, allocations: 8.016 kB / 1.071 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/2.649, allocations: 0.8535 MB / 1.072 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003376/2.65, allocations: 152.5 kB / 1.072 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/2.65, allocations: 11.98 kB / 1.072 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008564/2.651, allocations: 63.89 kB / 1.072 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/2.651, allocations: 59.91 kB / 1.072 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-05/2.651, allocations: 39.98 kB / 1.072 GB, free: 12.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003936/2.651, allocations: 257.2 kB / 1.072 GB, free: 12.67 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.652, allocations: 0 / 1.072 GB, free: 12.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001529/2.653, allocations: 299.8 kB / 1.073 GB, free: 12.38 MB / 490.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.004213/2.657, allocations: 2.464 MB / 1.075 GB, free: 9.855 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00138/2.659, allocations: 488.9 kB / 1.076 GB, free: 9.363 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.964e-06/2.659, allocations: 4 kB / 1.076 GB, free: 9.359 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007079/2.659, allocations: 330.3 kB / 1.076 GB, free: 9.027 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/2.661, allocations: 179.7 kB / 1.076 GB, free: 8.855 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/2.672, allocations: 2.47 MB / 1.079 GB, free: 6.328 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/2.672, allocations: 0.8669 MB / 1.079 GB, free: 5.434 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006741/2.673, allocations: 199.4 kB / 1.08 GB, free: 5.238 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/2.673, allocations: 8 kB / 1.08 GB, free: 5.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.462/6.135, allocations: 16.73 MB / 1.096 GB, free: 115.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat does not exist to compare? outputFormat=mat