Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|housing.T|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadModel(ModelicaTest): time 2.263/2.263, allocations: 235 MB / 247.2 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.989e-05/4.998e-05, allocations: 10.64 kB / 304.9 MB, free: 5.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3329, allocations: 54.85 MB / 359.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.022/6.355, allocations: 2.629 GB / 2.98 GB, free: 47.91 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/6.356, allocations: 83.95 kB / 2.98 GB, free: 47.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.157/8.512, allocations: 456.3 MB / 3.426 GB, free: 49.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.107e-06/8.512, allocations: 0 / 3.426 GB, free: 49.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001655/8.512, allocations: 33.72 kB / 3.426 GB, free: 49.52 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.008902/8.521, allocations: 2.318 MB / 3.428 GB, free: 48.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/8.521, allocations: 9.75 kB / 3.428 GB, free: 48.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004269/8.526, allocations: 451.1 kB / 3.428 GB, free: 48.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002989/8.529, allocations: 1.004 MB / 3.429 GB, free: 47.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/8.529, allocations: 106.2 kB / 3.429 GB, free: 47.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004201/8.529, allocations: 129.6 kB / 3.43 GB, free: 47.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004958/8.534, allocations: 1.635 MB / 3.431 GB, free: 47.69 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.645e-05/8.534, allocations: 10.38 kB / 3.431 GB, free: 47.69 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/8.535, allocations: 61.5 kB / 3.431 GB, free: 47.69 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.031e-05/8.535, allocations: 48.17 kB / 3.431 GB, free: 47.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004339/8.539, allocations: 1.244 MB / 3.432 GB, free: 47.68 MB / 490.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.01182/8.551, allocations: 7.634 MB / 3.44 GB, free: 43.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/8.554, allocations: 0.8398 MB / 3.441 GB, free: 43.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006297/8.554, allocations: 310.7 kB / 3.441 GB, free: 43.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0397/8.594, allocations: 18.44 MB / 3.459 GB, free: 31.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/8.594, allocations: 34.66 kB / 3.459 GB, free: 31.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=71): time 4.46e-06/8.594, allocations: 3.312 kB / 3.459 GB, free: 31.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.03556/8.63, allocations: 5.401 MB / 3.464 GB, free: 30.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1337/8.763, allocations: 42.85 MB / 3.506 GB, free: 25.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/8.765, allocations: 0.7652 MB / 3.507 GB, free: 24.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002008/8.765, allocations: 41.45 kB / 3.507 GB, free: 24.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/8.766, allocations: 0.7114 MB / 3.508 GB, free: 24.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/8.766, allocations: 327.2 kB / 3.508 GB, free: 24.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/8.766, allocations: 31.3 kB / 3.508 GB, free: 24.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/8.766, allocations: 358.9 kB / 3.508 GB, free: 23.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009533/8.767, allocations: 408.5 kB / 3.509 GB, free: 23.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/8.768, allocations: 0.8853 MB / 3.51 GB, free: 23.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/8.77, allocations: 0.5338 MB / 3.51 GB, free: 23.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/8.77, allocations: 7.219 kB / 3.51 GB, free: 23.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003908/8.774, allocations: 1.534 MB / 3.512 GB, free: 23.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001288/8.775, allocations: 6.271 MB / 3.518 GB, free: 16.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.2e-05/8.775, allocations: 20.22 kB / 3.518 GB, free: 16.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007107/8.782, allocations: 0.9436 MB / 3.519 GB, free: 16.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/8.784, allocations: 311.6 kB / 3.519 GB, free: 16.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00295/8.787, allocations: 1.547 MB / 3.521 GB, free: 31.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/8.789, allocations: 133.4 kB / 3.521 GB, free: 31.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/8.789, allocations: 87.92 kB / 3.521 GB, free: 31.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/8.789, allocations: 4.281 kB / 3.521 GB, free: 31.4 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005591/8.795, allocations: 1.62 MB / 3.522 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-05/8.795, allocations: 15.16 kB / 3.522 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004286/8.799, allocations: 0.6466 MB / 3.523 GB, free: 31.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/8.801, allocations: 318 kB / 3.523 GB, free: 31.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/8.803, allocations: 1.505 MB / 3.525 GB, free: 30.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/8.805, allocations: 132.2 kB / 3.525 GB, free: 30.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/8.805, allocations: 85.02 kB / 3.525 GB, free: 30.19 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 146 * Array equations: 2 * Algorithm blocks: 0 * 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 {2 8,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004199/8.806, allocations: 196.8 kB / 3.525 GB, free: 30.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002643/8.806, allocations: 124.9 kB / 3.525 GB, free: 30 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006636/8.813, allocations: 3.835 MB / 3.529 GB, free: 29.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005517/8.818, allocations: 3.285 MB / 3.532 GB, free: 29.44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.563e-06/8.818, allocations: 3.953 kB / 3.532 GB, free: 29.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/8.818, allocations: 7.781 kB / 3.532 GB, free: 29.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/8.829, allocations: 5.825 MB / 3.538 GB, free: 28.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/8.829, allocations: 4.094 kB / 3.538 GB, free: 28.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/8.83, allocations: 184.8 kB / 3.538 GB, free: 28.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005793/8.836, allocations: 1.763 MB / 3.54 GB, free: 28.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001909/8.836, allocations: 33.75 kB / 3.54 GB, free: 28.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003281/8.839, allocations: 2.414 MB / 3.542 GB, free: 26.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03637/8.876, allocations: 17.95 MB / 3.56 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006065/8.882, allocations: 3.799 MB / 3.563 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/8.883, allocations: 394 kB / 3.564 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/8.883, allocations: 27.38 kB / 3.564 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/8.885, allocations: 104.3 kB / 3.564 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/8.885, allocations: 71.47 kB / 3.564 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/8.885, allocations: 39.84 kB / 3.564 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001355/8.886, allocations: 0.6308 MB / 3.565 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.71e-07/8.886, allocations: 0 / 3.565 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01668/8.903, allocations: 4.031 MB / 3.569 GB, free: 5.695 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 21 ($cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 6,3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.02858/8.932, allocations: 3.334 MB / 3.572 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006249/8.938, allocations: 2.253 MB / 3.574 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.313e-06/8.938, allocations: 0 / 3.574 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002559/8.941, allocations: 1.098 MB / 3.575 GB, free: 56 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/8.944, allocations: 397.3 kB / 3.575 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5363/9.48, allocations: 78.43 MB / 3.652 GB, free: 68.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001887/9.482, allocations: 1.446 MB / 3.653 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004494/9.486, allocations: 0.762 MB / 3.654 GB, free: 67.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000729/9.487, allocations: 107.7 kB / 3.654 GB, free: 67.73 MB / 0.5105 GB Notification: Performance of SimCode: time 2.191e-06/9.487, allocations: 0 / 3.654 GB, free: 67.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.2121/9.699, allocations: 129.3 MB / 3.781 GB, free: 156 kB / 0.5105 GB "" Variables in the reference:time,housing.T,motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i Variables in the result:Sink.T,Sink.X[1],Sink.flowDirection,Sink.medium.preferredMediumStates,Sink.medium.standardOrderComponents,Sink.nPorts,Sink.p,Source.T,Source.X[1],Source.flowDirection,Source.medium.preferredMediumStates,Source.medium.standardOrderComponents,Source.nPorts,Source.p,Valve.Av,Valve.Cv,Valve.CvData,Valve.Kv,Valve.allowFlowReversal,Valve.checkValve,Valve.dp_nominal,Valve.dp_small,Valve.dp_start,Valve.dp_turbulent,Valve.filteredOpening,Valve.leakageOpening,Valve.m_flow_nominal,Valve.m_flow_small,Valve.m_flow_start,Valve.minLimiter.uMin,Valve.opening_nominal,Valve.port_a_exposesState,Valve.port_b_exposesState,Valve.rho_nominal,Valve.riseTime,Valve.showDesignFlowDirection,Valve.show_T,Valve.show_V_flow,Valve.use_Re,housing.C,housing.T,motor.IaNominal,motor.Jr,motor.Js,motor.La,motor.Ra,motor.TaNominal,motor.TaOperational,motor.TaRef,motor.TpmOperational,motor.VaNominal,motor.ViNominal,motor.airGapDC.Le,motor.airGapDC.ie,motor.airGapDC.pin_en.i,motor.airGapDC.pin_ep.i,motor.airGapDC.quasiStationary,motor.airGapDC.support.phi,motor.airGapDC.turnsRatio,motor.alpha20a,motor.brush.brushParameters.ILinear,motor.brush.brushParameters.V,motor.brushParameters.ILinear,motor.brushParameters.V,motor.core.coreParameters.GcRef,motor.core.coreParameters.PRef,motor.core.coreParameters.VRef,motor.core.coreParameters.m,motor.core.coreParameters.ratioHysteresis,motor.core.coreParameters.wMin,motor.core.coreParameters.wRef,motor.coreParameters.GcRef,motor.coreParameters.PRef,motor.coreParameters.VRef,motor.coreParameters.m,motor.coreParameters.ratioHysteresis,motor.coreParameters.wMin,motor.coreParameters.wRef,motor.fixed.flange.phi,motor.fixed.phi0,motor.friction.frictionParameters.PRef,motor.friction.frictionParameters.linear,motor.friction.frictionParameters.power_w,motor.friction.frictionParameters.tauLinear,motor.friction.frictionParameters.tauRef,motor.friction.frictionParameters.wLinear,motor.friction.frictionParameters.wRef,motor.friction.support.phi,motor.frictionParameters.PRef,motor.frictionParameters.linear,motor.frictionParameters.power_w,motor.frictionParameters.tauLinear,motor.frictionParameters.tauRef,motor.frictionParameters.wLinear,motor.frictionParameters.wRef,motor.ie.I,motor.ie.i,motor.ie.n.i,motor.ie.p.i,motor.inertiaRotor.J,motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.inertiaStator.J,motor.inertiaStator.flange_a.phi,motor.inertiaStator.flange_b.phi,motor.inertiaStator.phi,motor.internalSupport.phi,motor.la.L,motor.la.i,motor.la.quasiStationary,motor.psi_eNominal,motor.ra.R,motor.ra.R_actual,motor.ra.T,motor.ra.T_ref,motor.ra.alpha,motor.strayLoad.strayLoadParameters.IRef,motor.strayLoad.strayLoadParameters.PRef,motor.strayLoad.strayLoadParameters.power_w,motor.strayLoad.strayLoadParameters.tauRef,motor.strayLoad.strayLoadParameters.wRef,motor.strayLoad.support.phi,motor.strayLoadParameters.IRef,motor.strayLoadParameters.PRef,motor.strayLoadParameters.power_w,motor.strayLoadParameters.tauRef,motor.strayLoadParameters.wRef,motor.thermalAmbient.Ta,motor.thermalAmbient.Tpm,motor.thermalAmbient.constTa.k,motor.thermalAmbient.constTpm.k,motor.thermalAmbient.temperatureBrush.T,motor.thermalAmbient.temperatureCore.T,motor.thermalAmbient.temperatureFriction.T,motor.thermalAmbient.temperatureStrayLoad.T,motor.thermalAmbient.useTemperatureInputs,motor.turnsRatio,motor.useSupport,motor.useThermalPort,motor.wNominal,pump.N_nominal,pump.T_start,pump.V,pump.V_flow_single_init,pump.X_start[1],pump.allowFlowReversal,pump.checkValve,pump.delta_head_init,pump.energyDynamics,pump.g,pump.h_start,pump.heatTransfer.T_ambient,pump.heatTransfer.k,pump.heatTransfer.n,pump.heatTransfer.use_k,pump.initialize_p,pump.m_flow_start,pump.massDynamics,pump.medium.preferredMediumStates,pump.medium.standardOrderComponents,pump.nParallel,pump.p_a_start,pump.p_b_start,pump.p_start,pump.port_a_exposesState,pump.port_b_exposesState,pump.rho_nominal,pump.showDesignFlowDirection,pump.show_NPSHa,pump.substanceDynamics,pump.traceDynamics,pump.use_HeatTransfer,pump.use_T_start,pump.use_powerCharacteristic,stepVoltage.V,stepVoltage.offset,stepVoltage.signalSource.height,stepVoltage.signalSource.offset,stepVoltage.signalSource.startTime,stepVoltage.startTime,system.T_ambient,system.T_start,system.allowFlowReversal,system.dp_small,system.energyDynamics,system.eps_m_flow,system.g,system.m_flow_nominal,system.m_flow_small,system.m_flow_start,system.massDynamics,system.momentumDynamics,system.p_ambient,system.p_start,system.substanceDynamics,system.traceDynamics,system.use_eps_Re,time,valveOpening.height,valveOpening.offset,valveOpening.startTime