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.894/1.894, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.168e-05/3.186e-05, allocations: 2.812 kB / 255.4 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07656/0.07662, allocations: 44.51 MB / 299.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3329/0.4096, allocations: 76.57 MB / 376.4 MB, free: 22.58 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.4099, allocations: 72.66 kB / 376.5 MB, free: 22.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03638/0.4463, allocations: 9.738 MB / 386.2 MB, free: 21.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.77e-06/0.4463, allocations: 3.375 kB / 386.2 MB, free: 21.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.301e-05/0.4464, allocations: 10.69 kB / 386.3 MB, free: 21.2 MB / 314.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.001234/0.4476, allocations: 0.7303 MB / 387 MB, free: 20.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.4477, allocations: 8.438 kB / 387 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.4478, allocations: 69 kB / 387.1 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006531/0.4485, allocations: 390.3 kB / 387.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.4486, allocations: 64.23 kB / 387.5 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.428e-05/0.4487, allocations: 29.97 kB / 387.5 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008127/0.4495, allocations: 459.5 kB / 388 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.4496, allocations: 1.562 kB / 388 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.225e-05/0.4496, allocations: 15.69 kB / 388 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.4497, allocations: 11.69 kB / 388 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006437/0.4503, allocations: 276.7 kB / 388.3 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/0.4528, allocations: 1.319 MB / 389.6 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009225/0.4538, allocations: 430.3 kB / 390 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.4541, allocations: 168.2 kB / 390.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.49e-05/0.4542, allocations: 7.922 kB / 390.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.4542, allocations: 38.31 kB / 390.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.378e-06/0.4542, allocations: 0 / 390.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.0009135/0.4552, allocations: 376.8 kB / 390.6 MB, free: 19.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/0.4553, allocations: 448.7 kB / 391 MB, free: 18.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005855/0.4559, allocations: 398.2 kB / 391.4 MB, free: 18.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.013e-05/0.4559, allocations: 33.48 kB / 391.5 MB, free: 18.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.4561, allocations: 273 kB / 391.7 MB, free: 18.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.4562, allocations: 134.5 kB / 391.9 MB, free: 18.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.4563, allocations: 7.375 kB / 391.9 MB, free: 18.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.873e-05/0.4564, allocations: 324.4 kB / 392.2 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.4566, allocations: 113.1 kB / 392.3 MB, free: 18.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.457, allocations: 253.4 kB / 392.5 MB, free: 18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.4574, allocations: 164.5 kB / 392.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.4574, allocations: 0 / 392.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008781/0.4583, allocations: 400.3 kB / 393.1 MB, free: 17.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.4583, allocations: 29.61 kB / 393.1 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.087e-06/0.4584, allocations: 0 / 393.1 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.4586, allocations: 58.48 kB / 393.2 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005971/0.4592, allocations: 94.91 kB / 393.3 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.4614, allocations: 2.734 MB / 396 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/0.462, allocations: 63.55 kB / 396.1 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.4621, allocations: 14.91 kB / 396.1 MB, free: 15.25 MB / 314.7 MB 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.0001387/0.4622, allocations: 127.3 kB / 396.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.4624, allocations: 58.67 kB / 396.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.4625, allocations: 54.34 kB / 396.3 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.107e-06/0.4625, allocations: 11.81 kB / 396.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4626, allocations: 3.938 kB / 396.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007115/0.4633, allocations: 0.6799 MB / 397 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.4654, allocations: 0.9854 MB / 398 MB, free: 30.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.152e-06/0.4654, allocations: 3.953 kB / 398 MB, free: 30.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005845/0.466, allocations: 99.64 kB / 398.1 MB, free: 30.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.141e-06/0.466, allocations: 0 / 398.1 MB, free: 30.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.4661, allocations: 10.84 kB / 398.1 MB, free: 30.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.564e-06/0.4661, allocations: 0 / 398.1 MB, free: 30.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.049e-06/0.4661, allocations: 0 / 398.1 MB, free: 30.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.4672, allocations: 0.5786 MB / 398.7 MB, free: 30 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.4674, allocations: 150.3 kB / 398.8 MB, free: 29.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.509e-05/0.4675, allocations: 7.781 kB / 398.8 MB, free: 29.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/0.4679, allocations: 37.77 kB / 398.9 MB, free: 29.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.468, allocations: 29.84 kB / 398.9 MB, free: 29.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.4681, allocations: 7.844 kB / 398.9 MB, free: 29.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004598/0.4685, allocations: 314.4 kB / 399.2 MB, free: 29.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.4685, allocations: 0 / 399.2 MB, free: 29.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006078/0.4692, allocations: 143.2 kB / 399.4 MB, free: 29.77 MB / 330.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.0002029/0.4694, allocations: 128.7 kB / 399.5 MB, free: 29.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.4704, allocations: 0.5733 MB / 400.1 MB, free: 29.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.923e-06/0.4705, allocations: 0 / 400.1 MB, free: 29.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.4708, allocations: 156.8 kB / 400.2 MB, free: 29.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007421/0.4716, allocations: 118.1 kB / 400.3 MB, free: 29.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.4732, allocations: 0.691 MB / 401 MB, free: 29.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.4737, allocations: 0.8403 MB / 401.9 MB, free: 28.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.4739, allocations: 41.8 kB / 401.9 MB, free: 28.31 MB / 330.7 MB Notification: Performance of SimCode: time 1.537e-06/0.4739, allocations: 3.844 kB / 401.9 MB, free: 28.31 MB / 330.7 MB Notification: Performance of Templates: time 0.01403/0.488, allocations: 8.518 MB / 410.4 MB, free: 27.37 MB / 330.7 MB "Error: Could not read variable ambient1.h in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable ambient1.h from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! Error: Could not read variable ambient2.h in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable ambient2.h from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! Error: Could not read variable pipe.dpNomMin in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable pipe.dpNomMin from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! Error: Could not read variable pipe.h in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable pipe.h from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! Error: Could not read variable pipe.k in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable pipe.k from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! Error: Could not read variable pump.T_q in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable pump.T_q from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! Error: Could not read variable pump.h in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable pump.h from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! " Variables in the reference:time,heatCapacitor.T,pipe.T Variables in the result:TAmb,ambient1.T,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.medium.cp,ambient1.medium.cv,ambient1.medium.lamda,ambient1.medium.nue,ambient1.medium.rho,ambient1.usePressureInput,ambient1.useTemperatureInput,ambient2.T,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.medium.cp,ambient2.medium.cv,ambient2.medium.lamda,ambient2.medium.nue,ambient2.medium.rho,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.V_flow,pipe.V_flowLaminar,pipe.V_flowNominal,pipe.dT,der(pipe.T),pipe.dp,pipe.dpLaminar,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_g,pipe.heatPort.Q_flow,pipe.heatPort.T,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.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.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