Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadModel(ModelicaTest): time 2.345/2.345, allocations: 270 MB / 282.7 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.337e-05, allocations: 8 kB / 347 MB, free: 3.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3322, allocations: 61.87 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.185/1.517, allocations: 489.2 MB / 0.877 GB, free: 42.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/1.518, allocations: 81.83 kB / 0.877 GB, free: 42.25 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6022/2.12, allocations: 99.85 MB / 0.9745 GB, free: 162.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.85e-06/2.12, allocations: 0 / 0.9745 GB, free: 162.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.004e-05/2.12, allocations: 23.94 kB / 0.9746 GB, free: 162.7 MB / 0.5261 GB 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.001684/2.122, allocations: 0.8015 MB / 0.9753 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/2.122, allocations: 11.97 kB / 0.9754 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004984/2.122, allocations: 76.53 kB / 0.9754 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007631/2.123, allocations: 410.4 kB / 0.9758 GB, free: 161.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.762e-05/2.123, allocations: 54.48 kB / 0.9759 GB, free: 161.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.643e-05/2.123, allocations: 39.05 kB / 0.9759 GB, free: 161.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009173/2.124, allocations: 498 kB / 0.9764 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/2.124, allocations: 0 / 0.9764 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.152e-05/2.124, allocations: 20 kB / 0.9764 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/2.124, allocations: 16.77 kB / 0.9764 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006885/2.125, allocations: 333.2 kB / 0.9767 GB, free: 160.4 MB / 0.5261 GB 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.003375/2.128, allocations: 2.434 MB / 0.9791 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005565/2.129, allocations: 263.4 kB / 0.9794 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/2.129, allocations: 125.4 kB / 0.9795 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/2.129, allocations: 15.25 kB / 0.9795 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004262/2.13, allocations: 225.4 kB / 0.9797 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.887e-06/2.13, allocations: 0 / 0.9797 GB, free: 157.1 MB / 0.5261 GB 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.01001/2.14, allocations: 2.66 MB / 0.9823 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/2.14, allocations: 162.2 kB / 0.9825 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004491/2.14, allocations: 338.7 kB / 0.9828 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.51e-05/2.14, allocations: 37.7 kB / 0.9828 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/2.14, allocations: 305.6 kB / 0.9831 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/2.141, allocations: 153 kB / 0.9833 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/2.141, allocations: 8 kB / 0.9833 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.932e-05/2.141, allocations: 342.8 kB / 0.9836 GB, free: 153 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/2.141, allocations: 157.5 kB / 0.9838 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004585/2.142, allocations: 345.3 kB / 0.9841 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/2.142, allocations: 235.2 kB / 0.9843 GB, free: 152.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.412e-06/2.142, allocations: 0 / 0.9843 GB, free: 152.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001258/2.143, allocations: 0.5998 MB / 0.9849 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/2.143, allocations: 33.7 kB / 0.9849 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/2.143, allocations: 4 kB / 0.9849 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005052/2.144, allocations: 112.8 kB / 0.985 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/2.145, allocations: 148.1 kB / 0.9852 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006036/2.145, allocations: 0.6683 MB / 0.9858 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007982/2.146, allocations: 76 kB / 0.9859 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-05/2.146, allocations: 44 kB / 0.9859 GB, free: 150.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (65): * Single equations (assignments): 63 * 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.0002079/2.146, allocations: 144.8 kB / 0.9861 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/2.147, allocations: 47.44 kB / 0.9861 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/2.148, allocations: 0.6156 MB / 0.9867 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.65e-06/2.148, allocations: 4 kB / 0.9867 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.947e-06/2.149, allocations: 3.938 kB / 0.9867 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.618e-06/2.149, allocations: 0 / 0.9867 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/2.151, allocations: 1.151 MB / 0.9879 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.882e-06/2.151, allocations: 0 / 0.9879 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000691/2.152, allocations: 127.9 kB / 0.988 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007081/2.153, allocations: 92.78 kB / 0.9881 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/2.153, allocations: 19.98 kB / 0.9881 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/2.154, allocations: 1.67 MB / 0.9897 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.792e-06/2.155, allocations: 7.891 kB / 0.9897 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/2.156, allocations: 0.8536 MB / 0.9906 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/2.157, allocations: 160.6 kB / 0.9907 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/2.157, allocations: 8 kB / 0.9907 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006504/2.157, allocations: 71.92 kB / 0.9908 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/2.157, allocations: 55.91 kB / 0.9908 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.455e-05/2.158, allocations: 35.98 kB / 0.9909 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003526/2.158, allocations: 269.2 kB / 0.9911 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.15e-06/2.158, allocations: 0 / 0.9911 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001205/2.159, allocations: 299 kB / 0.9914 GB, free: 144.5 MB / 0.5261 GB 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.001529/2.161, allocations: 0.8197 MB / 0.9922 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001101/2.162, allocations: 483.6 kB / 0.9927 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.098e-06/2.162, allocations: 4 kB / 0.9927 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005836/2.162, allocations: 330.8 kB / 0.993 GB, free: 143 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/2.164, allocations: 191 kB / 0.9932 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/2.165, allocations: 0.8531 MB / 0.994 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/2.166, allocations: 0.8669 MB / 0.9949 GB, free: 141 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/2.166, allocations: 87.41 kB / 0.9949 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.669e-06/2.166, allocations: 0 / 0.9949 GB, free: 140.9 MB / 0.5261 GB [CodegenCppCommon.tpl:986:14-986:14:writable] Error: Template error: Unknown exp:.Modelica.Media.IdealGases.Common.DataRecord("Air", #(0.0289651159), #(-4333.833858403446), #(298609.6803431054), #(1000), #({10099.5016, -196.827561, 5.00915511, -0.00576101373, 1.06685993e-05, -7.94029797e-09, 2.18523191e-12}), #({-176.796731, -3.921504225}), #({241521.443, -1257.8746, 5.14455867, -0.000213854179, 7.06522784e-08, -1.07148349e-11, 6.57780015e-16}), #({6462.26319, -8.147411905}), #(287.0512249529787)).