Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadModel(Modelica): time 1.86/1.86, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.264e-05/2.266e-05, allocations: 8 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.282, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1145/0.3966, allocations: 75.58 MB / 369.7 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.3968, allocations: 71.97 kB / 369.8 MB, free: 6.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03648/0.4333, allocations: 9.341 MB / 379.1 MB, free: 12.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4334, allocations: 0 / 379.1 MB, free: 12.94 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.254e-05/0.4334, allocations: 8 kB / 379.1 MB, free: 12.93 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001405/0.4348, allocations: 0.7143 MB / 379.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.4349, allocations: 12.03 kB / 379.8 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.4351, allocations: 59.34 kB / 379.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007458/0.4358, allocations: 400.2 kB / 380.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.436, allocations: 50.42 kB / 380.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.952e-05/0.436, allocations: 20 kB / 380.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006846/0.4367, allocations: 249.7 kB / 380.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000796/0.4376, allocations: 393.4 kB / 381 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.4376, allocations: 7.875 kB / 381 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.4376, allocations: 0 / 381 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.4377, allocations: 12 kB / 381 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.4403, allocations: 1.176 MB / 382.2 MB, free: 9.645 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/0.441, allocations: 357.7 kB / 382.5 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.4414, allocations: 136.9 kB / 382.7 MB, free: 9.133 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.4414, allocations: 7.984 kB / 382.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.4415, allocations: 50.48 kB / 382.7 MB, free: 9.066 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 2.682e-06/0.4415, allocations: 0 / 382.7 MB, free: 9.066 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009969/0.4425, allocations: 347.1 kB / 383.1 MB, free: 8.715 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002697/0.4428, allocations: 448.9 kB / 383.5 MB, free: 8.172 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005603/0.4434, allocations: 341.3 kB / 383.8 MB, free: 7.828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.4434, allocations: 25.7 kB / 383.8 MB, free: 7.797 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.4436, allocations: 275.1 kB / 384.1 MB, free: 7.527 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.4438, allocations: 126.1 kB / 384.2 MB, free: 7.402 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.4438, allocations: 0 / 384.2 MB, free: 7.402 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.444, allocations: 326.8 kB / 384.6 MB, free: 7.074 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.4443, allocations: 96 kB / 384.7 MB, free: 6.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.4447, allocations: 234.9 kB / 384.9 MB, free: 6.699 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.445, allocations: 120.4 kB / 385 MB, free: 6.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.445, allocations: 4 kB / 385 MB, free: 6.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009411/0.446, allocations: 351.8 kB / 385.3 MB, free: 6.223 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.4461, allocations: 33.64 kB / 385.4 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.843e-06/0.4461, allocations: 4 kB / 385.4 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003279/0.4464, allocations: 57.62 kB / 385.4 MB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.447, allocations: 95.91 kB / 385.5 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002962/0.45, allocations: 2.638 MB / 388.2 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.4504, allocations: 59.73 kB / 388.2 MB, free: 3.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.4505, allocations: 8 kB / 388.2 MB, free: 3.09 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002266/0.4507, allocations: 124.9 kB / 388.4 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.4509, allocations: 47.53 kB / 388.4 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.451, allocations: 44.86 kB / 388.4 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.451, allocations: 4 kB / 388.5 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.341e-06/0.451, allocations: 0 / 388.5 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008496/0.4519, allocations: 0.6416 MB / 389.1 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.4537, allocations: 0.8924 MB / 390 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.953e-06/0.4537, allocations: 0 / 390 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005788/0.4543, allocations: 95.88 kB / 390.1 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.261e-06/0.4543, allocations: 0 / 390.1 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.4544, allocations: 8 kB / 390.1 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.261e-06/0.4544, allocations: 0 / 390.1 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.302e-06/0.4544, allocations: 0 / 390.1 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.4554, allocations: 0.5262 MB / 390.6 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.4556, allocations: 128.5 kB / 390.7 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.93e-05/0.4557, allocations: 4 kB / 390.7 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.4561, allocations: 27.97 kB / 390.8 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.18e-05/0.4562, allocations: 23.97 kB / 390.8 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/0.4563, allocations: 8 kB / 390.8 MB, free: 324 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004074/0.4567, allocations: 279 kB / 391.1 MB, free: 48 kB / 330.7 MB Notification: Performance of sort global known variables: time 8.37e-07/0.4567, allocations: 4 kB / 391.1 MB, free: 44 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006168/0.4573, allocations: 127.7 kB / 391.2 MB, free: 15.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000202/0.4575, allocations: 119.1 kB / 391.3 MB, free: 15.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.4586, allocations: 0.5345 MB / 391.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.701e-06/0.4586, allocations: 0 / 391.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.459, allocations: 143.7 kB / 392 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/0.4597, allocations: 109.9 kB / 392.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.4614, allocations: 0.6719 MB / 392.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.4619, allocations: 0.8313 MB / 393.6 MB, free: 13.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.4622, allocations: 47.42 kB / 393.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of SimCode: time 1.421e-06/0.4622, allocations: 0 / 393.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of Templates: time 0.01429/0.4765, allocations: 8.059 MB / 401.7 MB, free: 5.328 MB / 346.7 MB "" Variables in the reference:time,heatCapacitor.T,pipe.T Variables in the result:TAmb,TMass,ambient1.T,ambient1.TAmbient,ambient1.T_port,ambient1.constantAmbientPressure,ambient1.constantAmbientTemperature,ambient1.flowPort.H_flow,ambient1.flowPort.h,ambient1.flowPort.m_flow,ambient1.flowPort.medium.cp,ambient1.flowPort.medium.cv,ambient1.flowPort.medium.lamda,ambient1.flowPort.medium.nue,ambient1.flowPort.medium.rho,ambient1.flowPort.p,ambient1.h,ambient1.medium.cp,ambient1.medium.cv,ambient1.medium.lamda,ambient1.medium.nue,ambient1.medium.rho,ambient1.pAmbient,ambient1.usePressureInput,ambient1.useTemperatureInput,ambient2.T,ambient2.TAmbient,ambient2.T_port,ambient2.constantAmbientPressure,ambient2.constantAmbientTemperature,ambient2.flowPort.H_flow,ambient2.flowPort.h,ambient2.flowPort.m_flow,ambient2.flowPort.medium.cp,ambient2.flowPort.medium.cv,ambient2.flowPort.medium.lamda,ambient2.flowPort.medium.nue,ambient2.flowPort.medium.rho,ambient2.flowPort.p,ambient2.h,ambient2.medium.cp,ambient2.medium.cv,ambient2.medium.lamda,ambient2.medium.nue,ambient2.medium.rho,ambient2.pAmbient,ambient2.usePressureInput,ambient2.useTemperatureInput,dTCoolant,dTMass,dTtoPipe,heatCapacitor.C,heatCapacitor.T,der(heatCapacitor.T),heatCapacitor.der_T,heatCapacitor.port.Q_flow,heatCapacitor.port.T,medium.cp,medium.cv,medium.lamda,medium.nue,medium.rho,pipe.Q_flow,pipe.Q_friction,pipe.T,pipe.T0,pipe.T0fixed,pipe.T_a,pipe.T_b,pipe.T_q,pipe.V_flow,pipe.V_flowLaminar,pipe.V_flowNominal,pipe.dT,der(pipe.T),pipe.dp,pipe.dpLaminar,pipe.dpNomMin,pipe.dpNominal,pipe.flowPort_a.H_flow,pipe.flowPort_a.h,pipe.flowPort_a.m_flow,pipe.flowPort_a.medium.cp,pipe.flowPort_a.medium.cv,pipe.flowPort_a.medium.lamda,pipe.flowPort_a.medium.nue,pipe.flowPort_a.medium.rho,pipe.flowPort_a.p,pipe.flowPort_b.H_flow,pipe.flowPort_b.h,pipe.flowPort_b.m_flow,pipe.flowPort_b.medium.cp,pipe.flowPort_b.medium.cv,pipe.flowPort_b.medium.lamda,pipe.flowPort_b.medium.nue,pipe.flowPort_b.medium.rho,pipe.flowPort_b.p,pipe.frictionLoss,pipe.h,pipe.h_g,pipe.heatPort.Q_flow,pipe.heatPort.T,pipe.k,pipe.m,pipe.medium.cp,pipe.medium.cv,pipe.medium.lamda,pipe.medium.nue,pipe.medium.rho,pipe.pressureDrop,pipe.tapT,pipe.volumeFlow,pump.Q_flow,pump.T,pump.T0,pump.T0fixed,pump.T_a,pump.T_b,pump.T_q,pump.V_flow,pump.constantVolumeFlow,pump.dT,pump.dp,pump.flowPort_a.H_flow,pump.flowPort_a.h,pump.flowPort_a.m_flow,pump.flowPort_a.medium.cp,pump.flowPort_a.medium.cv,pump.flowPort_a.medium.lamda,pump.flowPort_a.medium.nue,pump.flowPort_a.medium.rho,pump.flowPort_a.p,pump.flowPort_b.H_flow,pump.flowPort_b.h,pump.flowPort_b.m_flow,pump.flowPort_b.medium.cp,pump.flowPort_b.medium.cv,pump.flowPort_b.medium.lamda,pump.flowPort_b.medium.nue,pump.flowPort_b.medium.rho,pump.flowPort_b.p,pump.h,pump.internalVolumeFlow,pump.m,pump.medium.cp,pump.medium.cv,pump.medium.lamda,pump.medium.nue,pump.medium.rho,pump.tapT,pump.useVolumeFlowInput,pump.volumeFlow,thermalConductor.G,thermalConductor.Q_flow,thermalConductor.dT,thermalConductor.port_a.Q_flow,thermalConductor.port_a.T,thermalConductor.port_b.Q_flow,thermalConductor.port_b.T,time,volumeFlow.add.k1,volumeFlow.add.k2,volumeFlow.add.u1,volumeFlow.add.u2,volumeFlow.add.y,volumeFlow.duration_1,volumeFlow.duration_2,volumeFlow.height_1,volumeFlow.height_2,volumeFlow.interval,volumeFlow.offset,volumeFlow.ramp1.duration,volumeFlow.ramp1.height,volumeFlow.ramp1.offset,volumeFlow.ramp1.startTime,volumeFlow.ramp1.y,volumeFlow.ramp2.duration,volumeFlow.ramp2.height,volumeFlow.ramp2.offset,volumeFlow.ramp2.startTime,volumeFlow.ramp2.y,volumeFlow.startTime,volumeFlow.y