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.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadModel(ModelicaTest): time 1.873/1.873, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.721e-05/3.734e-05, allocations: 7.984 kB / 273.1 MB, free: 3.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08832/0.08838, allocations: 48.68 MB / 321.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.443/6.532, allocations: 2.518 GB / 2.832 GB, free: 113.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/6.532, allocations: 86.14 kB / 2.832 GB, free: 113.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.876/8.408, allocations: 444.7 MB / 3.266 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.067e-06/8.408, allocations: 0 / 3.266 GB, free: 14.01 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001221/8.408, allocations: 38.05 kB / 3.266 GB, free: 13.98 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.007803/8.416, allocations: 2.249 MB / 3.269 GB, free: 11.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/8.416, allocations: 15.97 kB / 3.269 GB, free: 11.67 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004023/8.42, allocations: 429.4 kB / 3.269 GB, free: 11.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/8.423, allocations: 0.9954 MB / 3.27 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/8.423, allocations: 98.61 kB / 3.27 GB, free: 10.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003012/8.423, allocations: 135.9 kB / 3.27 GB, free: 10 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004427/8.428, allocations: 1.614 MB / 3.272 GB, free: 8.281 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.25e-05/8.428, allocations: 4 kB / 3.272 GB, free: 8.277 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/8.428, allocations: 56 kB / 3.272 GB, free: 8.223 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.544e-05/8.428, allocations: 54.25 kB / 3.272 GB, free: 8.168 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004003/8.432, allocations: 1.222 MB / 3.273 GB, free: 6.941 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.2957/8.728, allocations: 7.655 MB / 3.281 GB, free: 29.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/8.731, allocations: 0.8299 MB / 3.281 GB, free: 29.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007297/8.731, allocations: 302 kB / 3.282 GB, free: 29.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04063/8.772, allocations: 18.4 MB / 3.3 GB, free: 17.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/8.772, allocations: 44.91 kB / 3.3 GB, free: 17.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=68): time 5.027e-06/8.772, allocations: 0 / 3.3 GB, free: 17.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.03698/8.809, allocations: 5.736 MB / 3.305 GB, free: 33.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1374/8.947, allocations: 43.1 MB / 3.347 GB, free: 27.66 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.001516/8.948, allocations: 0.7772 MB / 3.348 GB, free: 27.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002297/8.948, allocations: 46.14 kB / 3.348 GB, free: 27.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004992/8.949, allocations: 0.7121 MB / 3.349 GB, free: 27.17 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/8.949, allocations: 319.8 kB / 3.349 GB, free: 27.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.613e-05/8.949, allocations: 30.06 kB / 3.349 GB, free: 27.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002048/8.95, allocations: 360.1 kB / 3.35 GB, free: 26.71 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009382/8.951, allocations: 392.8 kB / 3.35 GB, free: 26.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/8.952, allocations: 0.8752 MB / 3.351 GB, free: 26.08 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/8.953, allocations: 0.5169 MB / 3.351 GB, free: 26.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/8.953, allocations: 7.438 kB / 3.351 GB, free: 26.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004046/8.957, allocations: 1.53 MB / 3.353 GB, free: 25.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003171/8.96, allocations: 6.364 MB / 3.359 GB, free: 19.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.978e-05/8.96, allocations: 14.19 kB / 3.359 GB, free: 19.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006423/8.967, allocations: 0.9789 MB / 3.36 GB, free: 19.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/8.968, allocations: 300.5 kB / 3.36 GB, free: 19.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/8.972, allocations: 1.646 MB / 3.362 GB, free: 18.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/8.973, allocations: 113.7 kB / 3.362 GB, free: 18.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002383/8.974, allocations: 82.25 kB / 3.362 GB, free: 18.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/8.974, allocations: 4.469 kB / 3.362 GB, free: 18.12 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004873/8.979, allocations: 1.559 MB / 3.364 GB, free: 18.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.873e-05/8.979, allocations: 18.53 kB / 3.364 GB, free: 18.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003858/8.983, allocations: 0.6577 MB / 3.364 GB, free: 18.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/8.984, allocations: 306.9 kB / 3.365 GB, free: 18.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/8.987, allocations: 1.609 MB / 3.366 GB, free: 16.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/8.989, allocations: 112.2 kB / 3.366 GB, free: 16.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000337/8.989, allocations: 77.23 kB / 3.366 GB, free: 16.97 MB / 458.7 MB 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.0006008/8.99, allocations: 204.4 kB / 3.366 GB, free: 16.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/8.99, allocations: 116.9 kB / 3.367 GB, free: 16.79 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007663/8.998, allocations: 3.951 MB / 3.37 GB, free: 16.47 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.277e-05/8.998, allocations: 41.78 kB / 3.37 GB, free: 16.47 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.867e-06/8.998, allocations: 0 / 3.37 GB, free: 16.47 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.552e-05/8.998, allocations: 7.422 kB / 3.37 GB, free: 16.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/9.009, allocations: 5.836 MB / 3.376 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/9.009, allocations: 0 / 3.376 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009314/9.01, allocations: 160.1 kB / 3.376 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006364/9.017, allocations: 1.823 MB / 3.378 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/9.017, allocations: 33.33 kB / 3.378 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003592/9.021, allocations: 2.431 MB / 3.381 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04225/9.063, allocations: 18.42 MB / 3.399 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007491/9.07, allocations: 3.803 MB / 3.402 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/9.071, allocations: 396.4 kB / 3.403 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/9.072, allocations: 18.28 kB / 3.403 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/9.073, allocations: 90.8 kB / 3.403 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/9.073, allocations: 85.77 kB / 3.403 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/9.073, allocations: 41.09 kB / 3.403 GB, free: 11.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001279/9.075, allocations: 0.6568 MB / 3.403 GB, free: 11 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.09e-07/9.075, allocations: 0 / 3.403 GB, free: 11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01536/9.09, allocations: 3.967 MB / 3.407 GB, free: 7.516 MB / 458.7 MB 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.027/9.117, allocations: 3.293 MB / 3.411 GB, free: 5.145 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005633/9.123, allocations: 2.176 MB / 3.413 GB, free: 3.871 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.547e-06/9.123, allocations: 4 kB / 3.413 GB, free: 3.867 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002259/9.125, allocations: 1.053 MB / 3.414 GB, free: 3.336 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/9.128, allocations: 395.5 kB / 3.414 GB, free: 3.117 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5062/9.634, allocations: 78.28 MB / 3.491 GB, free: 54.28 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/9.635, allocations: 1.436 MB / 3.492 GB, free: 53.55 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002861/9.638, allocations: 0.7806 MB / 3.493 GB, free: 53.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/9.638, allocations: 99.52 kB / 3.493 GB, free: 53.54 MB / 474.7 MB Notification: Performance of SimCode: time 1.812e-06/9.638, allocations: 0 / 3.493 GB, free: 53.54 MB / 474.7 MB Notification: Performance of Templates: time 0.5043/10.14, allocations: 129.2 MB / 3.619 GB, free: 70.12 MB / 490.7 MB "" 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