Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadModel(ModelicaTest): time 1.945/1.945, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.273e-05, allocations: 4 kB / 273.1 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08796/0.08802, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.713/1.802, allocations: 0.5971 GB / 0.9113 GB, free: 80.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/1.802, allocations: 84.45 kB / 0.9114 GB, free: 80.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5551/2.357, allocations: 102.8 MB / 1.012 GB, free: 103.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.893e-06/2.357, allocations: 0 / 1.012 GB, free: 103.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.339e-05/2.357, allocations: 19.89 kB / 1.012 GB, free: 103.8 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.001771/2.359, allocations: 0.8115 MB / 1.013 GB, free: 103.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/2.359, allocations: 9.875 kB / 1.013 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000541/2.359, allocations: 72.34 kB / 1.013 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008652/2.36, allocations: 418.4 kB / 1.013 GB, free: 103 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.682e-05/2.36, allocations: 61.97 kB / 1.013 GB, free: 103 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.193e-05/2.361, allocations: 32.72 kB / 1.013 GB, free: 103 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009929/2.362, allocations: 0.4887 MB / 1.014 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/2.362, allocations: 1.406 kB / 1.014 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-05/2.362, allocations: 17.91 kB / 1.014 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/2.362, allocations: 19.53 kB / 1.014 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000771/2.362, allocations: 326 kB / 1.014 GB, free: 102.9 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.003649/2.366, allocations: 2.42 MB / 1.016 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006001/2.367, allocations: 268.5 kB / 1.017 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/2.367, allocations: 137.3 kB / 1.017 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.901e-05/2.367, allocations: 8 kB / 1.017 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004257/2.368, allocations: 217.8 kB / 1.017 GB, free: 101.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 4.337e-06/2.368, allocations: 0 / 1.017 GB, free: 101.2 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.01123/2.379, allocations: 2.649 MB / 1.02 GB, free: 100.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/2.379, allocations: 142.6 kB / 1.02 GB, free: 100.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004679/2.379, allocations: 323.3 kB / 1.02 GB, free: 100.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-05/2.38, allocations: 39.83 kB / 1.02 GB, free: 100.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/2.38, allocations: 305.5 kB / 1.02 GB, free: 100.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/2.38, allocations: 160.9 kB / 1.021 GB, free: 99.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/2.38, allocations: 9.938 kB / 1.021 GB, free: 99.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.83e-05/2.38, allocations: 334.8 kB / 1.021 GB, free: 99.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/2.38, allocations: 160.1 kB / 1.021 GB, free: 99.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004624/2.381, allocations: 342.8 kB / 1.021 GB, free: 99.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/2.381, allocations: 239.8 kB / 1.022 GB, free: 99.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.335e-06/2.381, allocations: 2.719 kB / 1.022 GB, free: 99.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001375/2.383, allocations: 0.614 MB / 1.022 GB, free: 99.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/2.383, allocations: 33.14 kB / 1.022 GB, free: 99.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/2.383, allocations: 3.781 kB / 1.022 GB, free: 99.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/2.383, allocations: 125 kB / 1.022 GB, free: 99.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000701/2.384, allocations: 151.5 kB / 1.022 GB, free: 99.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005869/2.385, allocations: 0.6709 MB / 1.023 GB, free: 98.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00084/2.386, allocations: 71.47 kB / 1.023 GB, free: 98.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.492e-05/2.386, allocations: 46.27 kB / 1.023 GB, free: 98.75 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.0002032/2.386, allocations: 142 kB / 1.023 GB, free: 98.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/2.386, allocations: 50.61 kB / 1.023 GB, free: 98.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/2.388, allocations: 0.6142 MB / 1.024 GB, free: 98.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/2.388, allocations: 7.703 kB / 1.024 GB, free: 98.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.317e-06/2.388, allocations: 0 / 1.024 GB, free: 98.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/2.388, allocations: 3.938 kB / 1.024 GB, free: 98.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/2.391, allocations: 1.139 MB / 1.025 GB, free: 98.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.94e-06/2.391, allocations: 2.75 kB / 1.025 GB, free: 98.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006909/2.391, allocations: 124.6 kB / 1.025 GB, free: 98.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007084/2.392, allocations: 103.4 kB / 1.025 GB, free: 98.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-05/2.392, allocations: 21.95 kB / 1.025 GB, free: 98.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/2.394, allocations: 1.668 MB / 1.027 GB, free: 96.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.17e-06/2.394, allocations: 3.844 kB / 1.027 GB, free: 96.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/2.396, allocations: 0.8419 MB / 1.028 GB, free: 96.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/2.396, allocations: 161.8 kB / 1.028 GB, free: 96.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/2.397, allocations: 10.72 kB / 1.028 GB, free: 96.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007039/2.397, allocations: 60.89 kB / 1.028 GB, free: 96.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/2.398, allocations: 70.92 kB / 1.028 GB, free: 96.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-05/2.398, allocations: 32.75 kB / 1.028 GB, free: 96.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003662/2.398, allocations: 251.9 kB / 1.028 GB, free: 96.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.38e-07/2.398, allocations: 3.906 kB / 1.028 GB, free: 96.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001404/2.399, allocations: 302.1 kB / 1.029 GB, free: 96.37 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.001671/2.401, allocations: 0.8234 MB / 1.029 GB, free: 96.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/2.402, allocations: 488.8 kB / 1.03 GB, free: 96.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.777e-06/2.402, allocations: 3.844 kB / 1.03 GB, free: 96.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006342/2.403, allocations: 329.4 kB / 1.03 GB, free: 96.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/2.404, allocations: 178.9 kB / 1.03 GB, free: 96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008505/2.413, allocations: 2.31 MB / 1.033 GB, free: 95.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/2.413, allocations: 0.8625 MB / 1.034 GB, free: 95.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004656/2.414, allocations: 81.61 kB / 1.034 GB, free: 95 MB / 426.7 MB Notification: Performance of SimCode: time 1.848e-06/2.414, allocations: 0 / 1.034 GB, free: 95 MB / 426.7 MB Notification: Performance of Templates: time 0.0233/2.437, allocations: 14.63 MB / 1.048 GB, free: 93.79 MB / 426.7 MB