Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadModel(ModelicaTest): time 2.331/2.331, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.32e-05, allocations: 4 kB / 304.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3839, allocations: 54.85 MB / 359.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.009/6.393, allocations: 2.628 GB / 2.979 GB, free: 47.84 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/6.394, allocations: 83.95 kB / 2.98 GB, free: 47.76 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164/8.558, allocations: 455.5 MB / 3.424 GB, free: 48.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.624e-06/8.558, allocations: 0 / 3.424 GB, free: 48.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001434/8.558, allocations: 35.91 kB / 3.424 GB, free: 48.96 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.008963/8.567, allocations: 2.298 MB / 3.427 GB, free: 47.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/8.567, allocations: 9.406 kB / 3.427 GB, free: 47.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004183/8.572, allocations: 437 kB / 3.427 GB, free: 47.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/8.575, allocations: 1.005 MB / 3.428 GB, free: 47.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/8.575, allocations: 100.3 kB / 3.428 GB, free: 47.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003046/8.575, allocations: 132.9 kB / 3.428 GB, free: 47.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004809/8.58, allocations: 1.607 MB / 3.43 GB, free: 47.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.574e-05/8.58, allocations: 4.906 kB / 3.43 GB, free: 47.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/8.58, allocations: 57.06 kB / 3.43 GB, free: 47.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.631e-05/8.58, allocations: 52.31 kB / 3.43 GB, free: 47.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004329/8.585, allocations: 1.219 MB / 3.431 GB, free: 47.14 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.597, allocations: 7.671 MB / 3.439 GB, free: 42.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002873/8.599, allocations: 0.8232 MB / 3.44 GB, free: 42.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006049/8.6, allocations: 294.8 kB / 3.44 GB, free: 42.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04157/8.642, allocations: 18.44 MB / 3.458 GB, free: 31.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/8.642, allocations: 44.3 kB / 3.458 GB, free: 31.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=68): time 4.043e-06/8.642, allocations: 0 / 3.458 GB, free: 31.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.03676/8.679, allocations: 5.735 MB / 3.463 GB, free: 30.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1341/8.813, allocations: 43.25 MB / 3.506 GB, free: 24.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/8.814, allocations: 0.7787 MB / 3.506 GB, free: 24.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002017/8.815, allocations: 41.14 kB / 3.506 GB, free: 24.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004689/8.815, allocations: 0.7088 MB / 3.507 GB, free: 23.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/8.815, allocations: 326.7 kB / 3.507 GB, free: 23.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/8.816, allocations: 27.41 kB / 3.508 GB, free: 23.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.693e-05/8.816, allocations: 357.9 kB / 3.508 GB, free: 23.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009346/8.817, allocations: 391.9 kB / 3.508 GB, free: 23.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/8.818, allocations: 0.8799 MB / 3.509 GB, free: 22.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/8.819, allocations: 0.5182 MB / 3.51 GB, free: 22.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/8.819, allocations: 3.312 kB / 3.51 GB, free: 22.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004089/8.823, allocations: 1.535 MB / 3.511 GB, free: 22.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002003/8.825, allocations: 6.357 MB / 3.517 GB, free: 31.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.551e-05/8.825, allocations: 15.84 kB / 3.517 GB, free: 31.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006516/8.832, allocations: 0.9819 MB / 3.518 GB, free: 31.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/8.833, allocations: 303.5 kB / 3.519 GB, free: 31.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/8.836, allocations: 1.648 MB / 3.52 GB, free: 30.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/8.838, allocations: 115.4 kB / 3.52 GB, free: 30.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/8.839, allocations: 81.8 kB / 3.52 GB, free: 30.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/8.839, allocations: 7.844 kB / 3.52 GB, free: 30.76 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004698/8.843, allocations: 1.558 MB / 3.522 GB, free: 30.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.484e-05/8.843, allocations: 15.06 kB / 3.522 GB, free: 30.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004014/8.847, allocations: 0.6582 MB / 3.523 GB, free: 30.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/8.849, allocations: 309.2 kB / 3.523 GB, free: 30.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/8.852, allocations: 1.602 MB / 3.524 GB, free: 29.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/8.854, allocations: 113.7 kB / 3.525 GB, free: 29.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000249/8.854, allocations: 77.86 kB / 3.525 GB, free: 29.58 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * 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 (145): * Single equations (assignments): 143 * 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: 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004101/8.854, allocations: 201.1 kB / 3.525 GB, free: 29.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/8.855, allocations: 120.1 kB / 3.525 GB, free: 29.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007791/8.862, allocations: 3.956 MB / 3.529 GB, free: 29.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.118e-05/8.863, allocations: 41.81 kB / 3.529 GB, free: 29.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.677e-06/8.863, allocations: 0 / 3.529 GB, free: 29.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/8.863, allocations: 5.438 kB / 3.529 GB, free: 29.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/8.874, allocations: 5.832 MB / 3.534 GB, free: 28.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/8.874, allocations: 7.375 kB / 3.535 GB, free: 28.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009147/8.875, allocations: 159.1 kB / 3.535 GB, free: 28.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006402/8.881, allocations: 1.816 MB / 3.536 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/8.882, allocations: 30.95 kB / 3.536 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003526/8.885, allocations: 2.434 MB / 3.539 GB, free: 27.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03933/8.924, allocations: 18.41 MB / 3.557 GB, free: 16.45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006699/8.931, allocations: 3.813 MB / 3.561 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009848/8.932, allocations: 392.8 kB / 3.561 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/8.933, allocations: 23.23 kB / 3.561 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/8.934, allocations: 91.69 kB / 3.561 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/8.934, allocations: 79.89 kB / 3.561 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/8.934, allocations: 46.5 kB / 3.561 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001165/8.935, allocations: 0.6584 MB / 3.562 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.06e-06/8.935, allocations: 0 / 3.562 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01598/8.951, allocations: 3.995 MB / 3.566 GB, free: 7.848 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 ($STATESET1.x,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,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.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 (75): * Single equations (assignments): 67 * 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 8,3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.02818/8.979, allocations: 3.304 MB / 3.569 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006189/8.986, allocations: 2.185 MB / 3.571 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.117e-06/8.986, allocations: 4.062 kB / 3.571 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002463/8.988, allocations: 1.05 MB / 3.572 GB, free: 2.312 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/8.991, allocations: 395.1 kB / 3.572 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5681/9.559, allocations: 78.61 MB / 3.649 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/9.56, allocations: 1.434 MB / 3.651 GB, free: 67.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002927/9.563, allocations: 0.7746 MB / 3.651 GB, free: 67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004234/9.564, allocations: 99.22 kB / 3.651 GB, free: 67 MB / 0.5105 GB Notification: Performance of SimCode: time 1.746e-06/9.564, allocations: 0 / 3.651 GB, free: 67 MB / 0.5105 GB Notification: Performance of Templates: time 0.21/9.774, allocations: 129.8 MB / 3.778 GB, free: 3.551 MB / 0.5105 GB "" Variables in the reference:time,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,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