Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadModel(Modelica): time 1.992/1.992, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.617e-05/1.633e-05, allocations: 0 / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2481, allocations: 44.5 MB / 294.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.3651, allocations: 75.91 MB / 370 MB, free: 6.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.3654, allocations: 75.89 kB / 370.1 MB, free: 6.016 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03843/0.4039, allocations: 9.613 MB / 379.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.842e-06/0.4039, allocations: 0 / 379.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.843e-05/0.404, allocations: 23.92 kB / 379.7 MB, free: 12.33 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001482/0.4055, allocations: 0.7298 MB / 380.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4055, allocations: 8.031 kB / 380.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.4057, allocations: 67.25 kB / 380.5 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007665/0.4065, allocations: 388.3 kB / 380.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.4066, allocations: 50.48 kB / 381 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-05/0.4067, allocations: 20 kB / 381 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007283/0.4074, allocations: 273.4 kB / 381.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008399/0.4083, allocations: 402.1 kB / 381.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.4083, allocations: 0 / 381.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.4084, allocations: 4.219 kB / 381.6 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.4084, allocations: 8 kB / 381.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.4114, allocations: 1.241 MB / 382.9 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.4124, allocations: 415.8 kB / 383.3 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.4128, allocations: 148.8 kB / 383.4 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-05/0.4129, allocations: 11.98 kB / 383.5 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.413, allocations: 46.5 kB / 383.5 MB, free: 8.305 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 4e-06/0.413, allocations: 0 / 383.5 MB, free: 8.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.001063/0.4141, allocations: 366.8 kB / 383.9 MB, free: 7.934 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002666/0.4143, allocations: 449 kB / 384.3 MB, free: 7.391 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005839/0.4149, allocations: 341.3 kB / 384.6 MB, free: 7.047 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.513e-05/0.415, allocations: 33.7 kB / 384.7 MB, free: 7.008 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.4152, allocations: 279 kB / 384.9 MB, free: 6.734 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.4154, allocations: 126.1 kB / 385.1 MB, free: 6.609 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.4155, allocations: 0 / 385.1 MB, free: 6.609 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.4156, allocations: 322.8 kB / 385.4 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.4159, allocations: 108 kB / 385.5 MB, free: 6.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/0.4164, allocations: 238.5 kB / 385.7 MB, free: 5.895 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.4167, allocations: 120.7 kB / 385.8 MB, free: 5.777 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.172e-06/0.4167, allocations: 4 kB / 385.8 MB, free: 5.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001016/0.4178, allocations: 363.6 kB / 386.2 MB, free: 5.406 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/0.4178, allocations: 35.73 kB / 386.2 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.4179, allocations: 0 / 386.2 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003204/0.4182, allocations: 61.69 kB / 386.3 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/0.4188, allocations: 95.91 kB / 386.4 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003056/0.4218, allocations: 2.642 MB / 389 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/0.4224, allocations: 55.66 kB / 389.1 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.4225, allocations: 12 kB / 389.1 MB, free: 2.27 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: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pipe.flowPort_a.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 (40): * Single equations (assignments): 37 * 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.000241/0.4228, allocations: 124.6 kB / 389.2 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.4229, allocations: 47.52 kB / 389.3 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.4231, allocations: 49.14 kB / 389.3 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.4231, allocations: 7.984 kB / 389.3 MB, free: 2.035 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.145e-06/0.4231, allocations: 3.938 kB / 389.3 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009144/0.424, allocations: 0.6608 MB / 390 MB, free: 1.266 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.426, allocations: 0.9185 MB / 390.9 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.4261, allocations: 4 kB / 390.9 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006326/0.4267, allocations: 95.88 kB / 391 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.842e-06/0.4268, allocations: 0 / 391 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.4268, allocations: 7.984 kB / 391 MB, free: 192 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.856e-06/0.4268, allocations: 0 / 391 MB, free: 192 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.509e-06/0.4268, allocations: 3.953 kB / 391 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.4281, allocations: 0.558 MB / 391.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.4283, allocations: 124.6 kB / 391.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.699e-05/0.4284, allocations: 4 kB / 391.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/0.4288, allocations: 23.97 kB / 391.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/0.429, allocations: 35.97 kB / 391.7 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.429, allocations: 8 kB / 391.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004576/0.4295, allocations: 275 kB / 392 MB, free: 15.13 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.4295, allocations: 0 / 392 MB, free: 15.13 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006597/0.4302, allocations: 135.7 kB / 392.1 MB, free: 15 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 (38): * Single equations (assignments): 38 * 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.0002158/0.4304, allocations: 111.2 kB / 392.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.4315, allocations: 0.5493 MB / 392.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.763e-06/0.4316, allocations: 4 kB / 392.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.4319, allocations: 143.9 kB / 393 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007346/0.4327, allocations: 109.9 kB / 393.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.4345, allocations: 0.6724 MB / 393.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005913/0.4351, allocations: 0.843 MB / 394.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.4354, allocations: 43.42 kB / 394.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of SimCode: time 1.767e-06/0.4354, allocations: 0 / 394.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of Templates: time 0.0156/0.451, allocations: 8.288 MB / 402.9 MB, free: 4.156 MB / 346.7 MB "" Variables in the reference:time,heatCapacitor.T,pipe.T Variables in the result:TAmb,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,convection.Gc,convection.Q_flow,convection.dT,convection.fluid.Q_flow,convection.fluid.T,convection.solid.Q_flow,convection.solid.T,dTCoolant,dTSource,dTtoPipe,heatCapacitor.C,heatCapacitor.T,der(heatCapacitor.T),heatCapacitor.der_T,heatCapacitor.port.Q_flow,heatCapacitor.port.T,heatFlow.k,heatFlow.y,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,prescribedHeatFlow.Q_flow,prescribedHeatFlow.T_ref,prescribedHeatFlow.alpha,prescribedHeatFlow.port.Q_flow,prescribedHeatFlow.port.T,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,thermalConductance.k,thermalConductance.y,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