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.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadModel(ModelicaTest): time 1.987/1.987, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.544e-05/3.56e-05, allocations: 4 kB / 273.1 MB, free: 3.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08925/0.08931, allocations: 48.69 MB / 321.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.37/6.459, allocations: 2.518 GB / 2.832 GB, free: 106.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/6.459, allocations: 83.33 kB / 2.832 GB, free: 106.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963/8.422, allocations: 445.5 MB / 3.268 GB, free: 33.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.51e-06/8.422, allocations: 3.938 kB / 3.268 GB, free: 33.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001042/8.422, allocations: 47.38 kB / 3.268 GB, free: 33.06 MB / 442.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.007256/8.429, allocations: 2.264 MB / 3.27 GB, free: 30.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/8.429, allocations: 12.03 kB / 3.27 GB, free: 30.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003898/8.433, allocations: 437 kB / 3.27 GB, free: 30.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/8.436, allocations: 1.009 MB / 3.271 GB, free: 29.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/8.436, allocations: 102.7 kB / 3.271 GB, free: 29.19 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/8.437, allocations: 135.6 kB / 3.271 GB, free: 29.06 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004305/8.441, allocations: 1.63 MB / 3.273 GB, free: 27.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.905e-05/8.441, allocations: 15.53 kB / 3.273 GB, free: 27.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001752/8.441, allocations: 59.52 kB / 3.273 GB, free: 27.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.747e-05/8.441, allocations: 46.36 kB / 3.273 GB, free: 27.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003762/8.445, allocations: 1.246 MB / 3.274 GB, free: 25.97 MB / 442.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.01052/8.456, allocations: 7.64 MB / 3.282 GB, free: 17.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/8.458, allocations: 0.8414 MB / 3.283 GB, free: 16.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/8.459, allocations: 308.1 kB / 3.283 GB, free: 16.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03712/8.496, allocations: 18.4 MB / 3.301 GB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/8.496, allocations: 47.27 kB / 3.301 GB, free: 11.97 MB / 458.7 MB Notification: Performance of pre-optimization done (n=71): time 4.211e-06/8.496, allocations: 0 / 3.301 GB, free: 11.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.03393/8.53, allocations: 5.404 MB / 3.306 GB, free: 6.457 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4377/8.968, allocations: 42.67 MB / 3.348 GB, free: 49.75 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Electrical/Machines.mo:12803:7-12804:76:writable] Warning: Parameter motor.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=motor.Jr) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/8.969, allocations: 0.7731 MB / 3.349 GB, free: 49.61 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002083/8.97, allocations: 40.39 kB / 3.349 GB, free: 49.58 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005451/8.97, allocations: 0.7178 MB / 3.349 GB, free: 49.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/8.97, allocations: 332.5 kB / 3.35 GB, free: 49.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/8.971, allocations: 26.03 kB / 3.35 GB, free: 49.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.802e-05/8.971, allocations: 354.6 kB / 3.35 GB, free: 48.96 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009856/8.972, allocations: 406.2 kB / 3.35 GB, free: 48.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/8.973, allocations: 0.898 MB / 3.351 GB, free: 48.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/8.974, allocations: 0.5275 MB / 3.352 GB, free: 48.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/8.974, allocations: 2.844 kB / 3.352 GB, free: 48.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.00378/8.978, allocations: 1.533 MB / 3.353 GB, free: 48.17 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00125/8.979, allocations: 6.273 MB / 3.359 GB, free: 41.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.414e-05/8.979, allocations: 16.94 kB / 3.359 GB, free: 41.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006733/8.986, allocations: 0.9373 MB / 3.36 GB, free: 41.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/8.988, allocations: 311.4 kB / 3.361 GB, free: 41.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/8.99, allocations: 1.549 MB / 3.362 GB, free: 40.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/8.992, allocations: 137.5 kB / 3.362 GB, free: 40.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000264/8.992, allocations: 83.53 kB / 3.362 GB, free: 40.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/8.993, allocations: 3.938 kB / 3.362 GB, free: 40.48 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005472/8.998, allocations: 1.629 MB / 3.364 GB, free: 40.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.72e-05/8.998, allocations: 17 kB / 3.364 GB, free: 40.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004/9.002, allocations: 0.6408 MB / 3.365 GB, free: 40.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/9.004, allocations: 312.8 kB / 3.365 GB, free: 40.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/9.006, allocations: 1.512 MB / 3.366 GB, free: 39.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/9.008, allocations: 131.2 kB / 3.367 GB, free: 39.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/9.008, allocations: 81.39 kB / 3.367 GB, free: 39.29 MB / 458.7 MB 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.0004172/9.009, allocations: 192.3 kB / 3.367 GB, free: 39.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/9.009, allocations: 120.8 kB / 3.367 GB, free: 39.12 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006756/9.016, allocations: 3.837 MB / 3.371 GB, free: 38.81 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00564/9.021, allocations: 3.285 MB / 3.374 GB, free: 38.61 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/9.021, allocations: 3.953 kB / 3.374 GB, free: 38.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.628e-05/9.021, allocations: 3.422 kB / 3.374 GB, free: 38.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/9.032, allocations: 5.837 MB / 3.38 GB, free: 38.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/9.032, allocations: 0 / 3.38 GB, free: 38.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/9.033, allocations: 178.9 kB / 3.38 GB, free: 38.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005989/9.039, allocations: 1.765 MB / 3.381 GB, free: 37.99 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/9.039, allocations: 26.73 kB / 3.381 GB, free: 37.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003057/9.042, allocations: 2.421 MB / 3.384 GB, free: 36.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03861/9.081, allocations: 17.95 MB / 3.401 GB, free: 34.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006307/9.087, allocations: 3.792 MB / 3.405 GB, free: 33.63 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/9.089, allocations: 398.3 kB / 3.405 GB, free: 33.44 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/9.089, allocations: 18.5 kB / 3.405 GB, free: 33.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/9.09, allocations: 106.9 kB / 3.406 GB, free: 33.44 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/9.09, allocations: 74.94 kB / 3.406 GB, free: 33.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/9.091, allocations: 40.94 kB / 3.406 GB, free: 33.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001174/9.092, allocations: 0.6255 MB / 3.406 GB, free: 33.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.41e-07/9.092, allocations: 0 / 3.406 GB, free: 33.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01537/9.107, allocations: 4.006 MB / 3.41 GB, free: 33.21 MB / 458.7 MB 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.02778/9.135, allocations: 3.313 MB / 3.413 GB, free: 32.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005556/9.141, allocations: 2.257 MB / 3.416 GB, free: 32.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.756e-06/9.141, allocations: 0 / 3.416 GB, free: 32.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00235/9.143, allocations: 1.102 MB / 3.417 GB, free: 32.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/9.146, allocations: 397.9 kB / 3.417 GB, free: 32.62 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4822/9.628, allocations: 77.52 MB / 3.493 GB, free: 60.44 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/9.629, allocations: 1.447 MB / 3.494 GB, free: 59.71 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003241/9.633, allocations: 0.7467 MB / 3.495 GB, free: 59.69 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005378/9.633, allocations: 110 kB / 3.495 GB, free: 59.69 MB / 474.7 MB Notification: Performance of SimCode: time 2.04e-06/9.633, allocations: 2.531 kB / 3.495 GB, free: 59.69 MB / 474.7 MB Notification: Performance of Templates: time 0.2184/9.852, allocations: 128.7 MB / 3.621 GB, free: 23.61 MB / 474.7 MB "" 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